• Home
  • Raw
  • Download

Lines Matching defs:cryp

116 	struct stm32_cryp       *cryp;  member
167 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes()
172 static inline bool is_des(struct stm32_cryp *cryp) in is_des()
177 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes()
182 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb()
187 static inline bool is_cbc(struct stm32_cryp *cryp) in is_cbc()
192 static inline bool is_ctr(struct stm32_cryp *cryp) in is_ctr()
197 static inline bool is_gcm(struct stm32_cryp *cryp) in is_gcm()
202 static inline bool is_ccm(struct stm32_cryp *cryp) in is_ccm()
207 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt()
212 static inline bool is_decrypt(struct stm32_cryp *cryp) in is_decrypt()
217 static inline u32 stm32_cryp_read(struct stm32_cryp *cryp, u32 ofst) in stm32_cryp_read()
222 static inline void stm32_cryp_write(struct stm32_cryp *cryp, u32 ofst, u32 val) in stm32_cryp_write()
227 static inline int stm32_cryp_wait_busy(struct stm32_cryp *cryp) in stm32_cryp_wait_busy()
235 static inline int stm32_cryp_wait_enable(struct stm32_cryp *cryp) in stm32_cryp_wait_enable()
243 static inline int stm32_cryp_wait_output(struct stm32_cryp *cryp) in stm32_cryp_wait_output()
256 struct stm32_cryp *tmp, *cryp = NULL; in stm32_cryp_find_dev() local
274 static void stm32_cryp_hw_write_iv(struct stm32_cryp *cryp, __be32 *iv) in stm32_cryp_hw_write_iv()
288 static void stm32_cryp_get_iv(struct stm32_cryp *cryp) in stm32_cryp_get_iv()
321 static u32 stm32_cryp_get_hw_mode(struct stm32_cryp *cryp) in stm32_cryp_get_hw_mode()
354 static unsigned int stm32_cryp_get_input_text_len(struct stm32_cryp *cryp) in stm32_cryp_get_input_text_len()
360 static int stm32_cryp_gcm_init(struct stm32_cryp *cryp, u32 cfg) in stm32_cryp_gcm_init()
392 static void stm32_crypt_gcmccm_end_header(struct stm32_cryp *cryp) in stm32_crypt_gcmccm_end_header()
427 static void stm32_cryp_write_ccm_first_header(struct stm32_cryp *cryp) in stm32_cryp_write_ccm_first_header()
463 static int stm32_cryp_ccm_init(struct stm32_cryp *cryp, u32 cfg) in stm32_cryp_ccm_init()
528 static int stm32_cryp_hw_init(struct stm32_cryp *cryp) in stm32_cryp_hw_init()
617 static void stm32_cryp_finish_req(struct stm32_cryp *cryp, int err) in stm32_cryp_finish_req()
636 static int stm32_cryp_cpu_start(struct stm32_cryp *cryp) in stm32_cryp_cpu_start()
682 struct stm32_cryp *cryp = stm32_cryp_find_dev(ctx); in stm32_cryp_crypt() local
696 struct stm32_cryp *cryp = stm32_cryp_find_dev(ctx); in stm32_cryp_aead_crypt() local
987 struct stm32_cryp *cryp; in stm32_cryp_prepare_req() local
1085 struct stm32_cryp *cryp = ctx->cryp; in stm32_cryp_cipher_one_req() local
1106 struct stm32_cryp *cryp = ctx->cryp; in stm32_cryp_aead_one_req() local
1120 static int stm32_cryp_read_auth_tag(struct stm32_cryp *cryp) in stm32_cryp_read_auth_tag()
1206 static void stm32_cryp_check_ctr_counter(struct stm32_cryp *cryp) in stm32_cryp_check_ctr_counter()
1232 static void stm32_cryp_irq_read_data(struct stm32_cryp *cryp) in stm32_cryp_irq_read_data()
1246 static void stm32_cryp_irq_write_block(struct stm32_cryp *cryp) in stm32_cryp_irq_write_block()
1259 static void stm32_cryp_irq_write_gcm_padded_data(struct stm32_cryp *cryp) in stm32_cryp_irq_write_gcm_padded_data()
1335 static void stm32_cryp_irq_set_npblb(struct stm32_cryp *cryp) in stm32_cryp_irq_set_npblb()
1349 static void stm32_cryp_irq_write_ccm_padded_data(struct stm32_cryp *cryp) in stm32_cryp_irq_write_ccm_padded_data()
1436 static void stm32_cryp_irq_write_data(struct stm32_cryp *cryp) in stm32_cryp_irq_write_data()
1477 static void stm32_cryp_irq_write_gcmccm_header(struct stm32_cryp *cryp) in stm32_cryp_irq_write_gcmccm_header()
1496 struct stm32_cryp *cryp = arg; in stm32_cryp_irq_thread() local
1536 struct stm32_cryp *cryp = arg; in stm32_cryp_irq() local
1732 struct stm32_cryp *cryp; in stm32_cryp_probe() local
1844 struct stm32_cryp *cryp = platform_get_drvdata(pdev); in stm32_cryp_remove() local
1874 struct stm32_cryp *cryp = dev_get_drvdata(dev); in stm32_cryp_runtime_suspend() local
1883 struct stm32_cryp *cryp = dev_get_drvdata(dev); in stm32_cryp_runtime_resume() local