Lines Matching refs:starfive_cryp_ctx

86 static void starfive_aes_aead_hw_start(struct starfive_cryp_ctx *ctx, u32 hw_mode)
106 static inline void starfive_aes_set_alen(struct starfive_cryp_ctx *ctx)
114 static inline void starfive_aes_set_mlen(struct starfive_cryp_ctx *ctx)
131 static int starfive_aes_write_iv(struct starfive_cryp_ctx *ctx, u32 *iv)
159 static inline void starfive_aes_write_nonce(struct starfive_cryp_ctx *ctx, u32 *nonce)
169 static int starfive_aes_write_key(struct starfive_cryp_ctx *ctx)
197 static int starfive_aes_ccm_init(struct starfive_cryp_ctx *ctx)
224 static int starfive_aes_hw_init(struct starfive_cryp_ctx *ctx)
292 static int starfive_aes_read_authtag(struct starfive_cryp_ctx *ctx)
323 static void starfive_aes_finish_req(struct starfive_cryp_ctx *ctx)
342 static int starfive_aes_gcm_write_adata(struct starfive_cryp_ctx *ctx)
370 static int starfive_aes_ccm_write_adata(struct starfive_cryp_ctx *ctx)
572 struct starfive_cryp_ctx *ctx =
611 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
632 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
641 struct starfive_cryp_ctx *ctx =
722 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
743 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
773 struct starfive_cryp_ctx *ctx =
791 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
810 struct starfive_cryp_ctx *ctx =
828 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req));
857 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
876 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
895 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
908 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
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),