Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/crypto/io/
H A Ddprov.c4397 CK_AES_GCM_PARAMS *aes_gcm_params; in copyin_aes_gcm_mech() local
4432 aes_gcm_params = kmem_alloc(total_param_len, KM_NOSLEEP); in copyin_aes_gcm_mech()
4433 if (aes_gcm_params == NULL) { in copyin_aes_gcm_mech()
4437 aes_gcm_params->ulTagBits = STRUCT_FGET(params, ulTagBits); in copyin_aes_gcm_mech()
4438 aes_gcm_params->ulIvLen = nonce_len; in copyin_aes_gcm_mech()
4439 aes_gcm_params->ulAADLen = auth_data_len; in copyin_aes_gcm_mech()
4440 aes_gcm_params->pIv in copyin_aes_gcm_mech()
4441 = (uchar_t *)aes_gcm_params + sizeof (CK_AES_GCM_PARAMS); in copyin_aes_gcm_mech()
4442 aes_gcm_params->pAAD = aes_gcm_params->pIv + nonce_len; in copyin_aes_gcm_mech()
4445 aes_gcm_params->pIv, nonce_len) != 0) { in copyin_aes_gcm_mech()
[all …]