summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorFabien DESSENNE <fabien.dessenne@st.com>2017-03-21 16:13:28 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-04-05 15:58:33 +0200
commitb51dbe90912a0ce0c78717d2a8374af80b18ed11 (patch)
tree8291565588ac7913bbac172ebfb9caf85f3171f4 /drivers/crypto/Kconfig
parentdt-bindings: Document STM32 CRC bindings (diff)
downloadlinux-b51dbe90912a0ce0c78717d2a8374af80b18ed11.tar.xz
linux-b51dbe90912a0ce0c78717d2a8374af80b18ed11.zip
crypto: stm32 - Support for STM32 CRC32 crypto module
This module registers a CRC32 ("Ethernet") and a CRC32C (Castagnoli) algorithm that make use of the STMicroelectronics STM32 crypto hardware. Theses algorithms are compatible with the little-endian generic ones. Both algorithms use ~0 as default seed (key). With CRC32C the output is xored with ~0. Using TCRYPT CRC32C speed test, this shows up to 900% speedup compared to the crc32c-generic algorithm. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r--drivers/crypto/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 1a60626937e4..3cd234052775 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -626,4 +626,6 @@ config CRYPTO_DEV_BCM_SPU
Secure Processing Unit (SPU). The SPU driver registers ablkcipher,
ahash, and aead algorithms with the kernel cryptographic API.
+source "drivers/crypto/stm32/Kconfig"
+
endif # CRYPTO_HW