]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: engine - Use unregister_* in register_{aeads,ahashes,skciphers}
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 19 Dec 2025 14:51:22 +0000 (15:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jan 2026 05:48:42 +0000 (13:48 +0800)
commit1ccc00d71e3ba3300f95b0baad991400b9d521d1
tree6b9ceaf9a51fb19cbb045f5e9bbc610e98d614b0
parent32adff68c7d3b57b409cee88aa4d603579cf12b4
crypto: engine - Use unregister_* in register_{aeads,ahashes,skciphers}

Replace the for loops with calls to unregister_aeads(),
unregister_ahashes(), and unregister_skciphers(), respectively. Return
'ret' immediately and remove the goto statements to simplify the error
handling code.  No functional changes.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_engine.c