Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/crypto/modes/
H A Dccm.c770 ccm_init(ccm_ctx_t *ctx, unsigned char *nonce, size_t nonce_len, in ccm_init() argument
789 ccm_format_initial_blocks(nonce, nonce_len, in ccm_init()
/titanic_41/usr/src/uts/common/crypto/io/
H A Ddprov.c4332 size_t nonce_len, auth_data_len, total_param_len; in copyin_aes_ccm_mech() local
4340 nonce_len = STRUCT_FGET(params, ulNonceSize); in copyin_aes_ccm_mech()
4345 sizeof (CK_AES_CCM_PARAMS) + nonce_len + auth_data_len; in copyin_aes_ccm_mech()
4352 aes_ccm_params->ulNonceSize = nonce_len; in copyin_aes_ccm_mech()
4359 = aes_ccm_params->nonce + nonce_len; in copyin_aes_ccm_mech()
4362 aes_ccm_params->nonce, nonce_len) != 0) { in copyin_aes_ccm_mech()
4418 size_t nonce_len, auth_data_len, total_param_len; in copyin_aes_gcm_mech() local
4426 nonce_len = STRUCT_FGET(params, ulIvLen); in copyin_aes_gcm_mech()
4431 sizeof (CK_AES_GCM_PARAMS) + nonce_len + auth_data_len; in copyin_aes_gcm_mech()
4438 aes_gcm_params->ulIvLen = nonce_len; in copyin_aes_gcm_mech()
[all …]