Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/crypto/modes/
H A Dgcm.c485 gcm_validate_args(CK_AES_GCM_PARAMS *gcm_param) in gcm_validate_args() argument
492 tag_len = gcm_param->ulTagBits; in gcm_validate_args()
506 if (gcm_param->ulIvLen == 0) in gcm_validate_args()
619 CK_AES_GCM_PARAMS *gcm_param; in gcm_init_ctx() local
622 gcm_param = (CK_AES_GCM_PARAMS *)(void *)param; in gcm_init_ctx()
624 if ((rv = gcm_validate_args(gcm_param)) != 0) { in gcm_init_ctx()
628 gcm_ctx->gcm_tag_len = gcm_param->ulTagBits; in gcm_init_ctx()
634 = htonll(CRYPTO_BYTES2BITS(gcm_param->ulAADLen)); in gcm_init_ctx()
643 if (gcm_init(gcm_ctx, gcm_param->pIv, gcm_param->ulIvLen, in gcm_init_ctx()
644 gcm_param->pAAD, gcm_param->ulAADLen, block_size, in gcm_init_ctx()