Lines Matching refs:starfive_cryp_ctx
39 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 *ctx = crypto_ahash_ctx(tfm); in starfive_hash_update()
309 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_final()
326 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_finup()
343 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_digest_fb()
358 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_digest()
382 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_export()
396 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(tfm); in starfive_hash_import()
410 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hash_init_tfm()
436 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hash_exit_tfm()
441 static int starfive_hash_long_setkey(struct starfive_cryp_ctx *ctx, in starfive_hash_long_setkey()
490 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hash_setkey()
560 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hmac_sha224_init_tfm()
570 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hmac_sha256_init_tfm()
580 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hmac_sha384_init_tfm()
590 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hmac_sha512_init_tfm()
600 struct starfive_cryp_ctx *ctx = crypto_ahash_ctx(hash); in starfive_hmac_sm3_init_tfm()
630 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
660 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
689 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
719 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
748 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
778 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
807 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
837 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
866 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),
896 .cra_ctxsize = sizeof(struct starfive_cryp_ctx),