Lines Matching refs:md_block_size
432 unsigned md_size, md_block_size = 64;
502 md_block_size = 128;
512 md_block_size = 128;
528 OPENSSL_assert(md_block_size <= MAX_HASH_BLOCK_SIZE);
567 (max_mac_bytes + 1 + md_length_size + md_block_size -
568 1) / md_block_size;
591 c = mac_end_offset % md_block_size;
596 index_a = mac_end_offset / md_block_size;
601 index_b = (mac_end_offset + md_length_size) / md_block_size;
613 k = md_block_size * num_starting_blocks;
623 bits += 8 * md_block_size;
624 memset(hmac_pad, 0, md_block_size);
627 for (i = 0; i < md_block_size; i++)
657 * greater than |md_block_size|. However we add a sanity check just
660 if (header_length <= md_block_size) {
664 overhang = header_length - md_block_size;
666 memcpy(first_block, header + md_block_size, overhang);
667 memcpy(first_block + overhang, data, md_block_size - overhang);
669 for (i = 1; i < k / md_block_size - 1; i++)
670 md_transform(md_state.c, data + md_block_size * i - overhang);
672 /* k is a multiple of md_block_size. */
674 memcpy(first_block + 13, data, md_block_size - 13);
676 for (i = 1; i < k / md_block_size; i++)
677 md_transform(md_state.c, data + md_block_size * i - 13);
694 for (j = 0; j < md_block_size; j++) {
725 if (j >= md_block_size - md_length_size) {
729 (md_block_size -
755 for (i = 0; i < md_block_size; i++)
758 if (EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size) <= 0