Home
last modified time | relevance | path

Searched refs:starfive_cryp_ctx (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/crypto/starfive/
H A Djh7110-hash.c39 static inline int starfive_hash_wait_busy(struct starfive_cryp_ctx *ctx) in starfive_hash_wait_busy()
48 static inline int starfive_hash_wait_key_done(struct starfive_cryp_ctx *ctx) in starfive_hash_wait_key_done()
57 static int starfive_hash_hmac_key(struct starfive_cryp_ctx *ctx) in starfive_hash_hmac_key()
89 struct starfive_cryp_ctx *ctx = param; in starfive_hash_start()
113 static int starfive_hash_xmit_dma(struct starfive_cryp_ctx *ctx) in starfive_hash_xmit_dma()
168 static int starfive_hash_xmit(struct starfive_cryp_ctx *ctx) in starfive_hash_xmit()
201 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_copy_hash()
262 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_one_request()
275 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_init()
292 struct starfive_cryp_ctx *ct in starfive_hash_update()
[all...]
H A Djh7110-aes.c86 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 *ct
[all...]
H A Djh7110-rsa.c43 static inline int starfive_pka_wait_done(struct starfive_cryp_ctx *ctx) in starfive_pka_wait_done()
51 static inline void starfive_pka_irq_mask_clear(struct starfive_cryp_ctx *ctx) in starfive_pka_irq_mask_clear()
88 static int starfive_rsa_montgomery_form(struct starfive_cryp_ctx *ctx, in starfive_rsa_montgomery_form()
190 static int starfive_rsa_cpu_start(struct starfive_cryp_ctx *ctx, u32 *result, in starfive_rsa_cpu_start()
266 static int starfive_rsa_start(struct starfive_cryp_ctx *ctx, u8 *result, in starfive_rsa_start()
272 static int starfive_rsa_enc_core(struct starfive_cryp_ctx *ctx, int enc) in starfive_rsa_enc_core()
309 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_enc()
341 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec()
475 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey()
526 struct starfive_cryp_ctx *ct in starfive_rsa_set_pub_key()
[all...]
H A Djh7110-cryp.h152 struct starfive_cryp_ctx { struct
223 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx);
H A Djh7110-cryp.c37 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx) in starfive_cryp_find_dev()

Completed in 4 milliseconds