diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-02 05:21:02 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 16:16:48 -0500 |
commit | 45d44eb56ad197cfccb8f84b5df64abff8b7cb96 (patch) | |
tree | 4e42a4531b7c581bb78942efb12386ca82555de1 | |
parent | 1472e5ebaac14dafbc0f978b5e951f1e9ca0b251 (diff) |
[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>
-rw-r--r-- | include/crypto/algapi.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index fda1759ffe2..60d06e784be 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h | |||
@@ -198,14 +198,6 @@ static inline struct crypto_instance *crypto_aead_alg_instance( | |||
198 | return crypto_tfm_alg_instance(&aead->base); | 198 | return crypto_tfm_alg_instance(&aead->base); |
199 | } | 199 | } |
200 | 200 | ||
201 | static inline struct crypto_ablkcipher *crypto_spawn_ablkcipher( | ||
202 | struct crypto_spawn *spawn) | ||
203 | { | ||
204 | return __crypto_ablkcipher_cast( | ||
205 | crypto_spawn_tfm(spawn, crypto_skcipher_type(0), | ||
206 | crypto_skcipher_mask(0))); | ||
207 | } | ||
208 | |||
209 | static inline struct crypto_blkcipher *crypto_spawn_blkcipher( | 201 | static inline struct crypto_blkcipher *crypto_spawn_blkcipher( |
210 | struct crypto_spawn *spawn) | 202 | struct crypto_spawn *spawn) |
211 | { | 203 | { |