Commit 84d02173 authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu
Browse files

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: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a61fb707
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment