Searched refs:sec4_sg_bytes (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/crypto/caam/ |
| D | caamhash.c | 562 int sec4_sg_bytes; member 576 if (edesc->sec4_sg_bytes) in ahash_unmap() 578 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap() 766 edesc->sec4_sg_bytes = sgsize; in ahash_edesc_add_src() 796 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local 838 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx() 852 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx() 878 sec4_sg_bytes, in ahash_update_ctx() 930 int sec4_sg_bytes; in ahash_final_ctx() local 935 sec4_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * in ahash_final_ctx() [all …]
|
| D | caamalg.c | 889 int sec4_sg_bytes; member 914 int sec4_sg_bytes; member 924 int sec4_sg_bytes) in caam_unmap() argument 937 if (sec4_sg_bytes) in caam_unmap() 938 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap() 948 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap() 960 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in skcipher_unmap() 1029 memcpy(req->iv, (u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, in skcipher_encrypt_done() 1068 memcpy(req->iv, (u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, in skcipher_decrypt_done() 1333 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local [all …]
|
| D | caampkc.c | 51 if (edesc->sec4_sg_bytes) in rsa_io_unmap() 52 dma_unmap_single(dev, edesc->sec4_sg_dma, edesc->sec4_sg_bytes, in rsa_io_unmap() 256 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local 298 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc() 301 edesc = kzalloc(sizeof(*edesc) + desclen + sec4_sg_bytes, in rsa_edesc_alloc() 335 if (!sec4_sg_bytes) in rsa_edesc_alloc() 339 sec4_sg_bytes, DMA_TO_DEVICE); in rsa_edesc_alloc() 345 edesc->sec4_sg_bytes = sec4_sg_bytes; in rsa_edesc_alloc() 349 edesc->sec4_sg_bytes, 1); in rsa_edesc_alloc()
|
| D | caampkc.h | 126 int sec4_sg_bytes; member
|