Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c418 aead_rctx->src = rctx->src; in nitrox_rfc4106_set_aead_rctx_sglist()
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()
457 aead_rctx->ctrl_arg = ENCRYPT; in nitrox_rfc4106_enc()
463 ret = nitrox_set_creq(aead_rctx); in nitrox_rfc4106_enc()
483 aead_rctx->srclen = in nitrox_rfc4106_dec()
485 aead_rctx->dstlen = aead_rctx->srclen - aead->authsize; in nitrox_rfc4106_dec()
486 aead_rctx->iv = areq->iv; in nitrox_rfc4106_dec()
490 aead_rctx->ctrl_arg = DECRYPT; in nitrox_rfc4106_dec()
[all …]