Home
last modified time | relevance | path

Searched refs:md_size (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c123 void EVP_tls_cbc_copy_mac(uint8_t *out, size_t md_size, const uint8_t *in, in EVP_tls_cbc_copy_mac() argument
131 size_t mac_start = mac_end - md_size; in EVP_tls_cbc_copy_mac()
134 assert(in_len >= md_size); in EVP_tls_cbc_copy_mac()
135 assert(md_size <= EVP_MAX_MD_SIZE); in EVP_tls_cbc_copy_mac()
141 if (orig_len > md_size + 255 + 1) { in EVP_tls_cbc_copy_mac()
142 scan_start = orig_len - (md_size + 255 + 1); in EVP_tls_cbc_copy_mac()
147 OPENSSL_memset(rotated_mac, 0, md_size); in EVP_tls_cbc_copy_mac()
149 if (j >= md_size) { in EVP_tls_cbc_copy_mac()
150 j -= md_size; in EVP_tls_cbc_copy_mac()
162 for (size_t offset = 1; offset < md_size; offset <<= 1, rotate_offset >>= 1) { in EVP_tls_cbc_copy_mac()
[all …]
Dinternal.h91 void EVP_tls_cbc_copy_mac(uint8_t *out, size_t md_size, const uint8_t *in,
De_ssl3.c40 size_t md_size = EVP_MD_CTX_size(&ssl3_ctx->md_ctx); in ssl3_mac() local
41 size_t pad_len = (md_size == 20) ? 40 : 48; in ssl3_mac()
68 !EVP_DigestUpdate(&md_ctx, tmp, md_size) || in ssl3_mac()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c92 out->md_size = MD4_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
116 out->md_size = MD5_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
140 out->md_size = SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
164 out->md_size = SHA224_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
188 out->md_size = SHA256_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
212 out->md_size = SHA384_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
236 out->md_size = SHA512_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
271 out->md_size = MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
Ddigest.c73 size_t EVP_MD_size(const EVP_MD *md) { return md->md_size; } in EVP_MD_size()
205 assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex()
208 *size = ctx->digest->md_size; in EVP_DigestFinal_ex()
Dinternal.h73 unsigned md_size; member
/external/tpm2/
DOsslCryptoEngine.h41 unsigned md_size; member
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c3407 int md_size; in openssl_get_keyblock_size() local
3416 md_size = EVP_MD_size(h); in openssl_get_keyblock_size()
3418 md_size = ssl->s3->tmp.new_mac_secret_size; in openssl_get_keyblock_size()
3423 "IV_len=%d", EVP_CIPHER_key_length(c), md_size, in openssl_get_keyblock_size()
3426 md_size + in openssl_get_keyblock_size()
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h381 size_t md_size = sizeof(mdd1); in CompareMklDnnLayouts() local
382 for (size_t i = 0; i < md_size; i++) { in CompareMklDnnLayouts()