Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/
Dn2_core.c416 struct n2_hmac_alg *n2alg = n2_hmac_alg(tfm); in n2_hmac_cra_init() local
430 child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); in n2_hmac_cra_init()
433 n2alg->child_alg); in n2_hmac_cra_init()
611 struct n2_ahash_alg *n2alg = n2_ahash_alg(req->base.tfm); in n2_hash_async_digest() local
615 ds = n2alg->digest_size; in n2_hash_async_digest()
617 memcpy(req->result, n2alg->hash_zero, ds); in n2_hash_async_digest()
620 memcpy(&rctx->u, n2alg->hash_init, n2alg->hw_op_hashsz); in n2_hash_async_digest()
622 return n2_do_async_digest(req, n2alg->auth_type, in n2_hash_async_digest()
623 n2alg->hw_op_hashsz, ds, in n2_hash_async_digest()
629 struct n2_hmac_alg *n2alg = n2_hmac_alg(req->base.tfm); in n2_hmac_async_digest() local
[all …]