Searched refs:actx (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/crypto/ |
| H A D | mxs-dcp.c | 176 static int mxs_dcp_start_dma(struct dcp_async_ctx *actx) in mxs_dcp_start_dma() argument 180 const int chan = actx->chan; in mxs_dcp_start_dma() 183 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_start_dma() 225 static int mxs_dcp_run_aes(struct dcp_async_ctx *actx, in mxs_dcp_run_aes() argument 230 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_run_aes() 232 bool key_referenced = actx->key_referenced; in mxs_dcp_run_aes() 257 if (actx->fill % AES_BLOCK_SIZE) { in mxs_dcp_run_aes() 271 else if (actx->key[0] == DCP_PAES_KEY_OTP) in mxs_dcp_run_aes() 293 desc->size = actx->fill; in mxs_dcp_run_aes() 297 ret = mxs_dcp_start_dma(actx); in mxs_dcp_run_aes() [all …]
|
| /linux/drivers/crypto/chelsio/ |
| H A D | chcr_algo.c | 2355 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in create_authenc_wr() local 2443 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr() 2455 memcpy(chcr_req->key_ctx.key, actx->dec_rrkey, in create_authenc_wr() 2459 actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); in create_authenc_wr() 3464 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_authenc_setkey() local 3517 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_authenc_setkey() 3523 actx->h_iopad, in chcr_authenc_setkey() 3524 actx->h_iopad + param.result_size + align); in chcr_authenc_setkey() 3532 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey() 3547 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_aead_digest_null_setkey() local [all …]
|