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_ivlen(struct starfive_cryp_ctx *ctx)
116 static inline void starfive_aes_set_alen(struct starfive_cryp_ctx *ctx)
124 static inline void starfive_aes_set_mlen(struct starfive_cryp_ctx *ctx)
141 static int starfive_aes_write_iv(struct starfive_cryp_ctx *ctx, u32 *iv)
169 static inline void starfive_aes_write_nonce(struct starfive_cryp_ctx *ctx, u32 *nonce)
179 static int starfive_aes_write_key(struct starfive_cryp_ctx *ctx)
207 static int starfive_aes_ccm_init(struct starfive_cryp_ctx *ctx)
234 static int starfive_aes_hw_init(struct starfive_cryp_ctx *ctx)
396 static int starfive_aes_gcm_write_adata(struct starfive_cryp_ctx *ctx)
424 static int starfive_aes_ccm_write_adata(struct starfive_cryp_ctx *ctx)
464 struct starfive_cryp_ctx *ctx;
521 struct starfive_cryp_ctx *ctx =
553 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
569 struct starfive_cryp_ctx *ctx =
623 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
641 crypto_aead_set_reqsize(tfm, sizeof(struct starfive_cryp_ctx) +
649 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
657 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
673 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req));
701 struct starfive_cryp_ctx *ctx = crypto_skcipher_ctx(tfm);
720 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
748 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm);
862 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
883 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
904 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
925 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
946 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
972 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
995 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),