Home
last modified time | relevance | path

Searched refs:cc_hw_desc (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/crypto/ccree/
H A Dcc_hw_queue_defs.h62 struct cc_hw_desc { struct
211 static inline void hw_desc_init(struct cc_hw_desc *pdesc) in hw_desc_init()
213 memset(pdesc, 0, sizeof(struct cc_hw_desc)); in hw_desc_init()
222 static inline void set_queue_last_ind_bit(struct cc_hw_desc *pdesc) in set_queue_last_ind_bit()
236 static inline void set_din_type(struct cc_hw_desc *pdesc, in set_din_type()
257 static inline void set_din_no_dma(struct cc_hw_desc *pdesc, u32 addr, u32 size) in set_din_no_dma()
269 static inline void set_cpp_crypto_key(struct cc_hw_desc *pdesc, u8 slot) in set_cpp_crypto_key()
288 static inline void set_din_sram(struct cc_hw_desc *pdesc, u32 addr, u32 size) in set_din_sram()
302 static inline void set_din_const(struct cc_hw_desc *pdesc, u32 val, u32 size) in set_din_const()
315 static inline void set_din_not_last_indication(struct cc_hw_desc *pdesc) in set_din_not_last_indication()
[all …]
H A Dcc_request_mgr.h28 struct cc_hw_desc *desc, unsigned int len,
32 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc,
35 int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc,
H A Dcc_request_mgr.c29 struct cc_hw_desc compl_desc;
48 struct cc_hw_desc desc[CC_MAX_DESC_SEQ_LEN];
184 static void enqueue_seq(struct cc_drvdata *drvdata, struct cc_hw_desc seq[], in enqueue_seq()
280 struct cc_hw_desc *desc, unsigned int len, in cc_do_send_request()
402 struct cc_hw_desc *desc, unsigned int len, in cc_send_request()
453 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc, in cc_send_sync_request()
501 int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc, in send_request_init()
H A Dcc_aead.c251 static unsigned int xcbc_setkey(struct cc_hw_desc *desc, in xcbc_setkey()
292 static unsigned int hmac_setkey(struct cc_hw_desc *desc, in hmac_setkey()
424 struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ]; in cc_get_plain_hmac_key()
546 struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ]; in cc_aead_setkey()
722 struct cc_hw_desc desc[], unsigned int *seq_size) in cc_set_assoc_desc()
762 struct cc_hw_desc desc[], in cc_proc_authen_desc()
826 struct cc_hw_desc desc[], in cc_proc_cipher_desc()
871 struct cc_hw_desc desc[], in cc_proc_digest_desc()
921 struct cc_hw_desc desc[], in cc_set_cipher_desc()
965 static void cc_proc_cipher(struct aead_request *req, struct cc_hw_desc desc[], in cc_proc_cipher()
[all …]
H A Dcc_hash.c59 static void cc_setup_xcbc(struct ahash_request *areq, struct cc_hw_desc desc[],
62 static void cc_setup_cmac(struct ahash_request *areq, struct cc_hw_desc desc[],
104 unsigned int flow_mode, struct cc_hw_desc desc[],
107 static void cc_set_endianity(u32 mode, struct cc_hw_desc *desc) in cc_set_endianity()
341 static int cc_fin_result(struct cc_hw_desc *desc, struct ahash_request *req, in cc_fin_result()
364 static int cc_fin_hmac(struct cc_hw_desc *desc, struct ahash_request *req, in cc_fin_hmac()
430 struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; in cc_hash_digest()
529 static int cc_restore_hash(struct cc_hw_desc *desc, struct cc_hash_ctx *ctx, in cc_restore_hash()
566 struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; in cc_hash_update()
644 struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; in cc_do_finup()
[all …]
H A Dcc_sram_mgr.h50 struct cc_hw_desc *seq, unsigned int *seq_len);
H A Dcc_cipher.c506 unsigned int ivsize, struct cc_hw_desc desc[], in cc_setup_readiv_desc()
563 struct cc_hw_desc desc[], in cc_setup_state_desc()
607 struct cc_hw_desc desc[], in cc_setup_xex_state_desc()
684 unsigned int nbytes, struct cc_hw_desc desc[], in cc_setup_key_desc()
768 struct cc_hw_desc desc[], unsigned int *seq_size) in cc_setup_mlli_desc()
794 unsigned int nbytes, struct cc_hw_desc desc[], in cc_setup_flow_desc()
884 struct cc_hw_desc desc[MAX_SKCIPHER_SEQ_LEN]; in cc_cipher_process()
H A Dcc_sram_mgr.c78 struct cc_hw_desc *seq, unsigned int *seq_len) in cc_set_sram_desc()
H A Dcc_driver.h229 struct cc_hw_desc *pdesc) in set_queue_last_ind()