2019-11-01 20:45:29 +08:00
|
|
|
# Crypto configuration options
|
|
|
|
|
2017-01-11 07:03:07 +08:00
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2016-07-20 05:20:25 +08:00
|
|
|
#
|
|
|
|
# CRYPTO options
|
|
|
|
#
|
|
|
|
menuconfig CRYPTO
|
2023-03-27 20:55:23 +08:00
|
|
|
bool "Crypto drivers"
|
2016-07-20 05:20:25 +08:00
|
|
|
|
|
|
|
if CRYPTO
|
2017-04-25 18:52:55 +08:00
|
|
|
|
|
|
|
config CRYPTO_INIT_PRIORITY
|
|
|
|
int "Crypto devices init priority"
|
|
|
|
default 90
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Crypto devices initialization priority.
|
2017-04-25 18:52:55 +08:00
|
|
|
|
2018-09-18 01:56:43 +08:00
|
|
|
module = CRYPTO
|
|
|
|
module-str = CRYPTO
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2016-07-20 05:20:25 +08:00
|
|
|
|
|
|
|
config CRYPTO_TINYCRYPT_SHIM
|
2024-10-10 17:13:34 +08:00
|
|
|
bool "TinyCrypt shim driver [DEPRECATED]"
|
2017-11-04 04:10:43 +08:00
|
|
|
select TINYCRYPT
|
|
|
|
select TINYCRYPT_AES
|
|
|
|
select TINYCRYPT_AES_CBC
|
|
|
|
select TINYCRYPT_AES_CTR
|
|
|
|
select TINYCRYPT_AES_CCM
|
|
|
|
select TINYCRYPT_AES_CMAC
|
2024-10-10 17:13:34 +08:00
|
|
|
select DEPRECATED
|
2016-07-20 05:20:25 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Enable TinyCrypt shim layer compliant with crypto APIs.
|
2016-07-20 05:20:25 +08:00
|
|
|
|
2017-04-25 20:54:47 +08:00
|
|
|
config CRYPTO_TINYCRYPT_SHIM_MAX_SESSION
|
|
|
|
int "Maximum of sessions TinyCrypt shim driver can handle"
|
|
|
|
default 2
|
2017-11-04 04:10:43 +08:00
|
|
|
depends on CRYPTO_TINYCRYPT_SHIM
|
2017-04-25 20:54:47 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This can be used to tweak the amount of sessions the driver
|
|
|
|
can handle in parallel.
|
2017-04-25 20:54:47 +08:00
|
|
|
|
2017-04-25 19:12:37 +08:00
|
|
|
config CRYPTO_TINYCRYPT_SHIM_DRV_NAME
|
2016-07-20 05:20:25 +08:00
|
|
|
string "Device name for TinyCrypt Pseudo device"
|
2017-04-25 19:12:37 +08:00
|
|
|
default "CRYPTO_TC"
|
2016-07-20 05:20:25 +08:00
|
|
|
depends on CRYPTO_TINYCRYPT_SHIM
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Device name for TinyCrypt Pseudo device.
|
2016-07-20 05:20:25 +08:00
|
|
|
|
2017-04-25 20:46:04 +08:00
|
|
|
config CRYPTO_MBEDTLS_SHIM
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "MbedTLS shim driver [EXPERIMENTAL]"
|
2017-04-25 20:46:04 +08:00
|
|
|
select MBEDTLS
|
|
|
|
select MBEDTLS_ENABLE_HEAP
|
2024-05-24 20:09:02 +08:00
|
|
|
select MBEDTLS_SHA512
|
2024-05-08 21:34:31 +08:00
|
|
|
select MBEDTLS_CIPHER_AES_ENABLED
|
2021-10-15 20:28:18 +08:00
|
|
|
select EXPERIMENTAL
|
2017-04-25 20:46:04 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Enable mbedTLS shim layer compliant with crypto APIs. You will need
|
|
|
|
to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE.
|
2017-04-25 20:46:04 +08:00
|
|
|
|
|
|
|
config CRYPTO_MBEDTLS_SHIM_DRV_NAME
|
|
|
|
string "Device name for mbedTLS Pseudo device"
|
|
|
|
default "CRYPTO_MTLS"
|
|
|
|
depends on CRYPTO_MBEDTLS_SHIM
|
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
Device name for mbedTLS Pseudo device.
|
2017-04-25 20:46:04 +08:00
|
|
|
|
|
|
|
config CRYPTO_MBEDTLS_SHIM_MAX_SESSION
|
|
|
|
int "Maximum of sessions mbedTLS shim driver can handle"
|
|
|
|
default 2
|
2017-11-04 04:49:59 +08:00
|
|
|
depends on CRYPTO_MBEDTLS_SHIM
|
2017-04-25 20:46:04 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This can be used to tweak the amount of sessions the driver
|
|
|
|
can handle in parallel.
|
2017-04-25 20:46:04 +08:00
|
|
|
|
2017-01-11 07:03:07 +08:00
|
|
|
source "drivers/crypto/Kconfig.ataes132a"
|
2020-01-14 01:05:14 +08:00
|
|
|
source "drivers/crypto/Kconfig.stm32"
|
2020-03-20 08:17:31 +08:00
|
|
|
source "drivers/crypto/Kconfig.nrf_ecb"
|
2022-05-12 03:17:49 +08:00
|
|
|
source "drivers/crypto/Kconfig.intel"
|
2022-12-14 13:07:24 +08:00
|
|
|
source "drivers/crypto/Kconfig.npcx"
|
2023-05-03 14:25:46 +08:00
|
|
|
source "drivers/crypto/Kconfig.xec"
|
2023-03-09 16:59:37 +08:00
|
|
|
source "drivers/crypto/Kconfig.it8xxx2"
|
2023-06-14 15:19:33 +08:00
|
|
|
source "drivers/crypto/Kconfig.mcux_dcp"
|
2024-09-16 07:31:46 +08:00
|
|
|
source "drivers/crypto/Kconfig.si32"
|
2023-06-13 21:57:44 +08:00
|
|
|
source "drivers/crypto/Kconfig.smartbond"
|
2017-04-25 18:52:55 +08:00
|
|
|
|
2016-07-20 05:20:25 +08:00
|
|
|
endif # CRYPTO
|