123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #ifndef CC310_BL_BACKEND_ECDH_H__
- #define CC310_BL_BACKEND_ECDH_H__
- #include "sdk_config.h"
- #include "nordic_common.h"
- #if NRF_MODULE_ENABLED(NRF_CRYPTO) && NRF_MODULE_ENABLED(NRF_CRYPTO_BACKEND_CC310_BL)
- #include "nrf_crypto_ecc.h"
- #include "nrf_crypto_ecdh_shared.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if NRF_MODULE_ENABLED(NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1)
- #define nrf_crypto_backend_secp224r1_ecdh_compute NULL
- typedef uint32_t nrf_crypto_backend_secp224r1_ecdh_context_t;
- #define NRF_CRYPTO_BACKEND_SECP224R1_ECDH_CONTEXT_SIZE 0
- #endif
- #if NRF_MODULE_ENABLED(NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1)
- #define nrf_crypto_backend_secp256r1_ecdh_compute NULL
- typedef uint32_t nrf_crypto_backend_secp256r1_ecdh_context_t;
- #define NRF_CRYPTO_BACKEND_SECP256R1_ECDH_CONTEXT_SIZE 0
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
- #endif
|