forked from Minki/linux
crypto: des - remove now unused __des3_ede_setkey()
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
cc1d24b980
commit
18fbe0da8e
@ -51,19 +51,6 @@ static void crypto_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
|
|||||||
des_decrypt(dctx, dst, src);
|
des_decrypt(dctx, dst, src);
|
||||||
}
|
}
|
||||||
|
|
||||||
int __des3_ede_setkey(u32 *expkey, u32 *flags, const u8 *key,
|
|
||||||
unsigned int keylen)
|
|
||||||
{
|
|
||||||
int err;
|
|
||||||
|
|
||||||
des_ekey(expkey, key); expkey += DES_EXPKEY_WORDS; key += DES_KEY_SIZE;
|
|
||||||
dkey(expkey, key); expkey += DES_EXPKEY_WORDS; key += DES_KEY_SIZE;
|
|
||||||
des_ekey(expkey, key);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL_GPL(__des3_ede_setkey);
|
|
||||||
|
|
||||||
static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key,
|
static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key,
|
||||||
unsigned int keylen)
|
unsigned int keylen)
|
||||||
{
|
{
|
||||||
|
@ -54,7 +54,4 @@ int des_expand_key(struct des_ctx *ctx, const u8 *key, unsigned int keylen);
|
|||||||
int des3_ede_expand_key(struct des3_ede_ctx *ctx, const u8 *key,
|
int des3_ede_expand_key(struct des3_ede_ctx *ctx, const u8 *key,
|
||||||
unsigned int keylen);
|
unsigned int keylen);
|
||||||
|
|
||||||
extern int __des3_ede_setkey(u32 *expkey, u32 *flags, const u8 *key,
|
|
||||||
unsigned int keylen);
|
|
||||||
|
|
||||||
#endif /* __CRYPTO_DES_H */
|
#endif /* __CRYPTO_DES_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user