crypto: Add bulk algorithm registration interface
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 17 Jan 2012 23:34:26 +0000 (23:34 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 26 Jan 2012 02:35:49 +0000 (13:35 +1100)
commit4b004346feab6b431f3e1f89ef692e3a4186fdfd
tree3d61e7d5ce736f80d473368288e4456fc9e3cf24
parentb85a088f15f2070b7180735a231012843a5ac96c
crypto: Add bulk algorithm registration interface

Hardware crypto engines frequently need to register a selection of
different algorithms with the core. Simplify their code slightly,
especially the error handling, by providing functions to register a
number of algorithms in a single call.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
include/linux/crypto.h