Searched refs:sec4_sg_bytes (Results 1 – 4 of 4) sorted by relevance
/drivers/crypto/caam/ |
D | caamhash.c | 536 int sec4_sg_bytes; member 551 if (edesc->sec4_sg_bytes) in ahash_unmap() 553 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap() 741 edesc->sec4_sg_bytes = sgsize; in ahash_edesc_add_src() 824 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local 865 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx() 879 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx() 901 sec4_sg_bytes, in ahash_update_ctx() 945 int sec4_sg_bytes; in ahash_final_ctx() local 950 sec4_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * in ahash_final_ctx() [all …]
|
D | caamalg.c | 893 int sec4_sg_bytes; member 920 int sec4_sg_bytes; member 931 int sec4_sg_bytes) in caam_unmap() argument 944 if (sec4_sg_bytes) in caam_unmap() 945 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap() 955 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap() 967 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_crypt_done() 1302 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local 1380 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc() [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() 254 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local 311 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc() 314 edesc = kzalloc(sizeof(*edesc) + desclen + sec4_sg_bytes, in rsa_edesc_alloc() 338 if (!sec4_sg_bytes) in rsa_edesc_alloc() 345 sec4_sg_bytes, DMA_TO_DEVICE); in rsa_edesc_alloc() 351 edesc->sec4_sg_bytes = sec4_sg_bytes; in rsa_edesc_alloc() 355 edesc->sec4_sg_bytes, 1); in rsa_edesc_alloc()
|
D | caampkc.h | 139 int sec4_sg_bytes; member
|