summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2018-03-02 21:29:46 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-09 15:45:53 +0100
commit9cc16b4d32f9f91dc7000aa726605a1add1899c7 (patch)
treea5f64fa3617b91386193268eb1dc698e10caabe4 /arch/x86/crypto
parentcrypto: ecdh - fix to allow multi segment scatterlists (diff)
downloadlinux-9cc16b4d32f9f91dc7000aa726605a1add1899c7.tar.xz
linux-9cc16b4d32f9f91dc7000aa726605a1add1899c7.zip
crypto: x86/des3_ede - des3_ede_skciphers[] can be static
Fixes: 09c0f03bf8ce ("crypto: x86/des3_ede - convert to skcipher interface") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
-rw-r--r--arch/x86/crypto/des3_ede_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
index f9c7bdc5be5a..5c610d4ef9fc 100644
--- a/arch/x86/crypto/des3_ede_glue.c
+++ b/arch/x86/crypto/des3_ede_glue.c
@@ -404,7 +404,7 @@ static struct crypto_alg des3_ede_cipher = {
}
};
-struct skcipher_alg des3_ede_skciphers[] = {
+static struct skcipher_alg des3_ede_skciphers[] = {
{
.base.cra_name = "ecb(des3_ede)",
.base.cra_driver_name = "ecb-des3_ede-asm",