Skip to content
Commit 6d0ee3b6 authored by Eric Biggers's avatar Eric Biggers Committed by Mike Snitzer
Browse files

dm crypt: use crypto_shash_digest() in crypt_iv_tcw_whitening()



Simplify crypt_iv_tcw_whitening() by using crypto_shash_digest() instead
of an init+update+final sequence.  This should also improve performance.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent a9511043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment