Lines Matching defs:cryp
52 static inline int starfive_aes_wait_busy(struct starfive_cryp_dev *cryp) in starfive_aes_wait_busy()
60 static inline int starfive_aes_wait_keydone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_keydone()
68 static inline int starfive_aes_wait_gcmdone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_gcmdone()
76 static inline int is_gcm(struct starfive_cryp_dev *cryp) in is_gcm()
81 static inline int is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt()
88 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_hw_start() local
108 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_ivlen() local
118 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_alen() local
126 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_mlen() local
143 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_iv() local
161 static inline void starfive_aes_get_iv(struct starfive_cryp_dev *cryp, u32 *iv) in starfive_aes_get_iv()
171 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_nonce() local
181 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_key() local
209 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_ccm_init() local
237 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_hw_init() local
310 static int starfive_aes_read_authtag(struct starfive_cryp_dev *cryp) in starfive_aes_read_authtag()
339 static void starfive_aes_finish_req(struct starfive_cryp_dev *cryp) in starfive_aes_finish_req()
365 struct starfive_cryp_dev *cryp = (struct starfive_cryp_dev *)param; in starfive_aes_done_task() local
398 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_gcm_write_adata() local
426 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_ccm_write_adata() local
466 struct starfive_cryp_dev *cryp; in starfive_aes_prepare_req() local
523 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_do_one_req() local
571 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_do_one_req() local
624 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_init_tfm() local
658 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_crypt() local
674 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_crypt() local