Home
last modified time | relevance | path

Searched refs:mdlen (Results 1 – 10 of 10) sorted by relevance

/external/openssl/crypto/evp/
Dm_sigver.c142 unsigned int mdlen; in EVP_DigestSignFinal() local
150 r = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen); in EVP_DigestSignFinal()
154 if (EVP_PKEY_sign(ctx->pctx, sigret, siglen, md, mdlen) <= 0) in EVP_DigestSignFinal()
179 unsigned int mdlen; in EVP_DigestVerifyFinal() local
195 r = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen); in EVP_DigestVerifyFinal()
199 return EVP_PKEY_verify(ctx->pctx, sig, siglen, md, mdlen); in EVP_DigestVerifyFinal()
Dp5_crpt2.c86 int cplen, j, k, tkeylen, mdlen; in PKCS5_PBKDF2_HMAC() local
90 mdlen = EVP_MD_size(digest); in PKCS5_PBKDF2_HMAC()
91 if (mdlen < 0) in PKCS5_PBKDF2_HMAC()
103 if(tkeylen > mdlen) in PKCS5_PBKDF2_HMAC()
104 cplen = mdlen; in PKCS5_PBKDF2_HMAC()
126 digtmp, mdlen, digtmp, NULL); in PKCS5_PBKDF2_HMAC()
/external/openssl/crypto/rsa/
Drsa_oaep.c193 int mdlen; in PKCS1_MGF1() local
197 mdlen = EVP_MD_size(dgst); in PKCS1_MGF1()
198 if (mdlen < 0) in PKCS1_MGF1()
210 if (outlen + mdlen <= len) in PKCS1_MGF1()
214 outlen += mdlen; in PKCS1_MGF1()
/external/openssl/crypto/ocsp/
Docsp_vfy.c306 int mdlen; in ocsp_match_issuerid() local
314 mdlen = EVP_MD_size(dgst); in ocsp_match_issuerid()
315 if (mdlen < 0) in ocsp_match_issuerid()
317 if ((cid->issuerNameHash->length != mdlen) || in ocsp_match_issuerid()
318 (cid->issuerKeyHash->length != mdlen)) in ocsp_match_issuerid()
323 if (memcmp(md, cid->issuerNameHash->data, mdlen)) in ocsp_match_issuerid()
326 if (memcmp(md, cid->issuerKeyHash->data, mdlen)) in ocsp_match_issuerid()
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c46 size_t resultbytelen, len = 0, mdlen; in eap_pwd_kdf() local
63 mdlen = SHA256_MAC_LEN; in eap_pwd_kdf()
64 if (crypto_hash_finish(hash, digest, &mdlen) < 0) in eap_pwd_kdf()
66 if ((len + mdlen) > resultbytelen) in eap_pwd_kdf()
69 os_memcpy(result + len, digest, mdlen); in eap_pwd_kdf()
70 len += mdlen; in eap_pwd_kdf()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c654 unsigned int mdlen; in crypto_hash_finish() local
665 mdlen = *len; in crypto_hash_finish()
667 HMAC_Final(&ctx->ctx, mac, &mdlen); in crypto_hash_finish()
670 res = HMAC_Final(&ctx->ctx, mac, &mdlen); in crypto_hash_finish()
676 *len = mdlen; in crypto_hash_finish()
706 unsigned int mdlen; in hmac_sha1_vector() local
720 mdlen = 20; in hmac_sha1_vector()
722 HMAC_Final(&ctx, mac, &mdlen); in hmac_sha1_vector()
725 res = HMAC_Final(&ctx, mac, &mdlen); in hmac_sha1_vector()
747 unsigned int mdlen; in hmac_sha256_vector() local
[all …]
/external/openssl/crypto/pkcs7/
Dpk7_attr.c151 const unsigned char *md, int mdlen) in PKCS7_add1_attrib_digest() argument
157 if (!ASN1_STRING_set(os, md, mdlen) in PKCS7_add1_attrib_digest()
Dpkcs7.h382 const unsigned char *md, int mdlen);
/external/ppp/pppd/
Dchap_ms.c523 int mdlen = secret_len; in NTPasswordHash() local
527 int mdlen = secret_len; in NTPasswordHash()
529 int mdlen = secret_len * 8; in NTPasswordHash()
535 MD4Update(&md4Context, (unsigned char *)secret, mdlen); in NTPasswordHash()
/external/openssl/include/openssl/
Dpkcs7.h382 const unsigned char *md, int mdlen);