diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-02-01 18:56:33 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-02-07 09:32:10 +0800 |
| commit | 0ce90934c0a6baac053029ad28566536ae50d604 (patch) | |
| tree | b627869dc16c80c6b49c9684dbd5f3948f41136c /scripts/include/xalloc.h | |
| parent | dc8f3d9ae804e8bb47dd49b051fe8b303db3b95c (diff) | |
crypto: img-hash - Use unregister_ahashes in img_{un}register_algs
Replace the for loops with calls to crypto_unregister_ahashes(). In
img_register_algs(), return 'err' immediately and remove the goto
statement to simplify the error handling code.
Convert img_unregister_algs() to a void function since its return value
is never used.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/include/xalloc.h')
0 files changed, 0 insertions, 0 deletions
