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

dm integrity: use crypto_shash_digest() in sb_mac()



Simplify sb_mac() 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 6d0ee3b6
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