Searched refs:md_size (Results 1 – 8 of 8) sorted by relevance
/external/boringssl/src/crypto/cipher/ |
D | tls_cbc.c | 132 void EVP_tls_cbc_copy_mac(uint8_t *out, unsigned md_size, in EVP_tls_cbc_copy_mac() argument 144 unsigned mac_start = mac_end - md_size; in EVP_tls_cbc_copy_mac() 153 assert(in_len >= md_size); in EVP_tls_cbc_copy_mac() 154 assert(md_size <= EVP_MAX_MD_SIZE); in EVP_tls_cbc_copy_mac() 161 if (orig_len > md_size + 255 + 1) { in EVP_tls_cbc_copy_mac() 162 scan_start = orig_len - (md_size + 255 + 1); in EVP_tls_cbc_copy_mac() 171 div_spoiler = md_size >> 1; in EVP_tls_cbc_copy_mac() 173 rotate_offset = (div_spoiler + mac_start - scan_start) % md_size; in EVP_tls_cbc_copy_mac() 175 memset(rotated_mac, 0, md_size); in EVP_tls_cbc_copy_mac() 181 j &= constant_time_lt(j, md_size); in EVP_tls_cbc_copy_mac() [all …]
|
D | e_ssl3.c | 38 size_t md_size = EVP_MD_CTX_size(&ssl3_ctx->md_ctx); in ssl3_mac() local 39 size_t pad_len = (md_size == 20) ? 40 : 48; in ssl3_mac() 66 !EVP_DigestUpdate(&md_ctx, tmp, md_size) || in ssl3_mac()
|
D | internal.h | 124 void EVP_tls_cbc_copy_mac(uint8_t *out, unsigned md_size,
|
/external/boringssl/src/crypto/evp/ |
D | p_hmac.c | 163 size_t md_size = EVP_MD_CTX_size(mctx); in hmac_signctx() local 166 *siglen = md_size; in hmac_signctx() 168 } else if (*siglen < md_size) { in hmac_signctx()
|
/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() 207 assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex() 210 *size = ctx->digest->md_size; in EVP_DigestFinal_ex()
|
D | internal.h | 73 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 | 2684 int md_size; in openssl_get_keyblock_size() local 2697 md_size = EVP_MD_size(h); in openssl_get_keyblock_size() 2700 md_size = ssl->s3->tmp.new_mac_secret_size; in openssl_get_keyblock_size() 2706 "IV_len=%d", EVP_CIPHER_key_length(c), md_size, in openssl_get_keyblock_size() 2709 md_size + in openssl_get_keyblock_size()
|