mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
# Copyright (c) 2021 Inria
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
if TEST_KCONFIG
|
|
|
|
config MODULE_SAUL_NRF_VDDH
|
|
bool "Internal Voltage Sensor"
|
|
depends on HAS_PERIPH_ADC
|
|
select MODULE_PERIPH_ADC
|
|
|
|
config MODULE_PERIPH_CRYPTOCELL_310
|
|
bool
|
|
depends on HAS_PERIPH_CRYPTOCELL_310
|
|
select PACKAGE_DRIVER_CRYPTOCELL_310
|
|
|
|
# Asymmetric Crypto Peripheral
|
|
config MODULE_PERIPH_ECC_P192R1
|
|
bool
|
|
depends on HAS_PERIPH_ECC_P192R1
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_ECC_P192
|
|
|
|
config MODULE_PERIPH_ECC_P256R1
|
|
bool
|
|
depends on HAS_PERIPH_ECC_P256R1
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_ECC_P256
|
|
|
|
config MODULE_PERIPH_ECC_ED25519
|
|
bool
|
|
depends on HAS_PERIPH_ECC_ED25519
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_ECC_ED25519
|
|
|
|
# Hash Related Symbols
|
|
config MODULE_PERIPH_HASH_SHA_1
|
|
bool
|
|
depends on HAS_PERIPH_HASH_SHA_1
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_HASHES_SHA1
|
|
|
|
config MODULE_PERIPH_HASH_SHA_224
|
|
bool
|
|
depends on HAS_PERIPH_HASH_SHA_224
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_HASHES_SHA224
|
|
|
|
config MODULE_PERIPH_HASH_SHA_256
|
|
bool
|
|
depends on HAS_PERIPH_HASH_SHA_256
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_HASHES_SHA256
|
|
|
|
config MODULE_PERIPH_HASH_SHA_512
|
|
bool
|
|
depends on HAS_PERIPH_HASH_SHA_512
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_HASHES_SHA512
|
|
|
|
config MODULE_PERIPH_CIPHER_AES_128_CBC
|
|
bool
|
|
depends on HAS_PERIPH_CIPHER_AES_128_CBC
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_AES_CBC
|
|
|
|
config MODULE_PERIPH_HMAC_SHA_256
|
|
bool
|
|
depends on HAS_PERIPH_HMAC_SHA_256
|
|
select MODULE_PERIPH_CRYPTOCELL_310
|
|
select MODULE_PSA_CRYPTOCELL_310_HMAC
|
|
|
|
endif # TEST_KCONFIG
|
|
|
|
config HAVE_SAUL_NRF_VDDH
|
|
bool
|
|
select MODULE_SAUL_NRF_VDDH if MODULE_SAUL_DEFAULT
|
|
help
|
|
Indicates that internal voltage sensor is present.
|