Lines Matching refs:starfive_cryp_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_alen(struct starfive_cryp_ctx *ctx) in starfive_aes_set_alen()
114 static inline void starfive_aes_set_mlen(struct starfive_cryp_ctx *ctx) in starfive_aes_set_mlen()
131 static int starfive_aes_write_iv(struct starfive_cryp_ctx *ctx, u32 *iv) in starfive_aes_write_iv()
159 static inline void starfive_aes_write_nonce(struct starfive_cryp_ctx *ctx, u32 *nonce) in starfive_aes_write_nonce()
169 static int starfive_aes_write_key(struct starfive_cryp_ctx *ctx) in starfive_aes_write_key()
197 static int starfive_aes_ccm_init(struct starfive_cryp_ctx *ctx) in starfive_aes_ccm_init()
224 static int starfive_aes_hw_init(struct starfive_cryp_ctx *ctx) in starfive_aes_hw_init()
292 static int starfive_aes_read_authtag(struct starfive_cryp_ctx *ctx) in starfive_aes_read_authtag()
323 static void starfive_aes_finish_req(struct starfive_cryp_ctx *ctx) in starfive_aes_finish_req()
342 static int starfive_aes_gcm_write_adata(struct starfive_cryp_ctx *ctx) in starfive_aes_gcm_write_adata()
370 static int starfive_aes_ccm_write_adata(struct starfive_cryp_ctx *ctx) in starfive_aes_ccm_write_adata()
572 struct starfive_cryp_ctx *ctx = in starfive_aes_do_one_req()
611 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_init_tfm()
632 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_exit_tfm()
641 struct starfive_cryp_ctx *ctx = in starfive_aes_aead_do_one_req()
722 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_init_tfm()
743 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_exit_tfm()
773 struct starfive_cryp_ctx *ctx = in starfive_aes_do_fallback()
791 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_crypt()
810 struct starfive_cryp_ctx *ctx = in starfive_aes_aead_do_fallback()
828 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_crypt()
857 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm); in starfive_aes_setkey()
876 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_setkey()
895 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_gcm_setauthsize()
908 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_ccm_setauthsize()
1029 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
1052 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
1075 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
1102 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
1125 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),