/external/chromium_org/third_party/libjingle/source/talk/base/ |
openssldigest.cc | 106 int md_type = EVP_MD_type(md); local 107 if (md_type == NID_md5) { 109 } else if (md_type == NID_sha1) { 112 } else if (md_type == NID_sha224) { 114 } else if (md_type == NID_sha256) { 116 } else if (md_type == NID_sha384) { 118 } else if (md_type == NID_sha512) {
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
p12_mutl.c | 70 const EVP_MD *md_type; local 86 if(!(md_type = 91 md_size = EVP_MD_size(md_type); 95 md_size, key, md_type)) { 100 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL) 133 unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) 138 if (!md_type) md_type = EVP_sha1(); 139 if (PKCS12_setup_mac (p12, iter, salt, saltlen, md_type) == 157 const EVP_MD *md_type) [all...] |
/external/openssl/crypto/pkcs12/ |
p12_mutl.c | 70 const EVP_MD *md_type; local 86 if(!(md_type = 91 md_size = EVP_MD_size(md_type); 95 md_size, key, md_type)) { 100 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL) 133 unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) 138 if (!md_type) md_type = EVP_sha1(); 139 if (PKCS12_setup_mac (p12, iter, salt, saltlen, md_type) == 157 const EVP_MD *md_type) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
pk7_doit.c | 1020 int md_type; local 1034 md_type=OBJ_obj2nid(si->digest_alg->algorithm); 1053 if (EVP_MD_CTX_type(mdc) == md_type) 1058 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type) 1102 if (!EVP_VerifyInit_ex(&mdc_tmp,EVP_get_digestbynid(md_type), NULL))
|
/external/openssl/crypto/pkcs7/ |
pk7_doit.c | 1020 int md_type; local 1034 md_type=OBJ_obj2nid(si->digest_alg->algorithm); 1053 if (EVP_MD_CTX_type(mdc) == md_type) 1058 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type) 1102 if (!EVP_VerifyInit_ex(&mdc_tmp,EVP_get_digestbynid(md_type), NULL))
|