Searched refs:md_size (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 123 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 …]
|
D | internal.h | 91 void EVP_tls_cbc_copy_mac(uint8_t *out, size_t md_size, const uint8_t *in,
|
D | e_ssl3.c | 40 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/ |
D | digests.c | 92 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()
|
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()
|