[CRYPTO] skcipher: Remove crypto_spawn_ablkcipher
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 2 Dec 2007 10:21:02 +0000 (21:21 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:48 +0000 (08:16 +1100)
Now that gcm and authenc have been converted to crypto_spawn_skcipher,
this patch removes the obsolete crypto_spawn_ablkcipher function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/algapi.h

index fda1759ffe2d95e915cdaba3a6298d3b609d0dc6..60d06e784be3aa54464c0263e4611c087cc0a17c 100644 (file)
@@ -198,14 +198,6 @@ static inline struct crypto_instance *crypto_aead_alg_instance(
        return crypto_tfm_alg_instance(&aead->base);
 }
 
-static inline struct crypto_ablkcipher *crypto_spawn_ablkcipher(
-       struct crypto_spawn *spawn)
-{
-       return __crypto_ablkcipher_cast(
-               crypto_spawn_tfm(spawn, crypto_skcipher_type(0),
-                                crypto_skcipher_mask(0)));
-}
-
 static inline struct crypto_blkcipher *crypto_spawn_blkcipher(
        struct crypto_spawn *spawn)
 {