/external/boringssl/src/crypto/evp/ |
digestsign.c | 155 unsigned int mdlen; local 164 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen); 166 r = EVP_PKEY_sign(ctx->pctx, out_sig, out_sig_len, md, mdlen); 186 unsigned int mdlen; local 195 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen); 197 r = EVP_PKEY_verify(ctx->pctx, sig, sig_len, md, mdlen);
|
pbkdf.c | 67 size_t cplen, mdlen, tkeylen, k; local 72 mdlen = EVP_MD_size(digest); 81 if (tkeylen > mdlen) { 82 cplen = mdlen; 110 if (!HMAC_Update(&hctx, digest_tmp, mdlen) ||
|
/external/openssh/ |
digest-openssl.c | 186 u_int mdlen; local 194 mdlen = dlen; 195 if (!EVP_Digest(m, mlen, d, &mdlen, digest->mdfunc(), NULL))
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 46 size_t resultbytelen, len = 0, mdlen; local 63 mdlen = SHA256_MAC_LEN; 64 if (crypto_hash_finish(hash, digest, &mdlen) < 0) 66 if ((len + mdlen) > resultbytelen) 69 os_memcpy(result + len, digest, mdlen); 70 len += mdlen;
|
/external/boringssl/src/crypto/rsa/ |
padding.c | 336 unsigned mdlen; local 340 mdlen = EVP_MD_size(dgst); 352 if (outlen + mdlen <= len) { 356 outlen += mdlen; 376 unsigned i, emlen, mdlen; local 388 mdlen = EVP_MD_size(md); 390 if (tlen < 2 * mdlen + 2) { 397 if (flen > emlen - 2 * mdlen - 1) { 403 if (emlen < 2 * mdlen + 1) { 411 db = to + mdlen + 1 454 unsigned i, dblen, mlen = -1, mdlen; local [all...] |
/external/ppp/pppd/ |
chap_ms.c | 583 int mdlen = secret_len; local 587 int mdlen = secret_len; 589 int mdlen = secret_len * 8; 596 while (mdlen > 512) { 599 mdlen -= 512; 601 MD4Update(&md4Context, secret, mdlen);
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 721 unsigned int mdlen; local 732 mdlen = *len; 734 HMAC_Final(&ctx->ctx, mac, &mdlen); 737 res = HMAC_Final(&ctx->ctx, mac, &mdlen); 743 *len = mdlen; 754 unsigned int mdlen) 772 HMAC_Final(&ctx, mac, &mdlen); 775 res = HMAC_Final(&ctx, mac, &mdlen);
|