crypto: algapi - remove crypto_template::{alloc,free}()
authorEric Biggers <ebiggers@google.com>
Fri, 3 Jan 2020 04:04:39 +0000 (20:04 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Jan 2020 03:30:58 +0000 (11:30 +0800)
commita24a1fd731274ebbca873000e2c7fbe8224ae4c8
tree1169096d663feefc1dc6f686fe94cfeba753fae6
parenta39c66cc2f6108c8346dc882bdcf72861aaca956
crypto: algapi - remove crypto_template::{alloc,free}()

Now that all templates provide a ->create() method which creates an
instance, installs a strongly-typed ->free() method directly to it, and
registers it, the older ->alloc() and ->free() methods in
'struct crypto_template' are no longer used.  Remove them.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aead.c
crypto/ahash.c
crypto/algapi.c
crypto/algboss.c
crypto/shash.c
include/crypto/algapi.h