Searched refs:starfive_cryp_ctx (Results 1 – 3 of 3) sorted by relevance
55 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 …]
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()[all …]
161 struct starfive_cryp_ctx { struct228 struct starfive_cryp_dev *starfive_cryp_find_dev(struct starfive_cryp_ctx *ctx);