Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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() 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()
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.c309 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
428 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_pub_pdb()
476 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f1_pdb()
541 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f2_pdb()
630 sec4_sg_index * sizeof(struct sec4_sg_entry); in set_rsa_priv_f3_pdb()
H A Dcaamalg.c895 struct sec4_sg_entry *sec4_sg;
922 struct sec4_sg_entry *sec4_sg;
1101 sizeof(struct sec4_sg_entry); in init_aead_job()
1272 dst_dma = src_dma + !!ivsize * sizeof(struct sec4_sg_entry); in init_skcipher_job()
1278 sizeof(struct sec4_sg_entry); in init_skcipher_job()
1379 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
1676 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()
1695 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in skcipher_edesc_alloc()