Skip to content

Commit

Permalink
crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way()
Browse files Browse the repository at this point in the history
This is unused after commit 768db5f ("crypto: x86/des - drop CTR mode implementation")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
YueHaibing authored and herbertx committed Feb 23, 2022
1 parent f17f3f8 commit c143a60
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/x86/crypto/des3_ede_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ static inline void des3_ede_dec_blk(struct des3_ede_x86_ctx *ctx, u8 *dst,
des3_ede_x86_64_crypt_blk(dec_ctx, dst, src);
}

static inline void des3_ede_enc_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst,
const u8 *src)
{
u32 *enc_ctx = ctx->enc.expkey;

des3_ede_x86_64_crypt_blk_3way(enc_ctx, dst, src);
}

static inline void des3_ede_dec_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst,
const u8 *src)
{
Expand Down

0 comments on commit c143a60

Please sign in to comment.