Home
last modified time | relevance | path

Searched refs:nonceSize (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/common/crypto/modes/
H A Dccm.c586 size_t macSize, nonceSize; in ccm_validate_args() local
600 nonceSize = ccm_param->ulNonceSize; in ccm_validate_args()
601 if ((nonceSize < 7) || (nonceSize > 13)) { in ccm_validate_args()
606 q = (uint8_t)((15 - nonceSize) & 0xFF); in ccm_validate_args()
645 ccm_format_initial_blocks(uchar_t *nonce, ulong_t nonceSize, in ccm_format_initial_blocks() argument
655 q = (uint8_t)((15 - nonceSize) & 0xFF); in ccm_format_initial_blocks()
665 bcopy(nonce, &(b0[1]), nonceSize); in ccm_format_initial_blocks()
668 bzero(&(b0[1+nonceSize]), q); in ccm_format_initial_blocks()
684 bcopy(nonce, &(cb[1]), nonceSize); in ccm_format_initial_blocks()
686 bzero(&(cb[1+nonceSize]), q); in ccm_format_initial_blocks()