Home
last modified time | relevance | path

Searched refs:sec4_sg_entry (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/crypto/caam/
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() argument
41 sizeof(struct sec4_sg_entry), 1); in dma_to_sec4_sg_one()
49 static inline struct sec4_sg_entry *
51 struct sec4_sg_entry *sec4_sg_ptr, u16 offset) in sg_to_sec4_sg()
63 static inline void sg_to_sec4_set_last(struct sec4_sg_entry *sec4_sg_ptr) in sg_to_sec4_set_last()
76 struct sec4_sg_entry *sec4_sg_ptr, in sg_to_sec4_sg_last()
Dcaampkc.h121 struct sec4_sg_entry *sec4_sg;
Dcaamhash.c200 struct sec4_sg_entry *sec4_sg, in buf_map_to_sec4_sg()
224 struct sec4_sg_entry *sec4_sg, u32 flag) in ctx_map_to_sec4_sg()
501 struct sec4_sg_entry sec4_sg[0];
689 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc()
713 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
782 sizeof(struct sec4_sg_entry); in ahash_update_ctx()
885 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx()
1212 sizeof(struct sec4_sg_entry); in ahash_update_no_ctx()
1330 sizeof(struct sec4_sg_entry); in ahash_finup_no_ctx()
Dcaampkc.c243 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
335 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_pub_pdb()
380 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f1_pdb()
443 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f2_pdb()
530 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f3_pdb()
Dcaamalg.c763 struct sec4_sg_entry *sec4_sg;
786 struct sec4_sg_entry *sec4_sg;
1011 sizeof(struct sec4_sg_entry); in init_aead_job()
1137 dst_dma = edesc->sec4_sg_dma + sizeof(struct sec4_sg_entry); in init_ablkcipher_job()
1144 sizeof(struct sec4_sg_entry); in init_ablkcipher_job()
1188 sizeof(struct sec4_sg_entry); in init_ablkcipher_giv_job()
1271 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
1539 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in ablkcipher_edesc_alloc()
1556 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in ablkcipher_edesc_alloc()
1747 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in ablkcipher_giv_edesc_alloc()
[all …]