Lines Matching refs:gen_ctx
231 if (areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_aead_complete()
890 int direct = req_ctx->gen_ctx.op_type; in cc_proc_digest_desc()
939 int direct = req_ctx->gen_ctx.op_type; in cc_set_cipher_desc()
945 set_din_type(&desc[idx], DMA_DLLI, req_ctx->gen_ctx.iv_dma_addr, in cc_set_cipher_desc()
979 int direct = req_ctx->gen_ctx.op_type; in cc_proc_cipher()
1226 int direct = req_ctx->gen_ctx.op_type; in cc_hmac_authenc()
1279 int direct = req_ctx->gen_ctx.op_type; in cc_xcbc_authenc()
1429 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_ccm()
1454 req_ctx->gen_ctx.iv_dma_addr, AES_BLOCK_SIZE, NS_BIT); in cc_ccm()
1557 unsigned int cryptlen = (req_ctx->gen_ctx.op_type == in config_ccm_adata()
1748 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()
1847 unsigned int cryptlen = (req_ctx->gen_ctx.op_type == in config_gcm_context()
1936 areq_ctx->gen_ctx.op_type = direct; in cc_proc_aead()