Home
last modified time | relevance | path

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

/openbmc/linux/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.h139 struct sec4_sg_entry *sec4_sg;
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 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[];
734 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
873 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx()
959 sizeof(struct sec4_sg_entry); in ahash_final_ctx()
1248 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_no_ctx()
1349 sizeof(struct sec4_sg_entry); in ahash_finup_no_ctx()
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()