• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/OpenSSL098-52/src/ssl/

Lines Matching defs:h*h

61 /* MAX_HASH_BIT_COUNT_BYTES is the maximum number of bytes in the hash's length
65 /* MAX_HASH_BLOCK_SIZE is the maximum hash block size that we'll support.
331 /* These functions serialize the state of a hash and thus perform the standard
384 /* ssl3_cbc_record_digest_supported returns 1 iff |ctx| uses a hash function
413 * ctx: the EVP_MD_CTX from which we take the hash function.
446 unsigned sslv3_pad_length = 40, header_length, variance_blocks,
458 * the hash. */
516 * called first to check that the hash function is
528 header_length = 13;
531 header_length =
539 /* variance_blocks is the number of blocks of the hash that we have to
545 * the MAC size varies from 0..20 bytes.) In case the 9 bytes of hash
559 len = data_plus_mac_plus_padding_size + header_length;
563 /* num_blocks is the maximum number of hash blocks. */
577 mac_end_offset = data_plus_mac_size + header_length - md_size;
578 /* c is the index of the 0x80 byte in the final hash block that
581 /* index_a is the hash block number that contains the 0x80 terminating
584 /* index_b is the hash block number that contains the 64-bit hash
587 /* bits is the hash-length in bits. It includes the additional hash
640 unsigned overhang = header_length-md_block_size;
661 /* We now process the final hash blocks. For each block, we construct
673 if (k < header_length)
675 else if (k < data_plus_mac_plus_padding_size + header_length)
676 b = data[k-header_length];
707 /* If this is index_b, copy the hash value to |mac_out|. */
746 const EVP_CIPHER_CTX *cipher_ctx, const EVP_MD *hash, HMAC_CTX *hctx,
752 block_size = EVP_MD_block_size(hash);