Chen Ni 054fd15984 ubifs: add check for crypto_shash_tfm_digest
Add check for the return value of crypto_shash_tfm_digest() and return
the error if it fails in order to catch the error.

Fixes: 817aa094842d ("ubifs: support offline signed images")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2024-07-12 22:01:09 +02:00
..
2024-07-12 21:53:35 +02:00
2024-07-12 21:53:35 +02:00
2023-02-02 21:13:53 +01:00
2024-07-12 21:53:35 +02:00
2024-07-12 21:53:35 +02:00
2024-07-12 21:53:35 +02:00
2020-08-02 22:59:03 +02:00
2024-07-12 21:53:35 +02:00
2021-04-15 22:00:26 +02:00