Searched refs:nonceSize (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/ |
H A D | ccm.c | 575 size_t macSize, nonceSize; in ccm_validate_args() local 589 nonceSize = ccm_param->ulNonceSize; in ccm_validate_args() 590 if ((nonceSize < 7) || (nonceSize > 13)) { in ccm_validate_args() 595 q = (uint8_t)((15 - nonceSize) & 0xFF); in ccm_validate_args() 634 ccm_format_initial_blocks(uchar_t *nonce, ulong_t nonceSize, in ccm_format_initial_blocks() argument 644 q = (uint8_t)((15 - nonceSize) & 0xFF); in ccm_format_initial_blocks() 654 memcpy(&(b0[1]), nonce, nonceSize); in ccm_format_initial_blocks() 657 memset(&(b0[1+nonceSize]), 0, q); in ccm_format_initial_blocks() 673 memcpy(&(cb[1]), nonce, nonceSize); in ccm_format_initial_blocks() 675 memset(&(cb[1+nonceSize]), 0, q); in ccm_format_initial_blocks()
|