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>
This commit is contained in:
committed by
Herbert Xu
parent
c0a680c4cc
commit
b51dbe9091
7
drivers/crypto/stm32/Kconfig
Normal file
7
drivers/crypto/stm32/Kconfig
Normal file
@@ -0,0 +1,7 @@
|
||||
config CRYPTO_DEV_STM32
|
||||
tristate "Support for STM32 crypto accelerators"
|
||||
depends on ARCH_STM32
|
||||
select CRYPTO_HASH
|
||||
help
|
||||
This enables support for the CRC32 hw accelerator which can be found
|
||||
on STMicroelectronis STM32 SOC.
|
||||
Reference in New Issue
Block a user