Home
last modified time | relevance | path

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

/Linux-v5.4/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
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()
Dcaampkc.h128 struct sec4_sg_entry *sec4_sg;
Dcaamhash.c183 struct sec4_sg_entry *sec4_sg, in buf_map_to_sec4_sg()
207 struct sec4_sg_entry *sec4_sg, u32 flag) in ctx_map_to_sec4_sg()
564 struct sec4_sg_entry sec4_sg[0];
730 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc()
754 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
838 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx()
936 sizeof(struct sec4_sg_entry); in ahash_final_ctx()
1257 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_no_ctx()
1371 sizeof(struct sec4_sg_entry); in ahash_finup_no_ctx()
Dcaampkc.c298 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
397 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_pub_pdb()
444 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f1_pdb()
509 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f2_pdb()
598 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f3_pdb()
Dcaamalg.c891 struct sec4_sg_entry *sec4_sg;
916 struct sec4_sg_entry *sec4_sg;
1134 sizeof(struct sec4_sg_entry); in init_aead_job()
1305 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job()
1311 sizeof(struct sec4_sg_entry); in init_skcipher_job()
1411 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
1761 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()
1780 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in skcipher_edesc_alloc()