Home | History | Annotate | Download | only in ssl

Lines Matching full:blocks

546 	/* variance_blocks is the number of blocks of the hash that we have to
554 * say that the final two blocks can vary based on the padding.
557 * required to be minimal. Therefore we say that the final six blocks
561 * cannot be this many blocks then variance_blocks can be reduced. */
570 /* num_blocks is the maximum number of hash blocks. */
573 * the final blocks specially because the padding value could cause the
574 * end to appear somewhere in the final |variance_blocks| blocks and we
598 /* For SSLv3, if we're going to have any starting blocks then we need
668 /* We now process the final hash blocks. For each block, we construct
702 /* The final bytes of one of the blocks contains the
748 * we can ensure the number of blocks processed is equal for all cases
764 * Additional header is 13 bytes. To get the number of digest blocks
768 * blocks = (payload_len + digest_pad + 13 + block_size - 1)/block_size
770 * blocks = (payload_len + digest_pad + 12)/block_size + 1
773 * blocks = (payload_len + 29)/128
775 * blocks = (payload_len + 21)/64
781 /* MAC enough blocks to make up the difference between the original