--- zzzz-none-000/linux-4.4.271/crypto/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/crypto/Kconfig 2023-04-19 10:22:28.000000000 +0000 @@ -32,7 +32,7 @@ this is. config CRYPTO_ALGAPI - tristate + tristate "ALGAPI" select CRYPTO_ALGAPI2 help This option provides the API for cryptographic algorithms. @@ -41,7 +41,7 @@ tristate config CRYPTO_AEAD - tristate + tristate "AEAD" select CRYPTO_AEAD2 select CRYPTO_ALGAPI @@ -52,7 +52,7 @@ select CRYPTO_RNG2 config CRYPTO_BLKCIPHER - tristate + tristate "BLKCIPHER" select CRYPTO_BLKCIPHER2 select CRYPTO_ALGAPI @@ -63,7 +63,7 @@ select CRYPTO_WORKQUEUE config CRYPTO_HASH - tristate + tristate "HASH" select CRYPTO_HASH2 select CRYPTO_ALGAPI @@ -72,7 +72,7 @@ select CRYPTO_ALGAPI2 config CRYPTO_RNG - tristate + tristate "RNG" select CRYPTO_RNG2 select CRYPTO_ALGAPI @@ -119,11 +119,11 @@ config CRYPTO_MANAGER2 def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) - select CRYPTO_AEAD2 - select CRYPTO_HASH2 - select CRYPTO_BLKCIPHER2 - select CRYPTO_PCOMP2 - select CRYPTO_AKCIPHER2 + select CRYPTO_AEAD2 if !CRYPTO_MANAGER_DISABLE_TESTS + select CRYPTO_HASH2 if !CRYPTO_MANAGER_DISABLE_TESTS + select CRYPTO_BLKCIPHER2 if !CRYPTO_MANAGER_DISABLE_TESTS + select CRYPTO_PCOMP2 if !CRYPTO_MANAGER_DISABLE_TESTS + select CRYPTO_AKCIPHER2 if !CRYPTO_MANAGER_DISABLE_TESTS config CRYPTO_USER tristate "Userspace cryptographic algorithm configuration" @@ -218,6 +218,20 @@ help Quick & dirty crypto test module. +config CRYPTO_NO_ZERO_LEN_HASH + bool "Disable 0-data lenght hash test cases" + default y + depends on CRYPTO_TEST + help + Do not support 0-len hash test cases + +config CRYPTO_DISABLE_AES192_TEST + bool "Disable testcases with 192 key length" + default y + depends on CRYPTO_TEST + help + Disable testcases with 192 key length + config CRYPTO_ABLK_HELPER tristate select CRYPTO_CRYPTD @@ -1545,6 +1559,13 @@ help This is the LZ4 high compression mode algorithm. +config CRYPTO_XZ + tristate "XZ compression algorithm" + select CRYPTO_ALGAPI + select XZ_DEC + help + This is the XZ algorithm. Only decompression is supported for now. + comment "Random Number Generation" config CRYPTO_ANSI_CPRNG @@ -1647,3 +1668,6 @@ source certs/Kconfig endif # if CRYPTO + +source "crypto/ocf/Kconfig" +