zephyr/drivers/crypto/Kconfig
Juan Manuel Cruz Alcaraz 485da78449 ataes132a: Adds a driver to support ATAES132A device
Adds a driver for Atmel Crypto Authorization solution
ATAES132A crypto device.

The driver supports the following functionality.

- AES CCM encryption, decryption and authentication
- AES ECB block operation.

The driver requires an I2C device to access crypto device registers.

Jira: ZEP-1387

Change-Id: I60aa8f3b069b703d4f83d866d28391625bb9ac13
Signed-off-by: Juan Manuel Cruz Alcaraz <juan.m.cruz.alcaraz@intel.com>
2017-02-15 02:07:14 +00:00

68 lines
1.3 KiB
Plaintext

# Kconfig - Crypto configuration options
#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
#
# CRYPTO options
#
menuconfig CRYPTO
bool
prompt "Crypto Drivers [EXPERIMENTAL]"
default n
if CRYPTO
config SYS_LOG_CRYPTO_LEVEL
int
prompt "Crypto drivers log level"
default 0
help
Sets log level for crypto drivers
Levels are:
- 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in adition to previous level
- 3 INFO, write SYS_LOG_INF in adition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in adition to previous levels
config CRYPTO_TINYCRYPT_SHIM
bool "Enable TinyCrypt shim driver [EXPERIMENTAL] "
default n
depends on CRYPTO
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.
menuconfig ATAES132A
bool "Atmel ATAES132A 32k AES Serial EEPROM support"
depends on I2C && CRYPTO
default n
help
Enable Atmel ATAES132A 32k AES Serial EEPROM support.
config CRYPTO_INIT_PRIORITY
int
depends on CRYPTO
prompt "Sensor init priority"
default 90
help
Crypto devices initialization priority.
source "drivers/crypto/Kconfig.ataes132a"
endif # CRYPTO