Lines Matching refs:gen_ctx
227 if (areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_aead_complete()
880 int direct = req_ctx->gen_ctx.op_type; in cc_proc_digest_desc()
929 int direct = req_ctx->gen_ctx.op_type; in cc_set_cipher_desc()
935 set_din_type(&desc[idx], DMA_DLLI, req_ctx->gen_ctx.iv_dma_addr, in cc_set_cipher_desc()
969 int direct = req_ctx->gen_ctx.op_type; in cc_proc_cipher()
1216 int direct = req_ctx->gen_ctx.op_type; in cc_hmac_authenc()
1269 int direct = req_ctx->gen_ctx.op_type; in cc_xcbc_authenc()
1419 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_ccm()
1444 req_ctx->gen_ctx.iv_dma_addr, AES_BLOCK_SIZE, NS_BIT); in cc_ccm()
1547 unsigned int cryptlen = (req_ctx->gen_ctx.op_type == in config_ccm_adata()
1737 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_proc_gcm_result()
1809 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_gcm()
1836 unsigned int cryptlen = (req_ctx->gen_ctx.op_type == in config_gcm_context()
1922 areq_ctx->gen_ctx.op_type = direct; in cc_proc_aead()