]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - crypto/shash.c
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries...
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Wed, 11 Jul 2012 11:20:20 +0000 (14:20 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Aug 2012 09:47:26 +0000 (17:47 +0800)
commit50fc3e8d2c9d1ee72c67b751e5ac5d76ebc5a12e
tree29be3f3cff2b30a5c1d6ece2cc6a200668a7003f
parent8fc229a51b0e10f4ceb794e8b99fa0a427a7ba41
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once

Add crypto_[un]register_shashes() to allow simplifying init/exit code of shash
crypto modules that register multiple algorithms.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/shash.c
include/crypto/internal/hash.h