|
| 1 | +# Kconfig - Crypto configuration options |
| 2 | +# |
| 3 | +# |
| 4 | +# Copyright (c) 2016 Intel Corporation |
| 5 | +# |
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +# you may not use this file except in compliance with the License. |
| 8 | +# You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, software |
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +# See the License for the specific language governing permissions and |
| 16 | +# limitations under the License. |
| 17 | +# |
| 18 | + |
| 19 | +# |
| 20 | +# CRYPTO options |
| 21 | +# |
| 22 | +menuconfig CRYPTO |
| 23 | + bool |
| 24 | + prompt "Crypto Drivers [EXPERIMENTAL]" |
| 25 | + default n |
| 26 | + |
| 27 | +if CRYPTO |
| 28 | +config SYS_LOG_CRYPTO_LEVEL |
| 29 | + int |
| 30 | + prompt "Crypto drivers log level" |
| 31 | + default 0 |
| 32 | + help |
| 33 | + Sets log level for crypto drivers |
| 34 | + |
| 35 | + Levels are: |
| 36 | + |
| 37 | + - 0 OFF, do not write |
| 38 | + |
| 39 | + - 1 ERROR, only write SYS_LOG_ERR |
| 40 | + |
| 41 | + - 2 WARNING, write SYS_LOG_WRN in adition to previous level |
| 42 | + |
| 43 | + - 3 INFO, write SYS_LOG_INF in adition to previous levels |
| 44 | + |
| 45 | + - 4 DEBUG, write SYS_LOG_DBG in adition to previous levels |
| 46 | + |
| 47 | +config CRYPTO_TINYCRYPT_SHIM |
| 48 | + bool "Enable TinyCrypt shim driver [EXPERIMENTAL] " |
| 49 | + default n |
| 50 | + depends on CRYPTO |
| 51 | + help |
| 52 | + Enable TinyCrypt shim layer compliant with crypto APIs. |
| 53 | + |
| 54 | +config CRYPTO_0_NAME |
| 55 | + string "Device name for TinyCrypt Pseudo device" |
| 56 | + default "CRYPTO_TC_0" |
| 57 | + depends on CRYPTO_TINYCRYPT_SHIM |
| 58 | + help |
| 59 | + Device name for TinyCrypt Pseudo device. |
| 60 | + |
| 61 | +endif # CRYPTO |
0 commit comments