Kconfig (3c09ec59cdea5b132212d97154d625fd34e436dd) Kconfig (88574332451380f4b51f6ca88ab9810e714bfb9b)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig CRYPTO_HW
4 bool "Hardware crypto devices"
5 default y
6 help
7 Say Y here to get to see options for hardware crypto devices and
8 processors. This option alone does not add any kernel code.

--- 634 unchanged lines hidden (view full) ---

643 select CRYPTO_SHA1
644 select CRYPTO_SHA256
645
646choice
647 prompt "Algorithms enabled for QCE acceleration"
648 default CRYPTO_DEV_QCE_ENABLE_ALL
649 depends on CRYPTO_DEV_QCE
650 help
1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig CRYPTO_HW
4 bool "Hardware crypto devices"
5 default y
6 help
7 Say Y here to get to see options for hardware crypto devices and
8 processors. This option alone does not add any kernel code.

--- 634 unchanged lines hidden (view full) ---

643 select CRYPTO_SHA1
644 select CRYPTO_SHA256
645
646choice
647 prompt "Algorithms enabled for QCE acceleration"
648 default CRYPTO_DEV_QCE_ENABLE_ALL
649 depends on CRYPTO_DEV_QCE
650 help
651 This option allows to choose whether to build support for all algorihtms
651 This option allows to choose whether to build support for all algorithms
652 (default), hashes-only, or skciphers-only.
653
654 The QCE engine does not appear to scale as well as the CPU to handle
655 multiple crypto requests. While the ipq40xx chips have 4-core CPUs, the
656 QCE handles only 2 requests in parallel.
657
658 Ipsec throughput seems to improve when disabling either family of
659 algorithms, sharing the load with the CPU. Enabling skciphers-only

--- 235 unchanged lines hidden (view full) ---

895 select CRYPTO_SHA512
896 select HW_RANDOM
897 select SG_SPLIT
898 help
899 K3 devices include a security accelerator engine that may be
900 used for crypto offload. Select this if you want to use hardware
901 acceleration for cryptographic algorithms on these devices.
902
652 (default), hashes-only, or skciphers-only.
653
654 The QCE engine does not appear to scale as well as the CPU to handle
655 multiple crypto requests. While the ipq40xx chips have 4-core CPUs, the
656 QCE handles only 2 requests in parallel.
657
658 Ipsec throughput seems to improve when disabling either family of
659 algorithms, sharing the load with the CPU. Enabling skciphers-only

--- 235 unchanged lines hidden (view full) ---

895 select CRYPTO_SHA512
896 select HW_RANDOM
897 select SG_SPLIT
898 help
899 K3 devices include a security accelerator engine that may be
900 used for crypto offload. Select this if you want to use hardware
901 acceleration for cryptographic algorithms on these devices.
902
903source "drivers/crypto/keembay/Kconfig"
904
903endif # CRYPTO_HW
905endif # CRYPTO_HW