Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 738fadaa authored by Eric Biggers's avatar Eric Biggers Committed by Richard Weinberger
Browse files

ubifs: use crypto_shash_tfm_digest() in ubifs_hmac_wkm()


Simplify ubifs_hmac_wkm() 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>
Tested-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 861deac3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment