Searched refs:gen_ctx (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 345 if (req_ctx->gen_ctx.iv_dma_addr) { in cc_unmap_cipher_request() 347 &req_ctx->gen_ctx.iv_dma_addr, ivsize); in cc_unmap_cipher_request() 348 dma_unmap_single(dev, req_ctx->gen_ctx.iv_dma_addr, in cc_unmap_cipher_request() 391 req_ctx->gen_ctx.iv_dma_addr = in cc_map_cipher_request() 393 if (dma_mapping_error(dev, req_ctx->gen_ctx.iv_dma_addr)) { in cc_map_cipher_request() 399 ivsize, info, &req_ctx->gen_ctx.iv_dma_addr); in cc_map_cipher_request() 401 req_ctx->gen_ctx.iv_dma_addr = 0; in cc_map_cipher_request() 499 if (areq_ctx->gen_ctx.iv_dma_addr) { in cc_unmap_aead_request() 500 dma_unmap_single(dev, areq_ctx->gen_ctx.iv_dma_addr, in cc_unmap_aead_request() 502 kfree_sensitive(areq_ctx->gen_ctx.iv); in cc_unmap_aead_request() [all …]
|
D | cc_cipher.h | 17 struct async_gen_req_ctx gen_ctx; member
|
D | cc_cipher.c | 519 int direction = req_ctx->gen_ctx.op_type; in cc_setup_readiv_desc() 520 dma_addr_t iv_dma_addr = req_ctx->gen_ctx.iv_dma_addr; in cc_setup_readiv_desc() 576 int direction = req_ctx->gen_ctx.op_type; in cc_setup_state_desc() 577 dma_addr_t iv_dma_addr = req_ctx->gen_ctx.iv_dma_addr; in cc_setup_state_desc() 620 int direction = req_ctx->gen_ctx.op_type; in cc_setup_xex_state_desc() 623 dma_addr_t iv_dma_addr = req_ctx->gen_ctx.iv_dma_addr; in cc_setup_xex_state_desc() 697 int direction = req_ctx->gen_ctx.op_type; in cc_setup_key_desc() 945 req_ctx->gen_ctx.op_type = direction; in cc_cipher_process()
|
D | cc_aead.h | 84 struct async_gen_req_ctx gen_ctx; member
|
D | cc_hash.h | 43 struct async_gen_req_ctx gen_ctx ____cacheline_aligned;
|
D | cc_aead.c | 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() [all …]
|