Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/starfive/
Djh7110-hash.c55 static inline int starfive_hash_wait_key_done(struct starfive_cryp_ctx *ctx) in starfive_hash_wait_key_done()
64 static int starfive_hash_hmac_key(struct starfive_cryp_ctx *ctx) in starfive_hash_hmac_key()
168 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_copy_hash()
199 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in starfive_hash_one_request()
259 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_init()
276 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_update()
293 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_final()
310 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_finup()
326 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_digest()
347 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_export()
[all …]
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_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()
[all …]
Djh7110-rsa.c36 static inline int starfive_pka_wait_done(struct starfive_cryp_ctx *ctx) in starfive_pka_wait_done()
70 static int starfive_rsa_montgomery_form(struct starfive_cryp_ctx *ctx, in starfive_rsa_montgomery_form()
168 static int starfive_rsa_cpu_start(struct starfive_cryp_ctx *ctx, u32 *result, in starfive_rsa_cpu_start()
242 static int starfive_rsa_start(struct starfive_cryp_ctx *ctx, u8 *result, in starfive_rsa_start()
248 static int starfive_rsa_enc_core(struct starfive_cryp_ctx *ctx, int enc) in starfive_rsa_enc_core()
289 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_enc()
320 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec()
454 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey()
505 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_pub_key()
518 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_priv_key()
[all …]
Djh7110-cryp.h161 struct starfive_cryp_ctx { struct
228 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx);
Djh7110-cryp.c37 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx) in starfive_cryp_find_dev()