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 [EXPERIMENTAL]" 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_TINYCRYPT_SHIM 25 bool "Enable TinyCrypt shim driver [EXPERIMENTAL]" 26 select TINYCRYPT 27 select TINYCRYPT_AES 28 select TINYCRYPT_AES_CBC 29 select TINYCRYPT_AES_CTR 30 select TINYCRYPT_AES_CCM 31 select TINYCRYPT_AES_CMAC 32 help 33 Enable TinyCrypt shim layer compliant with crypto APIs. 34 35config CRYPTO_TINYCRYPT_SHIM_MAX_SESSION 36 int "Maximum of sessions TinyCrypt shim driver can handle" 37 default 2 38 depends on CRYPTO_TINYCRYPT_SHIM 39 help 40 This can be used to tweak the amount of sessions the driver 41 can handle in parallel. 42 43config CRYPTO_TINYCRYPT_SHIM_DRV_NAME 44 string "Device name for TinyCrypt Pseudo device" 45 default "CRYPTO_TC" 46 depends on CRYPTO_TINYCRYPT_SHIM 47 help 48 Device name for TinyCrypt Pseudo device. 49 50config CRYPTO_MBEDTLS_SHIM 51 bool "Enable mbedTLS shim driver [EXPERIMENTAL]" 52 select MBEDTLS 53 select MBEDTLS_ENABLE_HEAP 54 help 55 Enable mbedTLS shim layer compliant with crypto APIs. You will need 56 to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE. 57 58config CRYPTO_MBEDTLS_SHIM_DRV_NAME 59 string "Device name for mbedTLS Pseudo device" 60 default "CRYPTO_MTLS" 61 depends on CRYPTO_MBEDTLS_SHIM 62 help 63 Device name for mbedTLS Pseudo device. 64 65config CRYPTO_MBEDTLS_SHIM_MAX_SESSION 66 int "Maximum of sessions mbedTLS shim driver can handle" 67 default 2 68 depends on CRYPTO_MBEDTLS_SHIM 69 help 70 This can be used to tweak the amount of sessions the driver 71 can handle in parallel. 72 73source "drivers/crypto/Kconfig.ataes132a" 74source "drivers/crypto/Kconfig.stm32" 75source "drivers/crypto/Kconfig.nrf_ecb" 76 77endif # CRYPTO 78