cc_hw_desc 255 drivers/crypto/ccree/cc_aead.c static unsigned int xcbc_setkey(struct cc_hw_desc *desc, cc_hw_desc 296 drivers/crypto/ccree/cc_aead.c static int hmac_setkey(struct cc_hw_desc *desc, struct cc_aead_ctx *ctx) cc_hw_desc 427 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ]; cc_hw_desc 548 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ]; cc_hw_desc 732 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], unsigned int *seq_size) cc_hw_desc 772 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 836 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 881 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 931 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 975 drivers/crypto/ccree/cc_aead.c static void cc_proc_cipher(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 998 drivers/crypto/ccree/cc_aead.c static void cc_set_hmac_desc(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1031 drivers/crypto/ccree/cc_aead.c static void cc_set_xcbc_desc(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1092 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 1107 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 1169 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], unsigned int *seq_size) cc_hw_desc 1220 drivers/crypto/ccree/cc_aead.c static void cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1273 drivers/crypto/ccree/cc_aead.c cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1419 drivers/crypto/ccree/cc_aead.c static int cc_ccm(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1625 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], unsigned int *seq_size) cc_hw_desc 1702 drivers/crypto/ccree/cc_aead.c static void cc_set_gctr_desc(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1739 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[], cc_hw_desc 1803 drivers/crypto/ccree/cc_aead.c static int cc_gcm(struct aead_request *req, struct cc_hw_desc desc[], cc_hw_desc 1909 drivers/crypto/ccree/cc_aead.c struct cc_hw_desc desc[MAX_AEAD_PROCESS_SEQ]; cc_hw_desc 472 drivers/crypto/ccree/cc_cipher.c unsigned int ivsize, struct cc_hw_desc desc[], cc_hw_desc 530 drivers/crypto/ccree/cc_cipher.c struct cc_hw_desc desc[], cc_hw_desc 583 drivers/crypto/ccree/cc_cipher.c struct cc_hw_desc desc[], cc_hw_desc 664 drivers/crypto/ccree/cc_cipher.c unsigned int nbytes, struct cc_hw_desc desc[], cc_hw_desc 749 drivers/crypto/ccree/cc_cipher.c struct cc_hw_desc desc[], unsigned int *seq_size) cc_hw_desc 775 drivers/crypto/ccree/cc_cipher.c unsigned int nbytes, struct cc_hw_desc desc[], cc_hw_desc 865 drivers/crypto/ccree/cc_cipher.c struct cc_hw_desc desc[MAX_ABLKCIPHER_SEQ_LEN]; cc_hw_desc 239 drivers/crypto/ccree/cc_driver.h struct cc_hw_desc *pdesc) cc_hw_desc 52 drivers/crypto/ccree/cc_hash.c static void cc_setup_xcbc(struct ahash_request *areq, struct cc_hw_desc desc[], cc_hw_desc 55 drivers/crypto/ccree/cc_hash.c static void cc_setup_cmac(struct ahash_request *areq, struct cc_hw_desc desc[], cc_hw_desc 97 drivers/crypto/ccree/cc_hash.c unsigned int flow_mode, struct cc_hw_desc desc[], cc_hw_desc 100 drivers/crypto/ccree/cc_hash.c static void cc_set_endianity(u32 mode, struct cc_hw_desc *desc) cc_hw_desc 334 drivers/crypto/ccree/cc_hash.c static int cc_fin_result(struct cc_hw_desc *desc, struct ahash_request *req, cc_hw_desc 358 drivers/crypto/ccree/cc_hash.c static int cc_fin_hmac(struct cc_hw_desc *desc, struct ahash_request *req, cc_hw_desc 424 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 522 drivers/crypto/ccree/cc_hash.c static int cc_restore_hash(struct cc_hw_desc *desc, struct cc_hash_ctx *ctx, cc_hw_desc 559 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 637 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 728 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 925 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 1157 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 1224 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 1346 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 1429 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN]; cc_hw_desc 1871 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc larval_seq[CC_DIGEST_SIZE_MAX / sizeof(u32)]; cc_hw_desc 2124 drivers/crypto/ccree/cc_hash.c static void cc_setup_xcbc(struct ahash_request *areq, struct cc_hw_desc desc[], cc_hw_desc 2181 drivers/crypto/ccree/cc_hash.c static void cc_setup_cmac(struct ahash_request *areq, struct cc_hw_desc desc[], cc_hw_desc 2216 drivers/crypto/ccree/cc_hash.c struct cc_hw_desc desc[], bool is_not_last_data, cc_hw_desc 214 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void hw_desc_init(struct cc_hw_desc *pdesc) cc_hw_desc 216 drivers/crypto/ccree/cc_hw_queue_defs.h memset(pdesc, 0, sizeof(struct cc_hw_desc)); cc_hw_desc 224 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_queue_last_ind_bit(struct cc_hw_desc *pdesc) cc_hw_desc 238 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_din_type(struct cc_hw_desc *pdesc, cc_hw_desc 259 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_din_no_dma(struct cc_hw_desc *pdesc, u32 addr, u32 size) cc_hw_desc 274 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cpp_crypto_key(struct cc_hw_desc *pdesc, u8 slot) cc_hw_desc 293 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_din_sram(struct cc_hw_desc *pdesc, dma_addr_t addr, cc_hw_desc 308 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_din_const(struct cc_hw_desc *pdesc, u32 val, u32 size) cc_hw_desc 321 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_din_not_last_indication(struct cc_hw_desc *pdesc) cc_hw_desc 335 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_dout_type(struct cc_hw_desc *pdesc, cc_hw_desc 358 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_dout_dlli(struct cc_hw_desc *pdesc, dma_addr_t addr, cc_hw_desc 376 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_dout_mlli(struct cc_hw_desc *pdesc, dma_addr_t addr, cc_hw_desc 393 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_dout_no_dma(struct cc_hw_desc *pdesc, u32 addr, cc_hw_desc 407 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_xor_val(struct cc_hw_desc *pdesc, u32 val) cc_hw_desc 417 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_xor_active(struct cc_hw_desc *pdesc) cc_hw_desc 428 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_aes_not_hash_mode(struct cc_hw_desc *pdesc) cc_hw_desc 438 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_aes_xor_crypto_key(struct cc_hw_desc *pdesc) cc_hw_desc 452 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_dout_sram(struct cc_hw_desc *pdesc, u32 addr, u32 size) cc_hw_desc 465 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_xex_data_unit_size(struct cc_hw_desc *pdesc, u32 size) cc_hw_desc 476 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_multi2_num_rounds(struct cc_hw_desc *pdesc, u32 num) cc_hw_desc 487 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_flow_mode(struct cc_hw_desc *pdesc, cc_hw_desc 499 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cipher_mode(struct cc_hw_desc *pdesc, int mode) cc_hw_desc 511 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_hash_cipher_mode(struct cc_hw_desc *pdesc, cc_hw_desc 526 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cipher_config0(struct cc_hw_desc *pdesc, int mode) cc_hw_desc 537 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cipher_config1(struct cc_hw_desc *pdesc, cc_hw_desc 549 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_hw_crypto_key(struct cc_hw_desc *pdesc, cc_hw_desc 564 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_bytes_swap(struct cc_hw_desc *pdesc, bool config) cc_hw_desc 574 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cmac_size0_mode(struct cc_hw_desc *pdesc) cc_hw_desc 585 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_key_size(struct cc_hw_desc *pdesc, u32 size) cc_hw_desc 596 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_key_size_aes(struct cc_hw_desc *pdesc, u32 size) cc_hw_desc 607 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_key_size_des(struct cc_hw_desc *pdesc, u32 size) cc_hw_desc 618 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_setup_mode(struct cc_hw_desc *pdesc, cc_hw_desc 630 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cipher_do(struct cc_hw_desc *pdesc, cc_hw_desc 29 drivers/crypto/ccree/cc_request_mgr.c struct cc_hw_desc compl_desc; cc_hw_desc 48 drivers/crypto/ccree/cc_request_mgr.c struct cc_hw_desc desc[CC_MAX_DESC_SEQ_LEN]; cc_hw_desc 185 drivers/crypto/ccree/cc_request_mgr.c static void enqueue_seq(struct cc_drvdata *drvdata, struct cc_hw_desc seq[], cc_hw_desc 281 drivers/crypto/ccree/cc_request_mgr.c struct cc_hw_desc *desc, unsigned int len, cc_hw_desc 413 drivers/crypto/ccree/cc_request_mgr.c struct cc_hw_desc *desc, unsigned int len, cc_hw_desc 462 drivers/crypto/ccree/cc_request_mgr.c struct cc_crypto_req *cc_req, struct cc_hw_desc *desc, cc_hw_desc 518 drivers/crypto/ccree/cc_request_mgr.c int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc, cc_hw_desc 29 drivers/crypto/ccree/cc_request_mgr.h struct cc_hw_desc *desc, unsigned int len, cc_hw_desc 33 drivers/crypto/ccree/cc_request_mgr.h struct cc_crypto_req *cc_req, struct cc_hw_desc *desc, cc_hw_desc 36 drivers/crypto/ccree/cc_request_mgr.h int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc, cc_hw_desc 105 drivers/crypto/ccree/cc_sram_mgr.c unsigned int nelement, struct cc_hw_desc *seq, cc_hw_desc 62 drivers/crypto/ccree/cc_sram_mgr.h unsigned int nelement, struct cc_hw_desc *seq,