/external/openssl/crypto/cms/ |
cms_dd.c | 108 unsigned int mdlen; local 118 if (EVP_DigestFinal_ex(&mctx, md, &mdlen) <= 0) 123 if (mdlen != (unsigned int)dd->digest->length) 130 if (memcmp(md, dd->digest->data, mdlen)) 138 if (!ASN1_STRING_set(dd->digest, md, mdlen))
|
cms_sd.c | 643 unsigned int mdlen; local 644 if (!EVP_DigestFinal_ex(&mctx, md, &mdlen)) 648 md, mdlen))
|
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
digestsign.c | 156 unsigned int mdlen; local 165 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen); 171 if (EVP_PKEY_sign(ctx->pctx, out_sig, out_sig_len, md, mdlen) <= 0) { 194 unsigned int mdlen; local 204 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen); 211 return EVP_PKEY_verify(ctx->pctx, sig, sig_len, md, mdlen);
|
pbkdf.c | 65 size_t cplen, mdlen, tkeylen, k; local 70 mdlen = EVP_MD_size(digest); 86 if (tkeylen > mdlen) { 87 cplen = mdlen; 115 if (!HMAC_Update(&hctx, digest_tmp, mdlen) ||
|
/external/openssl/crypto/evp/ |
m_sigver.c | 142 unsigned int mdlen; local 150 r = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen); 154 if (EVP_PKEY_sign(ctx->pctx, sigret, siglen, md, mdlen) <= 0) 179 unsigned int mdlen; local 195 r = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen); 199 return EVP_PKEY_verify(ctx->pctx, sig, siglen, md, mdlen);
|
p5_crpt2.c | 86 int cplen, j, k, tkeylen, mdlen; local 90 mdlen = EVP_MD_size(digest); 91 if (mdlen < 0) 108 if(tkeylen > mdlen) 109 cplen = mdlen; 141 if (!HMAC_Update(&hctx, digtmp, mdlen)
|
/external/chromium_org/third_party/boringssl/src/crypto/ecdh/ |
ecdh.c | 173 size_t mdlen; local 179 mdlen = EVP_MD_size(md); 195 if (outlen >= mdlen) { 199 outlen -= mdlen; 203 out += mdlen; 209 OPENSSL_cleanse(mtmp, mdlen);
|
/external/openssl/crypto/rsa/ |
rsa_oaep.c | 219 int mdlen; local 223 mdlen = EVP_MD_size(dgst); 224 if (mdlen < 0) 236 if (outlen + mdlen <= len) 240 outlen += mdlen;
|
/external/openssl/crypto/ocsp/ |
ocsp_vfy.c | 306 int mdlen; local 314 mdlen = EVP_MD_size(dgst); 315 if (mdlen < 0) 317 if ((cid->issuerNameHash->length != mdlen) || 318 (cid->issuerKeyHash->length != mdlen)) 323 if (memcmp(md, cid->issuerNameHash->data, mdlen)) 326 if (memcmp(md, cid->issuerKeyHash->data, mdlen))
|
/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
padding.c | 329 unsigned mdlen; local 333 mdlen = EVP_MD_size(dgst); 345 if (outlen + mdlen <= len) { 349 outlen += mdlen; 369 unsigned i, emlen, mdlen; local 381 mdlen = EVP_MD_size(md); 383 if (tlen < 2 * mdlen + 2) { 390 if (flen > emlen - 2 * mdlen - 1) { 396 if (emlen < 2 * mdlen + 1) { 404 db = to + mdlen + 1 449 unsigned i, dblen, mlen = -1, mdlen; local [all...] |