Home
last modified time | relevance | path

Searched refs:md_size (Results 1 – 8 of 8) 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,
/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()
206 assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex()
209 *size = ctx->digest->md_size; in EVP_DigestFinal_ex()
Dinternal.h73 unsigned md_size; member
/external/openssh/
Dmd-sha256.c74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH; in evp_ssh_sha256()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c3893 int md_size; in openssl_get_keyblock_size() local
3902 md_size = EVP_MD_size(h); in openssl_get_keyblock_size()
3904 md_size = ssl->s3->tmp.new_mac_secret_size; in openssl_get_keyblock_size()
3909 "IV_len=%d", EVP_CIPHER_key_length(c), md_size, in openssl_get_keyblock_size()
3912 md_size + in openssl_get_keyblock_size()
/external/tensorflow/tensorflow/core/util/
Dmkl_util.h467 size_t md_size = sizeof(mdd1); in CompareMklDnnLayouts() local
468 for (size_t i = 0; i < md_size; i++) { in CompareMklDnnLayouts()