1# Crypto configuration options 2 3# Copyright (c) 2017 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6# 7# CRYPTO options 8# 9menuconfig CRYPTO 10 bool "Crypto drivers" 11 12if CRYPTO 13 14config CRYPTO_INIT_PRIORITY 15 int "Crypto devices init priority" 16 default 90 17 help 18 Crypto devices initialization priority. 19 20module = CRYPTO 21module-str = CRYPTO 22source "subsys/logging/Kconfig.template.log_config" 23 24config CRYPTO_MBEDTLS_SHIM 25 bool "Mbed TLS shim driver [EXPERIMENTAL]" 26 select PSA_CRYPTO 27 select MBEDTLS_ENABLE_HEAP 28 imply PSA_WANT_ALG_SHA_224 29 imply PSA_WANT_ALG_SHA_256 30 imply PSA_WANT_ALG_SHA_384 31 imply PSA_WANT_ALG_SHA_512 32 imply PSA_WANT_KEY_TYPE_AES 33 imply PSA_WANT_ALG_ECB_NO_PADDING 34 imply PSA_WANT_ALG_CBC_NO_PADDING 35 imply PSA_WANT_ALG_CCM 36 imply PSA_WANT_ALG_GCM 37 select EXPERIMENTAL 38 help 39 Enable Mbed TLS shim layer compliant with crypto APIs. You will need 40 to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE. 41 42config CRYPTO_MBEDTLS_SHIM_DRV_NAME 43 string "Device name for mbedTLS Pseudo device" 44 default "CRYPTO_MTLS" 45 depends on CRYPTO_MBEDTLS_SHIM 46 help 47 Device name for mbedTLS Pseudo device. 48 49config CRYPTO_MBEDTLS_SHIM_MAX_SESSION 50 int "Maximum of sessions mbedTLS shim driver can handle" 51 default 2 52 depends on CRYPTO_MBEDTLS_SHIM 53 help 54 This can be used to tweak the amount of sessions the driver 55 can handle in parallel. 56 57# zephyr-keep-sorted-start 58source "drivers/crypto/Kconfig.ataes132a" 59source "drivers/crypto/Kconfig.cc23x0" 60source "drivers/crypto/Kconfig.esp32" 61source "drivers/crypto/Kconfig.intel" 62source "drivers/crypto/Kconfig.it51xxx" 63source "drivers/crypto/Kconfig.it8xxx2" 64source "drivers/crypto/Kconfig.mchp" 65source "drivers/crypto/Kconfig.mcux_dcp" 66source "drivers/crypto/Kconfig.npcx" 67source "drivers/crypto/Kconfig.nrf_ecb" 68source "drivers/crypto/Kconfig.nxp_s32_hse" 69source "drivers/crypto/Kconfig.rts5912" 70source "drivers/crypto/Kconfig.si32" 71source "drivers/crypto/Kconfig.smartbond" 72source "drivers/crypto/Kconfig.stm32" 73# zephyr-keep-sorted-stop 74 75endif # CRYPTO 76