crypto: sun8i-ss - use crypto_shash_tfm_digest() in sun8i_ss_hashkey()

Simplify sun8i_ss_hashkey() by using crypto_shash_tfm_digest() instead
of an alloc+init+update+final sequence.  This should also improve
performance.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Eric Biggers 2023-10-28 21:56:13 -07:00 • committed by Herbert Xu
commit 84d0217336