zephyr/drivers/crypto/Kconfig
Markus Fuchs b0fcb0777c drivers: crypto: Add STM32 CRYP crypto driver
This patch adds crypto driver support for all STM32F4 devices providing
a CRYP peripheral.
This driver implements the AES ECB, CBC and CTR modes of operation.

It has been tested on a STM32F437 SoC running the Zephyr crypto driver
sample.

Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
2020-02-07 10:45:51 -06:00

77 lines
1.9 KiB
Plaintext

# Crypto configuration options
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# CRYPTO options
#
menuconfig CRYPTO
bool "Crypto Drivers [EXPERIMENTAL]"
if CRYPTO
config CRYPTO_INIT_PRIORITY
int "Crypto devices init priority"
default 90
help
Crypto devices initialization priority.
module = CRYPTO
module-str = CRYPTO
source "subsys/logging/Kconfig.template.log_config"
config CRYPTO_TINYCRYPT_SHIM
bool "Enable TinyCrypt shim driver [EXPERIMENTAL]"
select TINYCRYPT
select TINYCRYPT_AES
select TINYCRYPT_AES_CBC
select TINYCRYPT_AES_CTR
select TINYCRYPT_AES_CCM
select TINYCRYPT_AES_CMAC
help
Enable TinyCrypt shim layer compliant with crypto APIs.
config CRYPTO_TINYCRYPT_SHIM_MAX_SESSION
int "Maximum of sessions TinyCrypt shim driver can handle"
default 2
depends on CRYPTO_TINYCRYPT_SHIM
help
This can be used to tweak the amount of sessions the driver
can handle in parallel.
config CRYPTO_TINYCRYPT_SHIM_DRV_NAME
string "Device name for TinyCrypt Pseudo device"
default "CRYPTO_TC"
depends on CRYPTO_TINYCRYPT_SHIM
help
Device name for TinyCrypt Pseudo device.
config CRYPTO_MBEDTLS_SHIM
bool "Enable mbedTLS shim driver [EXPERIMENTAL]"
select MBEDTLS
select MBEDTLS_ENABLE_HEAP
help
Enable mbedTLS shim layer compliant with crypto APIs. You will need
to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE.
config CRYPTO_MBEDTLS_SHIM_DRV_NAME
string "Device name for mbedTLS Pseudo device"
default "CRYPTO_MTLS"
depends on CRYPTO_MBEDTLS_SHIM
help
Device name for mbedTLS Pseudo device.
config CRYPTO_MBEDTLS_SHIM_MAX_SESSION
int "Maximum of sessions mbedTLS shim driver can handle"
default 2
depends on CRYPTO_MBEDTLS_SHIM
help
This can be used to tweak the amount of sessions the driver
can handle in parallel.
source "drivers/crypto/Kconfig.ataes132a"
source "drivers/crypto/Kconfig.stm32"
endif # CRYPTO