Searched refs:md_type (Results 1 - 20 of 20) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs12/
H A Dp12_mutl.c70 const EVP_MD *md_type; local
85 if(!(md_type =
91 EVP_MD_size(md_type), key, md_type)) {
96 HMAC_Init_ex(&hmac, key, EVP_MD_size(md_type), md_type, NULL);
125 unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type)
130 if (!md_type) md_type = EVP_sha1();
131 if (PKCS12_setup_mac (p12, iter, salt, saltlen, md_type)
124 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument
148 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument
[all...]
H A Dp12_key.c79 const EVP_MD *md_type)
92 id, iter, n, out, md_type);
102 const EVP_MD *md_type)
130 v = EVP_MD_block_size (md_type);
131 u = EVP_MD_size (md_type);
151 EVP_DigestInit_ex(&ctx, md_type, NULL);
156 EVP_DigestInit_ex(&ctx, md_type, NULL);
77 PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
100 PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
H A Dpkcs12.h222 unsigned char *out, const EVP_MD *md_type);
223 int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type);
225 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md_type,
232 const EVP_MD *md_type);
234 int saltlen, const EVP_MD *md_type);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pkcs12/
H A Dp12_mutl.c72 const EVP_MD *md_type; local
89 if (!(md_type = EVP_get_digestbyobj(p12->mac->dinfo->algor->algorithm))) {
93 md_size = EVP_MD_size(md_type);
97 md_size, key, md_type)) {
102 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
136 const EVP_MD *md_type)
141 if (!md_type)
142 md_type = EVP_sha1();
143 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) {
160 const EVP_MD *md_type)
134 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument
159 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument
[all...]
H A Dp12_key.c82 unsigned char *out, const EVP_MD *md_type)
96 id, iter, n, out, md_type);
108 unsigned char *out, const EVP_MD *md_type)
137 v = EVP_MD_block_size(md_type);
138 u = EVP_MD_size(md_type);
163 if (!EVP_DigestInit_ex(&ctx, md_type, NULL)
169 if (!EVP_DigestInit_ex(&ctx, md_type, NULL)
80 PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
106 PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
H A Dpkcs12.h227 unsigned char *out, const EVP_MD *md_type);
230 unsigned char *out, const EVP_MD *md_type);
233 const EVP_MD *md_type, int en_de);
239 const EVP_MD *md_type);
241 int saltlen, const EVP_MD *md_type);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pkcs12/
H A Dp12_mutl.c72 const EVP_MD *md_type; local
89 if (!(md_type = EVP_get_digestbyobj(p12->mac->dinfo->algor->algorithm))) {
93 md_size = EVP_MD_size(md_type);
97 md_size, key, md_type)) {
102 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
136 const EVP_MD *md_type)
141 if (!md_type)
142 md_type = EVP_sha1();
143 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) {
160 const EVP_MD *md_type)
134 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument
159 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument
[all...]
H A Dp12_key.c82 unsigned char *out, const EVP_MD *md_type)
96 id, iter, n, out, md_type);
108 unsigned char *out, const EVP_MD *md_type)
137 v = EVP_MD_block_size(md_type);
138 u = EVP_MD_size(md_type);
163 if (!EVP_DigestInit_ex(&ctx, md_type, NULL)
169 if (!EVP_DigestInit_ex(&ctx, md_type, NULL)
80 PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
106 PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
H A Dpkcs12.h227 unsigned char *out, const EVP_MD *md_type);
230 unsigned char *out, const EVP_MD *md_type);
233 const EVP_MD *md_type, int en_de);
239 const EVP_MD *md_type);
241 int saltlen, const EVP_MD *md_type);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/include/openssl/
H A Dpkcs12.h222 unsigned char *out, const EVP_MD *md_type);
223 int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type);
225 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md_type,
232 const EVP_MD *md_type);
234 int saltlen, const EVP_MD *md_type);
H A Dpem.h614 EVP_MD *md_type, unsigned char **ek, int *ekl,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pem/
H A Dpem_seal.c70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, argument
97 if (!EVP_SignInit(&ctx->md, md_type))
H A Dpem.h433 EVP_MD *md_type, unsigned char **ek, int *ekl,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/pem/
H A Dpem_seal.c70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, argument
99 EVP_SignInit(&ctx->md,md_type);
H A Dpem.h614 EVP_MD *md_type, unsigned char **ek, int *ekl,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pem/
H A Dpem_seal.c70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, argument
97 if (!EVP_SignInit(&ctx->md, md_type))
H A Dpem.h433 EVP_MD *md_type, unsigned char **ek, int *ekl,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs7/
H A Dpk7_doit.c874 int md_type; local
888 md_type=OBJ_obj2nid(si->digest_alg->algorithm);
907 if (EVP_MD_CTX_type(mdc) == md_type)
912 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type)
953 EVP_VerifyInit_ex(&mdc_tmp,EVP_get_digestbynid(md_type), NULL);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pkcs7/
H A Dpk7_doit.c1033 int md_type; local
1045 md_type = OBJ_obj2nid(si->digest_alg->algorithm);
1060 if (EVP_MD_CTX_type(mdc) == md_type)
1066 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type)
1111 if (!EVP_VerifyInit_ex(&mdc_tmp, EVP_get_digestbynid(md_type), NULL))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pkcs7/
H A Dpk7_doit.c1033 int md_type; local
1045 md_type = OBJ_obj2nid(si->digest_alg->algorithm);
1060 if (EVP_MD_CTX_type(mdc) == md_type)
1066 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type)
1111 if (!EVP_VerifyInit_ex(&mdc_tmp, EVP_get_digestbynid(md_type), NULL))

Completed in 136 milliseconds