2016-07-20 05:20:25 +08:00
|
|
|
# Kconfig - Crypto configuration options
|
|
|
|
#
|
2017-01-11 07:03:07 +08:00
|
|
|
# Copyright (c) 2017 Intel Corporation
|
2016-07-20 05:20:25 +08:00
|
|
|
#
|
2017-01-11 07:03:07 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-07-20 05:20:25 +08:00
|
|
|
#
|
|
|
|
|
2017-01-11 07:03:07 +08:00
|
|
|
|
2016-07-20 05:20:25 +08:00
|
|
|
#
|
|
|
|
# CRYPTO options
|
|
|
|
#
|
|
|
|
menuconfig CRYPTO
|
|
|
|
bool
|
2017-04-25 18:52:55 +08:00
|
|
|
prompt "Crypto Drivers [EXPERIMENTAL]"
|
2016-07-20 05:20:25 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
if CRYPTO
|
2017-04-25 18:52:55 +08:00
|
|
|
|
|
|
|
config CRYPTO_INIT_PRIORITY
|
|
|
|
int "Crypto devices init priority"
|
|
|
|
default 90
|
|
|
|
help
|
|
|
|
Crypto devices initialization priority.
|
|
|
|
|
2016-07-20 05:20:25 +08:00
|
|
|
config SYS_LOG_CRYPTO_LEVEL
|
2017-04-25 18:52:55 +08:00
|
|
|
int "Crypto drivers log level"
|
2016-07-20 05:20:25 +08:00
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Sets log level for crypto drivers
|
|
|
|
|
|
|
|
Levels are:
|
|
|
|
|
|
|
|
- 0 OFF, do not write
|
|
|
|
|
|
|
|
- 1 ERROR, only write SYS_LOG_ERR
|
|
|
|
|
2017-04-22 01:29:51 +08:00
|
|
|
- 2 WARNING, write SYS_LOG_WRN in addition to previous level
|
2016-07-20 05:20:25 +08:00
|
|
|
|
2017-04-22 01:29:51 +08:00
|
|
|
- 3 INFO, write SYS_LOG_INF in addition to previous levels
|
2016-07-20 05:20:25 +08:00
|
|
|
|
2017-04-22 01:29:51 +08:00
|
|
|
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
2016-07-20 05:20:25 +08:00
|
|
|
|
|
|
|
config CRYPTO_TINYCRYPT_SHIM
|
|
|
|
bool "Enable TinyCrypt shim driver [EXPERIMENTAL] "
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable TinyCrypt shim layer compliant with crypto APIs.
|
|
|
|
|
|
|
|
config CRYPTO_0_NAME
|
|
|
|
string "Device name for TinyCrypt Pseudo device"
|
|
|
|
default "CRYPTO_TC_0"
|
|
|
|
depends on CRYPTO_TINYCRYPT_SHIM
|
|
|
|
help
|
|
|
|
Device name for TinyCrypt Pseudo device.
|
|
|
|
|
2017-01-11 07:03:07 +08:00
|
|
|
source "drivers/crypto/Kconfig.ataes132a"
|
2017-04-25 18:52:55 +08:00
|
|
|
|
2016-07-20 05:20:25 +08:00
|
|
|
endif # CRYPTO
|