Lines Matching defs:ctx

86 static void starfive_aes_aead_hw_start(struct starfive_cryp_ctx *ctx, u32 hw_mode)  in starfive_aes_aead_hw_start()
106 static inline void starfive_aes_set_ivlen(struct starfive_cryp_ctx *ctx) in starfive_aes_set_ivlen()
116 static inline void starfive_aes_set_alen(struct starfive_cryp_ctx *ctx) in starfive_aes_set_alen()
124 static inline void starfive_aes_set_mlen(struct starfive_cryp_ctx *ctx) in starfive_aes_set_mlen()
141 static int starfive_aes_write_iv(struct starfive_cryp_ctx *ctx, u32 *iv) in starfive_aes_write_iv()
169 static inline void starfive_aes_write_nonce(struct starfive_cryp_ctx *ctx, u32 *nonce) in starfive_aes_write_nonce()
179 static int starfive_aes_write_key(struct starfive_cryp_ctx *ctx) in starfive_aes_write_key()
207 static int starfive_aes_ccm_init(struct starfive_cryp_ctx *ctx) in starfive_aes_ccm_init()
234 static int starfive_aes_hw_init(struct starfive_cryp_ctx *ctx) in starfive_aes_hw_init()
396 static int starfive_aes_gcm_write_adata(struct starfive_cryp_ctx *ctx) in starfive_aes_gcm_write_adata()
424 static int starfive_aes_ccm_write_adata(struct starfive_cryp_ctx *ctx) in starfive_aes_ccm_write_adata()
464 struct starfive_cryp_ctx *ctx; in starfive_aes_prepare_req() local
521 struct starfive_cryp_ctx *ctx = in starfive_aes_do_one_req() local
553 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_init_tfm() local
569 struct starfive_cryp_ctx *ctx = in starfive_aes_aead_do_one_req() local
623 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_init_tfm() local
649 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_exit_tfm() local
657 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_crypt() local
673 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_crypt() local
701 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_setkey() local
720 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_setkey() local
748 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_ccm_setauthsize() local