OSDN Git Service

crypto: algapi - remove crypto_alloc_instance()
authorEric Biggers <ebiggers@google.com>
Fri, 4 Jan 2019 04:16:25 +0000 (20:16 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:58 +0000 (14:16 +0800)
commit14aa1a839a33b4ade7479ffcad8a5fabe5cc4000
treeeb0e9fa2d4cd29d8d54f30d1fde8f5b454930629
parent31d40c20983fd26a41541be208687fb2fc62fec3
crypto: algapi - remove crypto_alloc_instance()

Now that all "blkcipher" templates have been converted to "skcipher",
crypto_alloc_instance() is no longer used.  And it's not useful any
longer as it creates an old-style weakly typed instance rather than a
new-style strongly typed instance.  So remove it, and now that the name
is freed up rename crypto_alloc_instance2() to crypto_alloc_instance().

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