1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/cryptoauthlib/Makefile.dep

38 lines
1.1 KiB
Makefile
Raw Normal View History

2021-12-01 14:49:48 +01:00
USEMODULE += ztimer
USEMODULE += ztimer_usec
2019-12-18 20:18:50 +01:00
FEATURES_REQUIRED += periph_i2c
FEATURES_OPTIONAL += periph_i2c_reconfigure
DEFAULT_MODULE += auto_init_security
2019-12-18 20:18:50 +01:00
USEMODULE += cryptoauthlib_contrib
ifneq (,$(filter cryptoauthlib_test,$(USEMODULE)))
USEMODULE += cryptoauthlib_test_jwt
USEMODULE += cryptoauthlib_test_tng
USEMODULE += cryptoauthlib_test_atcacert
USEMODULE += cryptoauthlib_test_api_atcab
USEMODULE += cryptoauthlib_test_api_calib
USEMODULE += cryptoauthlib_test_api_crypto
USEMODULE += cryptoauthlib_test_vectors
USEMODULE += cryptoauthlib_test_third_party_unity
endif
# Some EFM32 CPU families define AES_COUNT, which is also defined by this
# library.
FEATURES_BLACKLIST += arch_efm32
2023-08-29 19:19:42 +02:00
ifneq (,$(filter psa_crypto,$(USEMODULE)))
USEMODULE += psa_atca_driver
endif
ifneq (,$(filter psa_secure_element_ateccx08a_ecc_p256, $(USEMODULE)))
USEMODULE += psa_asymmetric
endif
ifneq (,$(filter psa_secure_element_ateccx08a_cipher_aes_128, $(USEMODULE)))
USEMODULE += psa_cipher
endif
ifneq (,$(filter psa_secure_element_ateccx08a_hmac_sha256, $(USEMODULE)))
USEMODULE += psa_mac
2023-08-29 19:19:42 +02:00
endif