Searched refs:sec4_sg_bytes (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 537 * @sec4_sg_bytes: length of dma mapped sec4_sg space 545 int sec4_sg_bytes; member 560 if (edesc->sec4_sg_bytes) in ahash_unmap() 562 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap() 746 edesc->sec4_sg_bytes = sgsize; in ahash_edesc_add_src() 832 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() 873 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx() 887 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx() 909 sec4_sg_bytes, in ahash_update_ctx() 831 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; ahash_update_ctx() local 952 int sec4_sg_bytes; ahash_final_ctx() local 1206 int sec4_sg_bytes, src_nents, mapped_nents; ahash_update_no_ctx() local 1324 int sec4_sg_bytes, sec4_sg_src_index, src_nents, mapped_nents; ahash_finup_no_ctx() local [all...] |
H A D | caampkc.c | 57 if (edesc->sec4_sg_bytes) in rsa_io_unmap() 58 dma_unmap_single(dev, edesc->sec4_sg_dma, edesc->sec4_sg_bytes, in rsa_io_unmap() 261 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local 318 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc() 321 edesc = kzalloc(sizeof(*edesc) + desclen + sec4_sg_bytes, flags); in rsa_edesc_alloc() 344 if (!sec4_sg_bytes) in rsa_edesc_alloc() 351 sec4_sg_bytes, DMA_TO_DEVICE); in rsa_edesc_alloc() 357 edesc->sec4_sg_bytes = sec4_sg_bytes; in rsa_edesc_alloc() 361 edesc->sec4_sg_bytes, 1); in rsa_edesc_alloc()
|
H A D | caamalg.c | 902 int sec4_sg_bytes; member 929 int sec4_sg_bytes; member 940 int sec4_sg_bytes) in caam_unmap() argument 953 if (sec4_sg_bytes) in caam_unmap() 1428 if (!sec4_sg_bytes) in aead_edesc_alloc() 1432 sec4_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc() 1440 edesc->sec4_sg_bytes = sec4_sg_bytes; in aead_edesc_alloc() 1718 edesc->sec4_sg_bytes = sec4_sg_bytes; in skcipher_edesc_alloc() 1755 if (sec4_sg_bytes) { in skcipher_edesc_alloc() 1757 sec4_sg_bytes, in skcipher_edesc_alloc() [all …]
|
H A D | caampkc.h | 136 int sec4_sg_bytes; member
|