md_size
if (size < ctx->digest->md_size)
if ((size_t)ctx->digest->md_size > EVP_MAX_MD_SIZE) {
*size = ctx->digest->md_size;
return md->md_size;
int md_size;
.md_size = MD4_DIGEST_LENGTH,
.md_size = MD5_DIGEST_LENGTH,
.md_size = MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH,
.md_size = 0,
.md_size = RIPEMD160_DIGEST_LENGTH,
.md_size = SHA224_DIGEST_LENGTH,
.md_size = SHA256_DIGEST_LENGTH,
.md_size = SHA384_DIGEST_LENGTH,
.md_size = SHA512_DIGEST_LENGTH,
.md_size = SHA512_224_DIGEST_LENGTH,
.md_size = SHA512_256_DIGEST_LENGTH,
.md_size = SHA_DIGEST_LENGTH,
.md_size = SHA3_384_DIGEST_LENGTH,
.md_size = SHA3_512_DIGEST_LENGTH,
.md_size = SHA3_224_DIGEST_LENGTH,
.md_size = SHA3_256_DIGEST_LENGTH,
.md_size = SM3_DIGEST_LENGTH,
int md_size;
if ((md_size = EVP_MD_size(md_type)) < 0)
md_size, key, md_type)) {
if (!HMAC_Init_ex(hmac, key, md_size, md_type, NULL))
int md_size;
if ((md_size = EVP_MD_size(digest)) < 0) {
overhead = 10 + 2 * field_size + md_size;
int md_size;
if ((md_size = EVP_MD_size(digest)) < 0) {
ASN1_object_size(0, md_size, V_ASN1_OCTET_STRING) +
int md_size;
if ((md_size = EVP_MD_size(digest)) < 0) {
if ((za = calloc(1, md_size)) == NULL) {
if (!EVP_DigestUpdate(hash, za, md_size)) {
e = BN_bin2bn(za, md_size, NULL);
unsigned int md_size, unsigned int orig_len)
unsigned int mac_start = mac_end - md_size;
OPENSSL_assert(orig_len >= md_size);
OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE);
if (orig_len > md_size + 255 + 1)
scan_start = orig_len - (md_size + 255 + 1);
div_spoiler = md_size >> 1;
rotate_offset = (div_spoiler + mac_start - scan_start) % md_size;
memset(rotated_mac, 0, md_size);
j &= constant_time_lt(j, md_size);
for (i = 0; i < md_size; i++) {
rotate_offset &= constant_time_lt(rotate_offset, md_size);
memset(out, 0, md_size);
rotate_offset = md_size - rotate_offset;
rotate_offset &= constant_time_lt(rotate_offset, md_size);
for (i = 0; i < md_size; i++) {
for (j = 0; j < md_size; j++)
rotate_offset &= constant_time_lt(rotate_offset, md_size);
unsigned int md_size, md_block_size = 64;
md_size = 16;
md_size = 20;
md_size = 224/8;
md_size = 32;
md_size = 384/8;
md_size = 64;
OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE);
max_mac_bytes = len - md_size - 1;
mac_end_offset = data_plus_mac_size + header_length - md_size;
for (j = 0; j < md_size; j++)
EVP_DigestUpdate(md_ctx, mac_out, md_size);
unsigned int md_size, unsigned int orig_len);
uint32_t md_size(const char *);
total_size += md_size(path);
total_size += md_size(path);
total_size += md_size(path);