Searched refs:aead_rctx (Results 1 – 1 of 1) sorted by relevance
396 struct nitrox_aead_rctx *aead_rctx = &rctx->base; in nitrox_rfc4106_set_aead_rctx_sglist() local418 aead_rctx->src = rctx->src; in nitrox_rfc4106_set_aead_rctx_sglist()419 aead_rctx->dst = (areq->src == areq->dst) ? rctx->src : rctx->dst; in nitrox_rfc4106_set_aead_rctx_sglist()445 struct nitrox_aead_rctx *aead_rctx = &rctx->base; in nitrox_rfc4106_enc() local446 struct se_crypto_request *creq = &aead_rctx->nkreq.creq; in nitrox_rfc4106_enc()449 aead_rctx->cryptlen = areq->cryptlen; in nitrox_rfc4106_enc()450 aead_rctx->assoclen = areq->assoclen - GCM_RFC4106_IV_SIZE; in nitrox_rfc4106_enc()451 aead_rctx->srclen = aead_rctx->assoclen + aead_rctx->cryptlen; in nitrox_rfc4106_enc()452 aead_rctx->dstlen = aead_rctx->srclen + aead->authsize; in nitrox_rfc4106_enc()453 aead_rctx->iv = areq->iv; in nitrox_rfc4106_enc()[all …]