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 bool 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_alen() local
116 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_set_mlen() local
133 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_iv() local
151 static inline void starfive_aes_get_iv(struct starfive_cryp_dev *cryp, u32 *iv) in starfive_aes_get_iv()
161 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_nonce() local
171 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_write_key() local
199 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_ccm_init() local
227 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_hw_init() local
294 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_read_authtag() local
325 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_finish_req() local
344 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_gcm_write_adata() local
372 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_ccm_write_adata() local
409 struct starfive_cryp_dev *cryp = param; in starfive_aes_dma_done() local
414 static void starfive_aes_dma_init(struct starfive_cryp_dev *cryp) in starfive_aes_dma_init()
437 static int starfive_aes_dma_xfer(struct starfive_cryp_dev *cryp, in starfive_aes_dma_xfer()
499 static int starfive_aes_map_sg(struct starfive_cryp_dev *cryp, in starfive_aes_map_sg()
575 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_do_one_req() local
643 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_do_one_req() local
748 static bool starfive_aes_check_unaligned(struct starfive_cryp_dev *cryp, in starfive_aes_check_unaligned()
792 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_crypt() local
829 struct starfive_cryp_dev *cryp = ctx->cryp; in starfive_aes_aead_crypt() local