summaryrefslogtreecommitdiffstats
path: root/include/crypto/algapi.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-02 11:21:02 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 22:16:48 +0100
commit45d44eb56ad197cfccb8f84b5df64abff8b7cb96 (patch)
tree4e42a4531b7c581bb78942efb12386ca82555de1 /include/crypto/algapi.h
parent[CRYPTO] gcm: Use crypto_grab_skcipher (diff)
downloadlinux-45d44eb56ad197cfccb8f84b5df64abff8b7cb96.tar.xz
linux-45d44eb56ad197cfccb8f84b5df64abff8b7cb96.zip
[CRYPTO] skcipher: Remove crypto_spawn_ablkcipher
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>
Diffstat (limited to '')
-rw-r--r--include/crypto/algapi.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index fda1759ffe2d..60d06e784be3 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -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)
{