mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
84 lines
2.1 KiB
Plaintext
84 lines
2.1 KiB
Plaintext
# Copyright (c) 2021 HAW Hamburg
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
menuconfig MODULE_PSA_ASYMMETRIC
|
|
bool "PSA Asymmetric Crypto"
|
|
select MODULE_PSA_KEY_MANAGEMENT
|
|
|
|
if MODULE_PSA_ASYMMETRIC
|
|
|
|
menuconfig MODULE_PSA_ASYMMETRIC_ECC_P192R1
|
|
bool "ECC NIST-P192R1"
|
|
select PSA_KEY_SIZE_192
|
|
|
|
if MODULE_PSA_ASYMMETRIC_ECC_P192R1
|
|
|
|
choice PSA_ASYMMETRIC_ECC_P192R1_BACKEND
|
|
bool "ECC NIST-P192R1 Implementation"
|
|
|
|
config MODULE_PSA_ASYMMETRIC_ECC_P192R1_BACKEND_PERIPH
|
|
bool "Hardware accelerated with peripheral"
|
|
depends on HAS_PERIPH_ECC_P192R1
|
|
select MODULE_PERIPH_ECC_P192R1
|
|
|
|
config MODULE_PSA_ASYMMETRIC_ECC_P192R1_BACKEND_MICROECC
|
|
bool "Micro-ECC Package"
|
|
select PACKAGE_MICRO-ECC
|
|
select MODULE_PSA_UECC_P192
|
|
|
|
endchoice
|
|
|
|
endif # MODULE_PSA_ASYMMETRIC_ECC_P192R1
|
|
|
|
menuconfig MODULE_PSA_ASYMMETRIC_ECC_P256R1
|
|
bool "ECC NIST-P256R1"
|
|
select PSA_KEY_SIZE_256
|
|
|
|
if MODULE_PSA_ASYMMETRIC_ECC_P256R1
|
|
|
|
choice PSA_ASYMMETRIC_ECC_P256R1_BACKEND
|
|
bool "ECC NIST-P256R1 Implementation"
|
|
|
|
config MODULE_PSA_ASYMMETRIC_ECC_P256R1_BACKEND_PERIPH
|
|
bool "Hardware Accelerated"
|
|
depends on HAS_PERIPH_ECC_P256R1
|
|
select MODULE_PERIPH_ECC_P256R1
|
|
|
|
config MODULE_PSA_ASYMMETRIC_ECC_P256R1_BACKEND_MICROECC
|
|
bool "Micro-ECC Package"
|
|
select PACKAGE_MICRO-ECC
|
|
select MODULE_PSA_UECC_P256
|
|
|
|
endchoice
|
|
|
|
endif # MODULE_PSA_ASYMMETRIC_ECC_P256R1
|
|
|
|
menuconfig MODULE_PSA_ASYMMETRIC_ECC_ED25519
|
|
bool "ECC Edwards25519"
|
|
select PSA_KEY_SIZE_256
|
|
|
|
if MODULE_PSA_ASYMMETRIC_ECC_ED25519
|
|
|
|
choice MODULE_PSA_ASYMMETRIC_ECC_ED25519_BACKEND
|
|
bool "ECC Edwards25519 Implementation"
|
|
|
|
config MODULE_PSA_ASYMMETRIC_ECC_ED25519_BACKEND_PERIPH
|
|
bool "Hardware Accelerated"
|
|
depends on HAS_PERIPH_ECC_ED25519
|
|
select MODULE_PERIPH_ECC_ED25519
|
|
|
|
config MODULE_PSA_ASYMMETRIC_ECC_ED25519_BACKEND_C25519
|
|
bool "C25519 Package"
|
|
select PACKAGE_C25519
|
|
select MODULE_PSA_C25519_EDSIGN
|
|
|
|
endchoice
|
|
|
|
endif # MODULE_PSA_ASYMMETRIC_ECC_ED25519
|
|
|
|
endif # MODULE_PSA_ASYMMETRIC
|