Lines Matching refs:actx
2440 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in create_authenc_wr() local
2528 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr()
2540 memcpy(chcr_req->key_ctx.key, actx->dec_rrkey, in create_authenc_wr()
2544 actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); in create_authenc_wr()
3548 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_authenc_setkey() local
3604 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_authenc_setkey()
3618 o_ptr = actx->h_iopad + param.result_size + align; in chcr_authenc_setkey()
3638 if (chcr_compute_partial_hash(shash, pad, actx->h_iopad, in chcr_authenc_setkey()
3651 chcr_change_order(actx->h_iopad, param.result_size); in chcr_authenc_setkey()
3658 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey()
3676 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_aead_digest_null_setkey() local
3717 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_aead_digest_null_setkey()
3724 actx->auth_mode = CHCR_SCMD_AUTH_MODE_NOP; in chcr_aead_digest_null_setkey()