summaryrefslogtreecommitdiffstats
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-07 06:30:33 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-07 06:30:33 +0200
commitf2ac72e8268d9559c3114d5a22679f91f80a2238 (patch)
treee52b3b65b62b48f8a77c9a522d9e55f04bcf6259 /crypto/algapi.c
parentcrypto: ansi_prng - alloc cipher just in init (diff)
downloadlinux-f2ac72e8268d9559c3114d5a22679f91f80a2238.tar.xz
linux-f2ac72e8268d9559c3114d5a22679f91f80a2238.zip
crypto: api - Add new template create function
This patch introduces the template->create function intended to replace the existing alloc function. The intention is for create to handle the registration directly, whereas currently the caller of alloc has to handle the registration. This allows type-specific code to be run prior to registration. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions