2021-03-31 11:09:28 +02:00
|
|
|
# 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 PACKAGE_LIBCOSE
|
|
|
|
bool "LibCose CBOR Object Signing and Encryption package"
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
depends on MODULE_RANDOM
|
|
|
|
select PACKAGE_NANOCBOR
|
|
|
|
select MODULE_LIBCOSE_CRYPT
|
|
|
|
help
|
|
|
|
CBOR Object Signing and Encryption package based on RFC8613.
|
|
|
|
|
|
|
|
if PACKAGE_LIBCOSE
|
|
|
|
|
|
|
|
config MODULE_LIBCOSE_CRYPT_C25519
|
|
|
|
bool "COSE use C25519 backend"
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
depends on PACKAGE_C25519
|
|
|
|
|
|
|
|
config MODULE_LIBCOSE_CRYPT_HACL
|
|
|
|
bool "COSE use HACL backend"
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
depends on PACKAGE_HACL
|
|
|
|
|
|
|
|
config MODULE_LIBCOSE_CRYPT_MONOCYPHER
|
|
|
|
bool "COSE use MONOCYPHER backend"
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
depends on PACKAGE_MONOCYPHER
|
|
|
|
|
2022-02-24 13:19:42 +01:00
|
|
|
config MODULE_LIBCOSE_CRYPT_RIOT
|
|
|
|
bool "COSE use RIOT backend"
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_CRYPTO
|
|
|
|
|
2022-04-25 16:07:08 +02:00
|
|
|
config MODULE_LIBCOSE_CRYPT_INIT
|
|
|
|
bool "LibCose Crypt Initialization functions"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MODULE_AUTO_INIT_LIBCOSE_CRYPT
|
|
|
|
bool "Auto initialize LibCose Crypt"
|
|
|
|
depends on MODULE_AUTO_INIT
|
|
|
|
select MODULE_LIBCOSE_CRYPT_INIT
|
|
|
|
default y
|
|
|
|
|
2021-03-31 11:09:28 +02:00
|
|
|
endif # PACKAGE_LIBCOSE
|
|
|
|
|
|
|
|
config MODULE_LIBCOSE_CRYPT
|
|
|
|
bool
|
|
|
|
depends on TEST_KCONFIG
|