diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-29 08:03:55 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-01-05 18:29:53 +0300 |
commit | 738fadaa549797c777650ac8d0d433fdc20152e3 (patch) | |
tree | a0ab2d7fe99c255694e776a6d432f81e9a026fc5 /fs/ubifs/commit.c | |
parent | 861deac3b092f37b2c5e6871732f3e11486f7082 (diff) | |
download | linux-738fadaa549797c777650ac8d0d433fdc20152e3.tar.xz |
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: Eric Biggers <ebiggers@google.com>
Tested-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions