Lines Matching refs:actx
2446 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in create_authenc_wr() local
2534 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr()
2546 memcpy(chcr_req->key_ctx.key, actx->dec_rrkey, in create_authenc_wr()
2550 actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); in create_authenc_wr()
3554 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_authenc_setkey() local
3610 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_authenc_setkey()
3624 o_ptr = actx->h_iopad + param.result_size + align; in chcr_authenc_setkey()
3644 if (chcr_compute_partial_hash(shash, pad, actx->h_iopad, in chcr_authenc_setkey()
3657 chcr_change_order(actx->h_iopad, param.result_size); in chcr_authenc_setkey()
3664 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey()
3682 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_aead_digest_null_setkey() local
3723 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_aead_digest_null_setkey()
3730 actx->auth_mode = CHCR_SCMD_AUTH_MODE_NOP; in chcr_aead_digest_null_setkey()