Commit b95bba5d authored by Eric Biggers's avatar Eric Biggers Committed by Herbert Xu

crypto: skcipher - rename the crypto_blkcipher module and kconfig option

Now that the blkcipher algorithm type has been removed in favor of
skcipher, rename the crypto_blkcipher kernel module to crypto_skcipher,
and rename the config options accordingly:

	CONFIG_CRYPTO_BLKCIPHER => CONFIG_CRYPTO_SKCIPHER
	CONFIG_CRYPTO_BLKCIPHER2 => CONFIG_CRYPTO_SKCIPHER2
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c65058b7
...@@ -81,7 +81,7 @@ config CRYPTO_AES_ARM ...@@ -81,7 +81,7 @@ config CRYPTO_AES_ARM
config CRYPTO_AES_ARM_BS config CRYPTO_AES_ARM_BS
tristate "Bit sliced AES using NEON instructions" tristate "Bit sliced AES using NEON instructions"
depends on KERNEL_MODE_NEON depends on KERNEL_MODE_NEON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
select CRYPTO_SIMD select CRYPTO_SIMD
help help
...@@ -97,7 +97,7 @@ config CRYPTO_AES_ARM_BS ...@@ -97,7 +97,7 @@ config CRYPTO_AES_ARM_BS
config CRYPTO_AES_ARM_CE config CRYPTO_AES_ARM_CE
tristate "Accelerated AES using ARMv8 Crypto Extensions" tristate "Accelerated AES using ARMv8 Crypto Extensions"
depends on KERNEL_MODE_NEON && (CC_IS_CLANG || GCC_VERSION >= 40800) depends on KERNEL_MODE_NEON && (CC_IS_CLANG || GCC_VERSION >= 40800)
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_SIMD select CRYPTO_SIMD
help help
Use an implementation of AES in CBC, CTR and XTS modes that uses Use an implementation of AES in CBC, CTR and XTS modes that uses
...@@ -130,7 +130,7 @@ config CRYPTO_CRC32_ARM_CE ...@@ -130,7 +130,7 @@ config CRYPTO_CRC32_ARM_CE
config CRYPTO_CHACHA20_NEON config CRYPTO_CHACHA20_NEON
tristate "NEON accelerated ChaCha stream cipher algorithms" tristate "NEON accelerated ChaCha stream cipher algorithms"
depends on KERNEL_MODE_NEON depends on KERNEL_MODE_NEON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CHACHA20 select CRYPTO_CHACHA20
config CRYPTO_NHPOLY1305_NEON config CRYPTO_NHPOLY1305_NEON
......
...@@ -86,7 +86,7 @@ config CRYPTO_AES_ARM64_CE_CCM ...@@ -86,7 +86,7 @@ config CRYPTO_AES_ARM64_CE_CCM
config CRYPTO_AES_ARM64_CE_BLK config CRYPTO_AES_ARM64_CE_BLK
tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions" tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions"
depends on KERNEL_MODE_NEON depends on KERNEL_MODE_NEON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AES_ARM64_CE select CRYPTO_AES_ARM64_CE
select CRYPTO_AES_ARM64 select CRYPTO_AES_ARM64
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -94,7 +94,7 @@ config CRYPTO_AES_ARM64_CE_BLK ...@@ -94,7 +94,7 @@ config CRYPTO_AES_ARM64_CE_BLK
config CRYPTO_AES_ARM64_NEON_BLK config CRYPTO_AES_ARM64_NEON_BLK
tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions" tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions"
depends on KERNEL_MODE_NEON depends on KERNEL_MODE_NEON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AES_ARM64 select CRYPTO_AES_ARM64
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -102,7 +102,7 @@ config CRYPTO_AES_ARM64_NEON_BLK ...@@ -102,7 +102,7 @@ config CRYPTO_AES_ARM64_NEON_BLK
config CRYPTO_CHACHA20_NEON config CRYPTO_CHACHA20_NEON
tristate "ChaCha20, XChaCha20, and XChaCha12 stream ciphers using NEON instructions" tristate "ChaCha20, XChaCha20, and XChaCha12 stream ciphers using NEON instructions"
depends on KERNEL_MODE_NEON depends on KERNEL_MODE_NEON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CHACHA20 select CRYPTO_CHACHA20
config CRYPTO_NHPOLY1305_NEON config CRYPTO_NHPOLY1305_NEON
...@@ -113,7 +113,7 @@ config CRYPTO_NHPOLY1305_NEON ...@@ -113,7 +113,7 @@ config CRYPTO_NHPOLY1305_NEON
config CRYPTO_AES_ARM64_BS config CRYPTO_AES_ARM64_BS
tristate "AES in ECB/CBC/CTR/XTS modes using bit-sliced NEON algorithm" tristate "AES in ECB/CBC/CTR/XTS modes using bit-sliced NEON algorithm"
depends on KERNEL_MODE_NEON depends on KERNEL_MODE_NEON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AES_ARM64_NEON_BLK select CRYPTO_AES_ARM64_NEON_BLK
select CRYPTO_AES_ARM64 select CRYPTO_AES_ARM64
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
......
...@@ -52,12 +52,12 @@ config CRYPTO_AEAD2 ...@@ -52,12 +52,12 @@ config CRYPTO_AEAD2
select CRYPTO_NULL2 select CRYPTO_NULL2
select CRYPTO_RNG2 select CRYPTO_RNG2
config CRYPTO_BLKCIPHER config CRYPTO_SKCIPHER
tristate tristate
select CRYPTO_BLKCIPHER2 select CRYPTO_SKCIPHER2
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
config CRYPTO_BLKCIPHER2 config CRYPTO_SKCIPHER2
tristate tristate
select CRYPTO_ALGAPI2 select CRYPTO_ALGAPI2
select CRYPTO_RNG2 select CRYPTO_RNG2
...@@ -123,7 +123,7 @@ config CRYPTO_MANAGER2 ...@@ -123,7 +123,7 @@ config CRYPTO_MANAGER2
def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
select CRYPTO_AEAD2 select CRYPTO_AEAD2
select CRYPTO_HASH2 select CRYPTO_HASH2
select CRYPTO_BLKCIPHER2 select CRYPTO_SKCIPHER2
select CRYPTO_AKCIPHER2 select CRYPTO_AKCIPHER2
select CRYPTO_KPP2 select CRYPTO_KPP2
select CRYPTO_ACOMP2 select CRYPTO_ACOMP2
...@@ -169,7 +169,7 @@ config CRYPTO_NULL ...@@ -169,7 +169,7 @@ config CRYPTO_NULL
config CRYPTO_NULL2 config CRYPTO_NULL2
tristate tristate
select CRYPTO_ALGAPI2 select CRYPTO_ALGAPI2
select CRYPTO_BLKCIPHER2 select CRYPTO_SKCIPHER2
select CRYPTO_HASH2 select CRYPTO_HASH2
config CRYPTO_PCRYPT config CRYPTO_PCRYPT
...@@ -184,7 +184,7 @@ config CRYPTO_PCRYPT ...@@ -184,7 +184,7 @@ config CRYPTO_PCRYPT
config CRYPTO_CRYPTD config CRYPTO_CRYPTD
tristate "Software async crypto daemon" tristate "Software async crypto daemon"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
...@@ -195,7 +195,7 @@ config CRYPTO_CRYPTD ...@@ -195,7 +195,7 @@ config CRYPTO_CRYPTD
config CRYPTO_AUTHENC config CRYPTO_AUTHENC
tristate "Authenc support" tristate "Authenc support"
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_NULL select CRYPTO_NULL
...@@ -217,7 +217,7 @@ config CRYPTO_SIMD ...@@ -217,7 +217,7 @@ config CRYPTO_SIMD
config CRYPTO_GLUE_HELPER_X86 config CRYPTO_GLUE_HELPER_X86
tristate tristate
depends on X86 depends on X86
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
config CRYPTO_ENGINE config CRYPTO_ENGINE
tristate tristate
...@@ -323,7 +323,7 @@ config CRYPTO_AEGIS128_AESNI_SSE2 ...@@ -323,7 +323,7 @@ config CRYPTO_AEGIS128_AESNI_SSE2
config CRYPTO_SEQIV config CRYPTO_SEQIV
tristate "Sequence Number IV Generator" tristate "Sequence Number IV Generator"
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_NULL select CRYPTO_NULL
select CRYPTO_RNG_DEFAULT select CRYPTO_RNG_DEFAULT
select CRYPTO_MANAGER select CRYPTO_MANAGER
...@@ -346,7 +346,7 @@ comment "Block modes" ...@@ -346,7 +346,7 @@ comment "Block modes"
config CRYPTO_CBC config CRYPTO_CBC
tristate "CBC support" tristate "CBC support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
CBC: Cipher Block Chaining mode CBC: Cipher Block Chaining mode
...@@ -354,7 +354,7 @@ config CRYPTO_CBC ...@@ -354,7 +354,7 @@ config CRYPTO_CBC
config CRYPTO_CFB config CRYPTO_CFB
tristate "CFB support" tristate "CFB support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
CFB: Cipher FeedBack mode CFB: Cipher FeedBack mode
...@@ -362,7 +362,7 @@ config CRYPTO_CFB ...@@ -362,7 +362,7 @@ config CRYPTO_CFB
config CRYPTO_CTR config CRYPTO_CTR
tristate "CTR support" tristate "CTR support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_SEQIV select CRYPTO_SEQIV
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
...@@ -371,7 +371,7 @@ config CRYPTO_CTR ...@@ -371,7 +371,7 @@ config CRYPTO_CTR
config CRYPTO_CTS config CRYPTO_CTS
tristate "CTS support" tristate "CTS support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
CTS: Cipher Text Stealing CTS: Cipher Text Stealing
...@@ -386,7 +386,7 @@ config CRYPTO_CTS ...@@ -386,7 +386,7 @@ config CRYPTO_CTS
config CRYPTO_ECB config CRYPTO_ECB
tristate "ECB support" tristate "ECB support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
ECB: Electronic CodeBook mode ECB: Electronic CodeBook mode
...@@ -395,7 +395,7 @@ config CRYPTO_ECB ...@@ -395,7 +395,7 @@ config CRYPTO_ECB
config CRYPTO_LRW config CRYPTO_LRW
tristate "LRW support" tristate "LRW support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
select CRYPTO_GF128MUL select CRYPTO_GF128MUL
help help
...@@ -407,7 +407,7 @@ config CRYPTO_LRW ...@@ -407,7 +407,7 @@ config CRYPTO_LRW
config CRYPTO_OFB config CRYPTO_OFB
tristate "OFB support" tristate "OFB support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
OFB: the Output Feedback mode makes a block cipher into a synchronous OFB: the Output Feedback mode makes a block cipher into a synchronous
...@@ -419,7 +419,7 @@ config CRYPTO_OFB ...@@ -419,7 +419,7 @@ config CRYPTO_OFB
config CRYPTO_PCBC config CRYPTO_PCBC
tristate "PCBC support" tristate "PCBC support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
PCBC: Propagating Cipher Block Chaining mode PCBC: Propagating Cipher Block Chaining mode
...@@ -427,7 +427,7 @@ config CRYPTO_PCBC ...@@ -427,7 +427,7 @@ config CRYPTO_PCBC
config CRYPTO_XTS config CRYPTO_XTS
tristate "XTS support" tristate "XTS support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
select CRYPTO_ECB select CRYPTO_ECB
help help
...@@ -437,7 +437,7 @@ config CRYPTO_XTS ...@@ -437,7 +437,7 @@ config CRYPTO_XTS
config CRYPTO_KEYWRAP config CRYPTO_KEYWRAP
tristate "Key wrapping support" tristate "Key wrapping support"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
Support for key wrapping (NIST SP800-38F / RFC3394) without Support for key wrapping (NIST SP800-38F / RFC3394) without
...@@ -1085,7 +1085,7 @@ config CRYPTO_AES_NI_INTEL ...@@ -1085,7 +1085,7 @@ config CRYPTO_AES_NI_INTEL
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_GLUE_HELPER_X86 if 64BIT select CRYPTO_GLUE_HELPER_X86 if 64BIT
select CRYPTO_SIMD select CRYPTO_SIMD
help help
...@@ -1115,7 +1115,7 @@ config CRYPTO_AES_NI_INTEL ...@@ -1115,7 +1115,7 @@ config CRYPTO_AES_NI_INTEL
config CRYPTO_AES_SPARC64 config CRYPTO_AES_SPARC64
tristate "AES cipher algorithms (SPARC64)" tristate "AES cipher algorithms (SPARC64)"
depends on SPARC64 depends on SPARC64
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Use SPARC64 crypto opcodes for AES algorithm. Use SPARC64 crypto opcodes for AES algorithm.
...@@ -1142,7 +1142,7 @@ config CRYPTO_AES_SPARC64 ...@@ -1142,7 +1142,7 @@ config CRYPTO_AES_SPARC64
config CRYPTO_AES_PPC_SPE config CRYPTO_AES_PPC_SPE
tristate "AES cipher algorithms (PPC SPE)" tristate "AES cipher algorithms (PPC SPE)"
depends on PPC && SPE depends on PPC && SPE
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
AES cipher algorithms (FIPS-197). Additionally the acceleration AES cipher algorithms (FIPS-197). Additionally the acceleration
for popular block cipher modes ECB, CBC, CTR and XTS is supported. for popular block cipher modes ECB, CBC, CTR and XTS is supported.
...@@ -1172,7 +1172,7 @@ config CRYPTO_LIB_ARC4 ...@@ -1172,7 +1172,7 @@ config CRYPTO_LIB_ARC4
config CRYPTO_ARC4 config CRYPTO_ARC4
tristate "ARC4 cipher algorithm" tristate "ARC4 cipher algorithm"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_ARC4 select CRYPTO_LIB_ARC4
help help
ARC4 cipher algorithm. ARC4 cipher algorithm.
...@@ -1208,7 +1208,7 @@ config CRYPTO_BLOWFISH_COMMON ...@@ -1208,7 +1208,7 @@ config CRYPTO_BLOWFISH_COMMON
config CRYPTO_BLOWFISH_X86_64 config CRYPTO_BLOWFISH_X86_64
tristate "Blowfish cipher algorithm (x86_64)" tristate "Blowfish cipher algorithm (x86_64)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_BLOWFISH_COMMON select CRYPTO_BLOWFISH_COMMON
help help
Blowfish cipher algorithm (x86_64), by Bruce Schneier. Blowfish cipher algorithm (x86_64), by Bruce Schneier.
...@@ -1239,7 +1239,7 @@ config CRYPTO_CAMELLIA_X86_64 ...@@ -1239,7 +1239,7 @@ config CRYPTO_CAMELLIA_X86_64
tristate "Camellia cipher algorithm (x86_64)" tristate "Camellia cipher algorithm (x86_64)"
depends on X86 && 64BIT depends on X86 && 64BIT
depends on CRYPTO depends on CRYPTO
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
help help
Camellia cipher algorithm module (x86_64). Camellia cipher algorithm module (x86_64).
...@@ -1256,7 +1256,7 @@ config CRYPTO_CAMELLIA_AESNI_AVX_X86_64 ...@@ -1256,7 +1256,7 @@ config CRYPTO_CAMELLIA_AESNI_AVX_X86_64
tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
depends on X86 && 64BIT depends on X86 && 64BIT
depends on CRYPTO depends on CRYPTO
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CAMELLIA_X86_64 select CRYPTO_CAMELLIA_X86_64
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -1293,7 +1293,7 @@ config CRYPTO_CAMELLIA_SPARC64 ...@@ -1293,7 +1293,7 @@ config CRYPTO_CAMELLIA_SPARC64
depends on SPARC64 depends on SPARC64
depends on CRYPTO depends on CRYPTO
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Camellia cipher algorithm module (SPARC64). Camellia cipher algorithm module (SPARC64).
...@@ -1322,7 +1322,7 @@ config CRYPTO_CAST5 ...@@ -1322,7 +1322,7 @@ config CRYPTO_CAST5
config CRYPTO_CAST5_AVX_X86_64 config CRYPTO_CAST5_AVX_X86_64
tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CAST5 select CRYPTO_CAST5
select CRYPTO_CAST_COMMON select CRYPTO_CAST_COMMON
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -1344,7 +1344,7 @@ config CRYPTO_CAST6 ...@@ -1344,7 +1344,7 @@ config CRYPTO_CAST6
config CRYPTO_CAST6_AVX_X86_64 config CRYPTO_CAST6_AVX_X86_64
tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CAST6 select CRYPTO_CAST6
select CRYPTO_CAST_COMMON select CRYPTO_CAST_COMMON
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
...@@ -1372,7 +1372,7 @@ config CRYPTO_DES_SPARC64 ...@@ -1372,7 +1372,7 @@ config CRYPTO_DES_SPARC64
depends on SPARC64 depends on SPARC64
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
optimized using SPARC64 crypto opcodes. optimized using SPARC64 crypto opcodes.
...@@ -1380,7 +1380,7 @@ config CRYPTO_DES_SPARC64 ...@@ -1380,7 +1380,7 @@ config CRYPTO_DES_SPARC64
config CRYPTO_DES3_EDE_X86_64 config CRYPTO_DES3_EDE_X86_64
tristate "Triple DES EDE cipher algorithm (x86-64)" tristate "Triple DES EDE cipher algorithm (x86-64)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
help help
Triple DES EDE (FIPS 46-3) algorithm. Triple DES EDE (FIPS 46-3) algorithm.
...@@ -1393,7 +1393,7 @@ config CRYPTO_DES3_EDE_X86_64 ...@@ -1393,7 +1393,7 @@ config CRYPTO_DES3_EDE_X86_64
config CRYPTO_FCRYPT config CRYPTO_FCRYPT
tristate "FCrypt cipher algorithm" tristate "FCrypt cipher algorithm"
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
FCrypt algorithm used by RxRPC. FCrypt algorithm used by RxRPC.
...@@ -1412,7 +1412,7 @@ config CRYPTO_KHAZAD ...@@ -1412,7 +1412,7 @@ config CRYPTO_KHAZAD
config CRYPTO_SALSA20 config CRYPTO_SALSA20
tristate "Salsa20 stream cipher algorithm" tristate "Salsa20 stream cipher algorithm"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Salsa20 stream cipher algorithm. Salsa20 stream cipher algorithm.
...@@ -1424,7 +1424,7 @@ config CRYPTO_SALSA20 ...@@ -1424,7 +1424,7 @@ config CRYPTO_SALSA20
config CRYPTO_CHACHA20 config CRYPTO_CHACHA20
tristate "ChaCha stream cipher algorithms" tristate "ChaCha stream cipher algorithms"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
The ChaCha20, XChaCha20, and XChaCha12 stream cipher algorithms. The ChaCha20, XChaCha20, and XChaCha12 stream cipher algorithms.
...@@ -1446,7 +1446,7 @@ config CRYPTO_CHACHA20 ...@@ -1446,7 +1446,7 @@ config CRYPTO_CHACHA20
config CRYPTO_CHACHA20_X86_64 config CRYPTO_CHACHA20_X86_64
tristate "ChaCha stream cipher algorithms (x86_64/SSSE3/AVX2/AVX-512VL)" tristate "ChaCha stream cipher algorithms (x86_64/SSSE3/AVX2/AVX-512VL)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CHACHA20 select CRYPTO_CHACHA20
help help
SSSE3, AVX2, and AVX-512VL optimized implementations of the ChaCha20, SSSE3, AVX2, and AVX-512VL optimized implementations of the ChaCha20,
...@@ -1482,7 +1482,7 @@ config CRYPTO_SERPENT ...@@ -1482,7 +1482,7 @@ config CRYPTO_SERPENT
config CRYPTO_SERPENT_SSE2_X86_64 config CRYPTO_SERPENT_SSE2_X86_64
tristate "Serpent cipher algorithm (x86_64/SSE2)" tristate "Serpent cipher algorithm (x86_64/SSE2)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SERPENT select CRYPTO_SERPENT
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -1501,7 +1501,7 @@ config CRYPTO_SERPENT_SSE2_X86_64 ...@@ -1501,7 +1501,7 @@ config CRYPTO_SERPENT_SSE2_X86_64
config CRYPTO_SERPENT_SSE2_586 config CRYPTO_SERPENT_SSE2_586
tristate "Serpent cipher algorithm (i586/SSE2)" tristate "Serpent cipher algorithm (i586/SSE2)"
depends on X86 && !64BIT depends on X86 && !64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SERPENT select CRYPTO_SERPENT
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -1520,7 +1520,7 @@ config CRYPTO_SERPENT_SSE2_586 ...@@ -1520,7 +1520,7 @@ config CRYPTO_SERPENT_SSE2_586
config CRYPTO_SERPENT_AVX_X86_64 config CRYPTO_SERPENT_AVX_X86_64
tristate "Serpent cipher algorithm (x86_64/AVX)" tristate "Serpent cipher algorithm (x86_64/AVX)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SERPENT select CRYPTO_SERPENT
select CRYPTO_SIMD select CRYPTO_SIMD
...@@ -1651,7 +1651,7 @@ config CRYPTO_TWOFISH_X86_64 ...@@ -1651,7 +1651,7 @@ config CRYPTO_TWOFISH_X86_64
config CRYPTO_TWOFISH_X86_64_3WAY config CRYPTO_TWOFISH_X86_64_3WAY
tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_TWOFISH_COMMON select CRYPTO_TWOFISH_COMMON
select CRYPTO_TWOFISH_X86_64 select CRYPTO_TWOFISH_X86_64
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
...@@ -1672,7 +1672,7 @@ config CRYPTO_TWOFISH_X86_64_3WAY ...@@ -1672,7 +1672,7 @@ config CRYPTO_TWOFISH_X86_64_3WAY
config CRYPTO_TWOFISH_AVX_X86_64 config CRYPTO_TWOFISH_AVX_X86_64
tristate "Twofish cipher algorithm (x86_64/AVX)" tristate "Twofish cipher algorithm (x86_64/AVX)"
depends on X86 && 64BIT depends on X86 && 64BIT
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_GLUE_HELPER_X86 select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SIMD select CRYPTO_SIMD
select CRYPTO_TWOFISH_COMMON select CRYPTO_TWOFISH_COMMON
...@@ -1823,7 +1823,7 @@ config CRYPTO_USER_API_HASH ...@@ -1823,7 +1823,7 @@ config CRYPTO_USER_API_HASH
config CRYPTO_USER_API_SKCIPHER config CRYPTO_USER_API_SKCIPHER
tristate "User-space interface for symmetric key cipher algorithms" tristate "User-space interface for symmetric key cipher algorithms"
depends on NET depends on NET
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_USER_API select CRYPTO_USER_API
help help
This option enables the user-spaces interface for symmetric This option enables the user-spaces interface for symmetric
...@@ -1842,7 +1842,7 @@ config CRYPTO_USER_API_AEAD ...@@ -1842,7 +1842,7 @@ config CRYPTO_USER_API_AEAD
tristate "User-space interface for AEAD cipher algorithms" tristate "User-space interface for AEAD cipher algorithms"
depends on NET depends on NET
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_NULL select CRYPTO_NULL
select CRYPTO_USER_API select CRYPTO_USER_API
help help
......
...@@ -15,9 +15,9 @@ obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o ...@@ -15,9 +15,9 @@ obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
obj-$(CONFIG_CRYPTO_AEAD2) += aead.o obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
crypto_blkcipher-y := ablkcipher.o crypto_skcipher-y := ablkcipher.o
crypto_blkcipher-y += skcipher.o crypto_skcipher-y += skcipher.o
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o obj-$(CONFIG_CRYPTO_SKCIPHER2) += crypto_skcipher.o
obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o
......
...@@ -28,7 +28,7 @@ config CRYPTO_DEV_PADLOCK ...@@ -28,7 +28,7 @@ config CRYPTO_DEV_PADLOCK
config CRYPTO_DEV_PADLOCK_AES config CRYPTO_DEV_PADLOCK_AES
tristate "PadLock driver for AES algorithm" tristate "PadLock driver for AES algorithm"
depends on CRYPTO_DEV_PADLOCK depends on CRYPTO_DEV_PADLOCK
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
help help
Use VIA PadLock for AES algorithm. Use VIA PadLock for AES algorithm.
...@@ -56,7 +56,7 @@ config CRYPTO_DEV_GEODE ...@@ -56,7 +56,7 @@ config CRYPTO_DEV_GEODE
tristate "Support for the Geode LX AES engine" tristate "Support for the Geode LX AES engine"
depends on X86_32 && PCI depends on X86_32 && PCI
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Say 'Y' here to use the AMD Geode LX processor on-board AES Say 'Y' here to use the AMD Geode LX processor on-board AES
engine for the CryptoAPI AES algorithm. engine for the CryptoAPI AES algorithm.
...@@ -109,7 +109,7 @@ config CRYPTO_PAES_S390 ...@@ -109,7 +109,7 @@ config CRYPTO_PAES_S390
depends on ZCRYPT depends on ZCRYPT
depends on PKEY depends on PKEY
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
This is the s390 hardware accelerated implementation of the This is the s390 hardware accelerated implementation of the
AES cipher algorithms for use with protected key. AES cipher algorithms for use with protected key.
...@@ -171,7 +171,7 @@ config CRYPTO_DES_S390 ...@@ -171,7 +171,7 @@ config CRYPTO_DES_S390
tristate "DES and Triple DES cipher algorithms" tristate "DES and Triple DES cipher algorithms"
depends on S390 depends on S390
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
help help
This is the s390 hardware accelerated implementation of the This is the s390 hardware accelerated implementation of the
...@@ -184,7 +184,7 @@ config CRYPTO_AES_S390 ...@@ -184,7 +184,7 @@ config CRYPTO_AES_S390
tristate "AES cipher algorithms" tristate "AES cipher algorithms"
depends on S390 depends on S390
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
This is the s390 hardware accelerated implementation of the This is the s390 hardware accelerated implementation of the
AES cipher algorithms (FIPS-197). AES cipher algorithms (FIPS-197).
...@@ -238,7 +238,7 @@ config CRYPTO_DEV_MARVELL_CESA ...@@ -238,7 +238,7 @@ config CRYPTO_DEV_MARVELL_CESA
depends on PLAT_ORION || ARCH_MVEBU depends on PLAT_ORION || ARCH_MVEBU
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_HASH select CRYPTO_HASH
select SRAM select SRAM
help help
...@@ -250,7 +250,7 @@ config CRYPTO_DEV_MARVELL_CESA ...@@ -250,7 +250,7 @@ config CRYPTO_DEV_MARVELL_CESA
config CRYPTO_DEV_NIAGARA2 config CRYPTO_DEV_NIAGARA2
tristate "Niagara2 Stream Processing Unit driver" tristate "Niagara2 Stream Processing Unit driver"
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_MD5 select CRYPTO_MD5
select CRYPTO_SHA1 select CRYPTO_SHA1
...@@ -267,7 +267,7 @@ config CRYPTO_DEV_NIAGARA2 ...@@ -267,7 +267,7 @@ config CRYPTO_DEV_NIAGARA2
config CRYPTO_DEV_HIFN_795X config CRYPTO_DEV_HIFN_795X
tristate "Driver HIFN 795x crypto accelerator chips" tristate "Driver HIFN 795x crypto accelerator chips"
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
depends on PCI depends on PCI
depends on !ARCH_DMA_ADDR_T_64BIT depends on !ARCH_DMA_ADDR_T_64BIT
...@@ -287,7 +287,7 @@ config CRYPTO_DEV_TALITOS ...@@ -287,7 +287,7 @@ config CRYPTO_DEV_TALITOS
tristate "Talitos Freescale Security Engine (SEC)" tristate "Talitos Freescale Security Engine (SEC)"
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_HASH select CRYPTO_HASH
select HW_RANDOM select HW_RANDOM
depends on FSL_SOC depends on FSL_SOC
...@@ -325,7 +325,7 @@ config CRYPTO_DEV_IXP4XX ...@@ -325,7 +325,7 @@ config CRYPTO_DEV_IXP4XX
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Driver for the IXP4xx NPE crypto engine. Driver for the IXP4xx NPE crypto engine.
...@@ -338,7 +338,7 @@ config CRYPTO_DEV_PPC4XX ...@@ -338,7 +338,7 @@ config CRYPTO_DEV_PPC4XX
select CRYPTO_CCM select CRYPTO_CCM
select CRYPTO_CTR select CRYPTO_CTR
select CRYPTO_GCM select CRYPTO_GCM
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
This option allows you to have support for AMCC crypto acceleration. This option allows you to have support for AMCC crypto acceleration.
...@@ -375,7 +375,7 @@ config CRYPTO_DEV_OMAP_AES ...@@ -375,7 +375,7 @@ config CRYPTO_DEV_OMAP_AES
tristate "Support for OMAP AES hw engine" tristate "Support for OMAP AES hw engine"
depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS depends on ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP2PLUS
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ENGINE select CRYPTO_ENGINE
select CRYPTO_CBC select CRYPTO_CBC
select CRYPTO_ECB select CRYPTO_ECB
...@@ -389,7 +389,7 @@ config CRYPTO_DEV_OMAP_DES ...@@ -389,7 +389,7 @@ config CRYPTO_DEV_OMAP_DES
tristate "Support for OMAP DES/3DES hw engine" tristate "Support for OMAP DES/3DES hw engine"
depends on ARCH_OMAP2PLUS depends on ARCH_OMAP2PLUS
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ENGINE select CRYPTO_ENGINE
help help
OMAP processors have DES/3DES module accelerator. Select this if you OMAP processors have DES/3DES module accelerator. Select this if you
...@@ -405,7 +405,7 @@ config CRYPTO_DEV_PICOXCELL ...@@ -405,7 +405,7 @@ config CRYPTO_DEV_PICOXCELL
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_CBC select CRYPTO_CBC
select CRYPTO_ECB select CRYPTO_ECB
...@@ -420,7 +420,7 @@ config CRYPTO_DEV_PICOXCELL ...@@ -420,7 +420,7 @@ config CRYPTO_DEV_PICOXCELL
config CRYPTO_DEV_SAHARA config CRYPTO_DEV_SAHARA
tristate "Support for SAHARA crypto accelerator" tristate "Support for SAHARA crypto accelerator"
depends on ARCH_MXC && OF depends on ARCH_MXC && OF
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_ECB select CRYPTO_ECB
help help
...@@ -447,7 +447,7 @@ config CRYPTO_DEV_S5P ...@@ -447,7 +447,7 @@ config CRYPTO_DEV_S5P
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
This option allows you to have support for S5P crypto acceleration. This option allows you to have support for S5P crypto acceleration.
Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES Select this to offload Samsung S5PV210 or S5PC110, Exynos from AES
...@@ -507,7 +507,7 @@ config CRYPTO_DEV_ATMEL_AES ...@@ -507,7 +507,7 @@ config CRYPTO_DEV_ATMEL_AES
depends on ARCH_AT91 || COMPILE_TEST depends on ARCH_AT91 || COMPILE_TEST
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Some Atmel processors have AES hw accelerator. Some Atmel processors have AES hw accelerator.
Select this if you want to use the Atmel module for Select this if you want to use the Atmel module for
...@@ -520,7 +520,7 @@ config CRYPTO_DEV_ATMEL_TDES ...@@ -520,7 +520,7 @@ config CRYPTO_DEV_ATMEL_TDES
tristate "Support for Atmel DES/TDES hw accelerator" tristate "Support for Atmel DES/TDES hw accelerator"
depends on ARCH_AT91 || COMPILE_TEST depends on ARCH_AT91 || COMPILE_TEST
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Some Atmel processors have DES/TDES hw accelerator. Some Atmel processors have DES/TDES hw accelerator.
Select this if you want to use the Atmel module for Select this if you want to use the Atmel module for
...@@ -592,7 +592,7 @@ config CRYPTO_DEV_MXS_DCP ...@@ -592,7 +592,7 @@ config CRYPTO_DEV_MXS_DCP
select CRYPTO_CBC select CRYPTO_CBC
select CRYPTO_ECB select CRYPTO_ECB
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_HASH select CRYPTO_HASH
help help
The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
...@@ -622,7 +622,7 @@ config CRYPTO_DEV_QCE ...@@ -622,7 +622,7 @@ config CRYPTO_DEV_QCE
select CRYPTO_CBC select CRYPTO_CBC
select CRYPTO_XTS select CRYPTO_XTS
select CRYPTO_CTR select CRYPTO_CTR
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
This driver supports Qualcomm crypto engine accelerator This driver supports Qualcomm crypto engine accelerator
hardware. To compile this driver as a module, choose M here. The hardware. To compile this driver as a module, choose M here. The
...@@ -668,7 +668,7 @@ config CRYPTO_DEV_ROCKCHIP ...@@ -668,7 +668,7 @@ config CRYPTO_DEV_ROCKCHIP
select CRYPTO_SHA1 select CRYPTO_SHA1
select CRYPTO_SHA256 select CRYPTO_SHA256
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
This driver interfaces with the hardware crypto accelerator. This driver interfaces with the hardware crypto accelerator.
...@@ -679,7 +679,7 @@ config CRYPTO_DEV_MEDIATEK ...@@ -679,7 +679,7 @@ config CRYPTO_DEV_MEDIATEK
depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST depends on (ARM && ARCH_MEDIATEK) || COMPILE_TEST
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CTR select CRYPTO_CTR
select CRYPTO_SHA1 select CRYPTO_SHA1
select CRYPTO_SHA256 select CRYPTO_SHA256
...@@ -717,7 +717,7 @@ config CRYPTO_DEV_SAFEXCEL ...@@ -717,7 +717,7 @@ config CRYPTO_DEV_SAFEXCEL
depends on OF || PCI || COMPILE_TEST depends on OF || PCI || COMPILE_TEST
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_HMAC select CRYPTO_HMAC
...@@ -741,7 +741,7 @@ config CRYPTO_DEV_ARTPEC6 ...@@ -741,7 +741,7 @@ config CRYPTO_DEV_ARTPEC6
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_CTR select CRYPTO_CTR
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_SHA1 select CRYPTO_SHA1
...@@ -758,7 +758,7 @@ config CRYPTO_DEV_CCREE ...@@ -758,7 +758,7 @@ config CRYPTO_DEV_CCREE
depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA
default n default n
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
......
...@@ -14,7 +14,7 @@ config CRYPTO_DEV_SUN4I_SS ...@@ -14,7 +14,7 @@ config CRYPTO_DEV_SUN4I_SS
select CRYPTO_SHA1 select CRYPTO_SHA1
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
help help
Some Allwinner SoC have a crypto accelerator named Some Allwinner SoC have a crypto accelerator named
Security System. Select this if you want to use it. Security System. Select this if you want to use it.
...@@ -34,7 +34,7 @@ config CRYPTO_DEV_SUN4I_SS_PRNG ...@@ -34,7 +34,7 @@ config CRYPTO_DEV_SUN4I_SS_PRNG
config CRYPTO_DEV_SUN8I_CE config CRYPTO_DEV_SUN8I_CE
tristate "Support for Allwinner Crypto Engine cryptographic offloader" tristate "Support for Allwinner Crypto Engine cryptographic offloader"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ENGINE select CRYPTO_ENGINE
select CRYPTO_ECB select CRYPTO_ECB
select CRYPTO_CBC select CRYPTO_CBC
...@@ -61,7 +61,7 @@ config CRYPTO_DEV_SUN8I_CE_DEBUG ...@@ -61,7 +61,7 @@ config CRYPTO_DEV_SUN8I_CE_DEBUG
config CRYPTO_DEV_SUN8I_SS config CRYPTO_DEV_SUN8I_SS
tristate "Support for Allwinner Security System cryptographic offloader" tristate "Support for Allwinner Security System cryptographic offloader"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ENGINE select CRYPTO_ENGINE
select CRYPTO_ECB select CRYPTO_ECB
select CRYPTO_CBC select CRYPTO_CBC
......
config CRYPTO_DEV_AMLOGIC_GXL config CRYPTO_DEV_AMLOGIC_GXL
tristate "Support for amlogic cryptographic offloader" tristate "Support for amlogic cryptographic offloader"
default y if ARCH_MESON default y if ARCH_MESON
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ENGINE select CRYPTO_ENGINE
select CRYPTO_ECB select CRYPTO_ECB
select CRYPTO_CBC select CRYPTO_CBC
......
...@@ -97,7 +97,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API ...@@ -97,7 +97,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API
select CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC select CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
help help
Selecting this will offload crypto for users of the Selecting this will offload crypto for users of the
...@@ -110,7 +110,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI ...@@ -110,7 +110,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI
default y default y
select CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC select CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_DES select CRYPTO_DES
help help
Selecting this will use CAAM Queue Interface (QI) for sending Selecting this will use CAAM Queue Interface (QI) for sending
...@@ -158,7 +158,7 @@ config CRYPTO_DEV_FSL_DPAA2_CAAM ...@@ -158,7 +158,7 @@ config CRYPTO_DEV_FSL_DPAA2_CAAM
select CRYPTO_DEV_FSL_CAAM_COMMON select CRYPTO_DEV_FSL_CAAM_COMMON
select CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC select CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC
select CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC select CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_HASH select CRYPTO_HASH
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
config CRYPTO_DEV_NITROX config CRYPTO_DEV_NITROX
tristate tristate
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select FW_LOADER select FW_LOADER
......
...@@ -27,7 +27,7 @@ config CRYPTO_DEV_CCP_CRYPTO ...@@ -27,7 +27,7 @@ config CRYPTO_DEV_CCP_CRYPTO
depends on CRYPTO_DEV_CCP_DD depends on CRYPTO_DEV_CCP_DD
depends on CRYPTO_DEV_SP_CCP depends on CRYPTO_DEV_SP_CCP
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_RSA select CRYPTO_RSA
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
config CRYPTO_DEV_HISI_SEC config CRYPTO_DEV_HISI_SEC
tristate "Support for Hisilicon SEC crypto block cipher accelerator" tristate "Support for Hisilicon SEC crypto block cipher accelerator"
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
select SG_SPLIT select SG_SPLIT
......
...@@ -3,7 +3,7 @@ config CRYPTO_DEV_QAT ...@@ -3,7 +3,7 @@ config CRYPTO_DEV_QAT
tristate tristate
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_AUTHENC select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_AKCIPHER select CRYPTO_AKCIPHER
select CRYPTO_DH select CRYPTO_DH
select CRYPTO_HMAC select CRYPTO_HMAC
......
...@@ -8,7 +8,7 @@ config CRYPTO_DEV_UX500_CRYP ...@@ -8,7 +8,7 @@ config CRYPTO_DEV_UX500_CRYP
tristate "UX500 crypto driver for CRYP block" tristate "UX500 crypto driver for CRYP block"
depends on CRYPTO_DEV_UX500 depends on CRYPTO_DEV_UX500
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_DES select CRYPTO_LIB_DES
help help
This selects the crypto driver for the UX500_CRYP hardware. It supports This selects the crypto driver for the UX500_CRYP hardware. It supports
......
...@@ -3,7 +3,7 @@ config CRYPTO_DEV_VIRTIO ...@@ -3,7 +3,7 @@ config CRYPTO_DEV_VIRTIO
tristate "VirtIO crypto driver" tristate "VirtIO crypto driver"
depends on VIRTIO depends on VIRTIO
select CRYPTO_AEAD select CRYPTO_AEAD
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_ENGINE select CRYPTO_ENGINE
default m default m
help help
......
...@@ -17,7 +17,7 @@ config AIRO ...@@ -17,7 +17,7 @@ config AIRO
depends on CFG80211 && ISA_DMA_API && (PCI || BROKEN) depends on CFG80211 && ISA_DMA_API && (PCI || BROKEN)
select WIRELESS_EXT select WIRELESS_EXT
select CRYPTO select CRYPTO
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select WEXT_SPY select WEXT_SPY
select WEXT_PRIV select WEXT_PRIV
---help--- ---help---
......
...@@ -9,7 +9,7 @@ menuconfig BT ...@@ -9,7 +9,7 @@ menuconfig BT
depends on RFKILL || !RFKILL depends on RFKILL || !RFKILL
select CRC16 select CRC16
select CRYPTO select CRYPTO
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_LIB_AES select CRYPTO_LIB_AES
imply CRYPTO_AES imply CRYPTO_AES
select CRYPTO_CMAC select CRYPTO_CMAC
......
...@@ -49,7 +49,7 @@ config RXKAD ...@@ -49,7 +49,7 @@ config RXKAD
depends on AF_RXRPC depends on AF_RXRPC
select CRYPTO select CRYPTO
select CRYPTO_MANAGER select CRYPTO_MANAGER
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
select CRYPTO_PCBC select CRYPTO_PCBC
select CRYPTO_FCRYPT select CRYPTO_FCRYPT
help help
......
...@@ -16,7 +16,7 @@ config XFRM_ALGO ...@@ -16,7 +16,7 @@ config XFRM_ALGO
select XFRM select XFRM
select CRYPTO select CRYPTO
select CRYPTO_HASH select CRYPTO_HASH
select CRYPTO_BLKCIPHER select CRYPTO_SKCIPHER
if INET if INET
config XFRM_USER config XFRM_USER
......
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