All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way()
@ 2022-02-16 11:45 YueHaibing
  2022-02-23  3:31 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2022-02-16 11:45 UTC (permalink / raw)
  To: herbert, davem, tglx, mingo, bp, dave.hansen, x86, hpa,
	colin.king, yuehaibing
  Cc: linux-crypto, linux-kernel

This is unused after commit 768db5fee3bb ("crypto: x86/des - drop CTR mode implementation")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/x86/crypto/des3_ede_glue.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
index 787c234d2469..abb8b1fe123b 100644
--- a/arch/x86/crypto/des3_ede_glue.c
+++ b/arch/x86/crypto/des3_ede_glue.c
@@ -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)
 {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way()
  2022-02-16 11:45 [PATCH -next] crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way() YueHaibing
@ 2022-02-23  3:31 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2022-02-23  3:31 UTC (permalink / raw)
  To: YueHaibing
  Cc: davem, tglx, mingo, bp, dave.hansen, x86, hpa, colin.king,
	linux-crypto, linux-kernel

On Wed, Feb 16, 2022 at 07:45:21PM +0800, YueHaibing wrote:
> This is unused after commit 768db5fee3bb ("crypto: x86/des - drop CTR mode implementation")
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  arch/x86/crypto/des3_ede_glue.c | 8 --------
>  1 file changed, 8 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-23  3:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 11:45 [PATCH -next] crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way() YueHaibing
2022-02-23  3:31 ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.