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
|
2020-02-19 15:49:17 +01:00
|
|
|
FEATURES_OPTIONAL += periph_i2c_reconfigure
|
2020-01-11 10:02:19 +01:00
|
|
|
DEFAULT_MODULE += auto_init_security
|
2019-12-18 20:18:50 +01:00
|
|
|
USEMODULE += cryptoauthlib_contrib
|
2020-06-11 17:28:44 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter cryptoauthlib_test,$(USEMODULE)))
|
|
|
|
USEMODULE += cryptoauthlib_test_jwt
|
|
|
|
USEMODULE += cryptoauthlib_test_tng
|
|
|
|
USEMODULE += cryptoauthlib_test_atcacert
|
2022-05-25 15:04:32 +02:00
|
|
|
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
|
2020-06-11 17:28:44 +02:00
|
|
|
endif
|
2020-11-05 12:46:58 +01:00
|
|
|
|
|
|
|
# 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)))
|
2023-10-19 14:23:35 +02:00
|
|
|
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
|