Skip to content

Commit

Permalink
crypto: stm32 - Use standard CONFIG name
Browse files Browse the repository at this point in the history
All hardware crypto devices have their CONFIG names using the following
convention:
CRYPTO_DEV_name_algo

This patch apply this conventions on STM32 CONFIG names.

Signed-off-by: Corentin Labbe <[email protected]>
Reviewed-by: Fabien Dessenne <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
montjoie authored and herbertx committed Dec 28, 2017
1 parent 14359bd commit 02d9e32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions drivers/crypto/stm32/Kconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
config CRC_DEV_STM32
config CRYPTO_DEV_STM32_CRC
tristate "Support for STM32 crc accelerators"
depends on ARCH_STM32
select CRYPTO_HASH
help
This enables support for the CRC32 hw accelerator which can be found
on STMicroelectronics STM32 SOC.

config HASH_DEV_STM32
config CRYPTO_DEV_STM32_HASH
tristate "Support for STM32 hash accelerators"
depends on ARCH_STM32
depends on HAS_DMA
Expand All @@ -19,7 +19,7 @@ config HASH_DEV_STM32
This enables support for the HASH hw accelerator which can be found
on STMicroelectronics STM32 SOC.

config CRYP_DEV_STM32
config CRYPTO_DEV_STM32_CRYP
tristate "Support for STM32 cryp accelerators"
depends on ARCH_STM32
select CRYPTO_HASH
Expand Down
6 changes: 3 additions & 3 deletions drivers/crypto/stm32/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
obj-$(CONFIG_CRC_DEV_STM32) += stm32_crc32.o
obj-$(CONFIG_HASH_DEV_STM32) += stm32-hash.o
obj-$(CONFIG_CRYP_DEV_STM32) += stm32-cryp.o
obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32_crc32.o
obj-$(CONFIG_CRYPTO_DEV_STM32_HASH) += stm32-hash.o
obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o

0 comments on commit 02d9e32

Please sign in to comment.