[PATCH] crypto: atmel - Use unregister_{aeads,ahashes,skciphers}
Herbert Xu
herbert at gondor.apana.org.au
Fri Feb 6 02:58:31 PST 2026
On Mon, Jan 26, 2026 at 06:47:03PM +0100, Thorsten Blum wrote:
> Replace multiple for loops with calls to crypto_unregister_aeads(),
> crypto_unregister_ahashes(), and crypto_unregister_skciphers().
>
> Remove the definition of atmel_tdes_unregister_algs() because it is
> equivalent to calling crypto_unregister_skciphers() directly, and the
> function parameter 'struct atmel_tdes_dev *' is unused anyway.
>
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>
> ---
> drivers/crypto/atmel-aes.c | 17 ++++++-----------
> drivers/crypto/atmel-sha.c | 27 ++++++++++-----------------
> drivers/crypto/atmel-tdes.c | 25 ++++++-------------------
> 3 files changed, 22 insertions(+), 47 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list