Commit f17f3f82 authored by YueHaibing's avatar YueHaibing Committed by Herbert Xu

crypto: x86/blowfish - Remove unused inline functions

This is unused after commit c0a64926 ("crypto: x86/blowfish - drop CTR mode implementation")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4363f3d3
...@@ -32,24 +32,12 @@ static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) ...@@ -32,24 +32,12 @@ static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src)
__blowfish_enc_blk(ctx, dst, src, false); __blowfish_enc_blk(ctx, dst, src, false);
} }
static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst,
const u8 *src)
{
__blowfish_enc_blk(ctx, dst, src, true);
}
static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst,
const u8 *src) const u8 *src)
{ {
__blowfish_enc_blk_4way(ctx, dst, src, false); __blowfish_enc_blk_4way(ctx, dst, src, false);
} }
static inline void blowfish_enc_blk_xor_4way(struct bf_ctx *ctx, u8 *dst,
const u8 *src)
{
__blowfish_enc_blk_4way(ctx, dst, src, true);
}
static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
{ {
blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, src); blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, src);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment