Home
last modified time | relevance | path

Searched refs:sec4_sg_entry (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Dsg_sw_sec4.h17 struct sec4_sg_entry { struct
26 static inline void dma_to_sec4_sg_one(struct sec4_sg_entry *sec4_sg_ptr, in dma_to_sec4_sg_one()
40 sec4_sg_ptr, sizeof(struct sec4_sg_entry), 1); in dma_to_sec4_sg_one()
47 static inline struct sec4_sg_entry *
49 struct sec4_sg_entry *sec4_sg_ptr, u16 offset) in sg_to_sec4_sg()
65 static inline void sg_to_sec4_set_last(struct sec4_sg_entry *sec4_sg_ptr) in sg_to_sec4_set_last()
78 struct sec4_sg_entry *sec4_sg_ptr, in sg_to_sec4_sg_last()
H A Dcaampkc.h142 struct sec4_sg_entry *sec4_sg;
H A Dcaamhash.c161 struct sec4_sg_entry *sec4_sg, in buf_map_to_sec4_sg()
185 struct sec4_sg_entry *sec4_sg, u32 flag) in ctx_map_to_sec4_sg()
539 struct sec4_sg_entry sec4_sg[];
703 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc()
729 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
865 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx()
951 sizeof(struct sec4_sg_entry); in ahash_final_ctx()
1240 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_no_ctx()
1341 sizeof(struct sec4_sg_entry); in ahash_finup_no_ctx()
H A Dcaampkc.c311 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
430 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_pub_pdb()
478 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f1_pdb()
543 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f2_pdb()
632 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f3_pdb()
H A Dcaamalg.c896 struct sec4_sg_entry *sec4_sg;
923 struct sec4_sg_entry *sec4_sg;
1102 sizeof(struct sec4_sg_entry); in init_aead_job()
1273 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job()
1279 sizeof(struct sec4_sg_entry); in init_skcipher_job()
1380 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
1677 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()
1696 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in skcipher_edesc_alloc()
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dsg_sw_sec4.h17 struct sec4_sg_entry { struct
26 static inline void dma_to_sec4_sg_one(struct sec4_sg_entry *sec4_sg_ptr, in dma_to_sec4_sg_one()
40 sec4_sg_ptr, sizeof(struct sec4_sg_entry), 1); in dma_to_sec4_sg_one()
47 static inline struct sec4_sg_entry *
49 struct sec4_sg_entry *sec4_sg_ptr, u16 offset) in sg_to_sec4_sg()
65 static inline void sg_to_sec4_set_last(struct sec4_sg_entry *sec4_sg_ptr) in sg_to_sec4_set_last()
78 struct sec4_sg_entry *sec4_sg_ptr, in sg_to_sec4_sg_last()
H A Dcaampkc.h139 struct sec4_sg_entry *sec4_sg;
H A Dcaamhash.c166 struct sec4_sg_entry *sec4_sg, in buf_map_to_sec4_sg()
190 struct sec4_sg_entry *sec4_sg, u32 flag) in ctx_map_to_sec4_sg()
548 struct sec4_sg_entry sec4_sg[];
733 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
872 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx()
958 sizeof(struct sec4_sg_entry); in ahash_final_ctx()
1247 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_no_ctx()
1348 sizeof(struct sec4_sg_entry); in ahash_finup_no_ctx()
H A Dcaampkc.c318 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
439 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_pub_pdb()
487 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f1_pdb()
552 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f2_pdb()
641 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f3_pdb()
H A Dcaamalg.c905 struct sec4_sg_entry *sec4_sg;
932 struct sec4_sg_entry *sec4_sg;
1117 sizeof(struct sec4_sg_entry); in init_aead_job()
1289 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job()
1295 sizeof(struct sec4_sg_entry); in init_skcipher_job()
1396 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
1696 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()
1719 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in skcipher_edesc_alloc()

Completed in 21 milliseconds