Home
last modified time | relevance | path

Searched refs:EVP_MD_size (Results 1 – 25 of 32) sorted by relevance

12

/external/conscrypt/common/src/main/java/org/conscrypt/
DEvpMdRef.java111 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
120 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
128 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
137 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
146 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
155 static final int SIZE_BYTES = NativeCrypto.EVP_MD_size(EVP_MD);
/external/webrtc/webrtc/base/
Dopenssldigest.cc37 return EVP_MD_size(md_); in Size()
78 ASSERT(EVP_MD_size(md) >= 16); in GetDigestEVP()
115 *length = EVP_MD_size(md); in GetDigestSize()
Dopensslidentity.cc314 if (size < static_cast<size_t>(EVP_MD_size(md))) in ComputeDigest()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc167 std::unique_ptr<uint8_t[]> digest(new uint8_t[EVP_MD_size(test->md.func())]); in TestDigest()
181 EXPECT_EQ(EVP_MD_size(test->md.func()), digest_len); in TestDigest()
190 CompareDigest(test, digest.get(), EVP_MD_size(test->md.func())); in TestDigest()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c55 assert(*out_len == EVP_MD_size(digest)); in HKDF_extract()
63 const size_t digest_len = EVP_MD_size(digest); in HKDF_expand()
/external/boringssl/src/crypto/hmac_extra/
Dhmac_test.cc98 ASSERT_EQ(EVP_MD_size(digest), output.size()); in TEST()
101 unsigned expected_mac_len = EVP_MD_size(digest); in TEST()
/external/boringssl/src/fipstools/
Dcavp_ecdsa2_siggen_test.cc55 if (msg.size() != EVP_MD_size(md)) { in TestECDSA2SigGenImpl()
59 digest_len = EVP_MD_size(md); in TestECDSA2SigGenImpl()
Dcavp_sha_test.cc41 const size_t md_len = EVP_MD_size(md); in TestSHA()
Dcavp_sha_monte_test.cc42 const size_t md_len = EVP_MD_size(md); in TestSHAMonte()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c276 size_t md_len = EVP_MD_size(md); in PKCS1_MGF1()
324 size_t mdlen = EVP_MD_size(md); in RSA_padding_add_PKCS1_OAEP_mgf1()
398 size_t mdlen = EVP_MD_size(md); in RSA_padding_check_PKCS1_OAEP_mgf1()
500 hLen = EVP_MD_size(Hash); in RSA_verify_PKCS1_PSS_mgf1()
595 hLen = EVP_MD_size(Hash); in RSA_padding_add_PKCS1_PSS_mgf1()
Drsa.c464 if (in_len != EVP_MD_size(md)) { in RSA_sign_pss_mgf1()
539 if (msg_len != EVP_MD_size(md)) { in RSA_verify_pss_mgf1()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigest.c73 size_t EVP_MD_size(const EVP_MD *md) { return md->md_size; } in EVP_MD_size() function
238 return EVP_MD_size(EVP_MD_CTX_md(ctx)); in EVP_MD_CTX_size()
/external/boringssl/src/crypto/x509/
Drsa_pss.c200 saltlen = EVP_MD_size(sigmd); in x509_rsa_ctx_to_pss()
202 saltlen = EVP_PKEY_size(pk) - EVP_MD_size(sigmd) - 2; in x509_rsa_ctx_to_pss()
/external/boringssl/src/crypto/evp/
Dpbkdf.c70 size_t md_len = EVP_MD_size(digest); in PKCS5_PBKDF2_HMAC()
Ddigestsign.c170 size_t s = EVP_MD_size(ctx->digest); in EVP_DigestSignFinal()
/external/boringssl/src/include/openssl/
Ddigest.h188 OPENSSL_EXPORT size_t EVP_MD_size(const EVP_MD *md);
/external/boringssl/src/crypto/cipher_extra/
De_ssl3.c89 tag_len != EVP_MD_size(md)) { in aead_ssl3_init()
99 size_t mac_key_len = EVP_MD_size(md); in aead_ssl3_init()
De_tls.c61 tag_len != EVP_MD_size(md)) { in aead_tls_init()
71 size_t mac_key_len = EVP_MD_size(md); in aead_tls_init()
/external/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c182 return EVP_MD_size(ctx->md); in HMAC_size()
/external/python/cpython2/Modules/
D_hashopenssl.c595 mdlen = EVP_MD_size(digest); in PKCS5_PBKDF2_HMAC_fast()
712 dklen = EVP_MD_size(digest); in pbkdf2_hmac()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c582 EVP_MD_size(md), hmac_key, md)) { in PKCS12_get_key_and_certs()
588 if (NULL == HMAC(md, hmac_key, EVP_MD_size(md), CBS_data(&authsafes), in PKCS12_get_key_and_certs()
/external/boringssl/src/ssl/
Dssl_transcript.cc204 return EVP_MD_size(SSL_TRANSCRIPT_md(transcript)); in SSL_TRANSCRIPT_digest_len()
Dt1_enc.cc167 size_t chunk = EVP_MD_size(md); in tls1_P_hash()
Dtls13_enc.cc375 size_t hash_len = EVP_MD_size(digest); in tls13_write_psk_binder()
/external/boringssl/src/tool/
Ddigest.cc245 const size_t hex_size = EVP_MD_size(md) * 2; in Check()

12