Searched refs:md_size (Results 1 – 8 of 8) sorted by relevance
/external/boringssl/src/crypto/cipher/ |
D | tls_cbc.c | 126 void EVP_tls_cbc_copy_mac(uint8_t *out, unsigned md_size, in EVP_tls_cbc_copy_mac() argument 135 unsigned mac_start = mac_end - md_size; in EVP_tls_cbc_copy_mac() 138 assert(in_len >= md_size); in EVP_tls_cbc_copy_mac() 139 assert(md_size <= EVP_MAX_MD_SIZE); in EVP_tls_cbc_copy_mac() 145 if (orig_len > md_size + 255 + 1) { in EVP_tls_cbc_copy_mac() 146 scan_start = orig_len - (md_size + 255 + 1); in EVP_tls_cbc_copy_mac() 151 OPENSSL_memset(rotated_mac, 0, md_size); in EVP_tls_cbc_copy_mac() 153 if (j >= md_size) { in EVP_tls_cbc_copy_mac() 154 j -= md_size; in EVP_tls_cbc_copy_mac() 166 for (unsigned offset = 1; offset < md_size; in EVP_tls_cbc_copy_mac() [all …]
|
D | e_ssl3.c | 39 size_t md_size = EVP_MD_CTX_size(&ssl3_ctx->md_ctx); in ssl3_mac() local 40 size_t pad_len = (md_size == 20) ? 40 : 48; in ssl3_mac() 67 !EVP_DigestUpdate(&md_ctx, tmp, md_size) || in ssl3_mac()
|
D | internal.h | 125 void EVP_tls_cbc_copy_mac(uint8_t *out, unsigned md_size,
|
/external/boringssl/src/crypto/digest/ |
D | digest.c | 73 size_t EVP_MD_size(const EVP_MD *md) { return md->md_size; } in EVP_MD_size() 200 assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex() 203 *size = ctx->digest->md_size; in EVP_DigestFinal_ex()
|
D | internal.h | 73 unsigned md_size; member
|
/external/tpm2/ |
D | OsslCryptoEngine.h | 41 unsigned md_size; member
|
/external/openssh/ |
D | md-sha256.c | 74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH; in evp_ssh_sha256()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 3128 int md_size; in openssl_get_keyblock_size() local 3137 md_size = EVP_MD_size(h); in openssl_get_keyblock_size() 3139 md_size = ssl->s3->tmp.new_mac_secret_size; in openssl_get_keyblock_size() 3144 "IV_len=%d", EVP_CIPHER_key_length(c), md_size, in openssl_get_keyblock_size() 3147 md_size + in openssl_get_keyblock_size()
|