1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef NRF_CRYPTO_EDDSA_BACKEND_H__
- #define NRF_CRYPTO_EDDSA_BACKEND_H__
- #if !defined(__SDK_DOXYGEN__)
- #include <stdint.h>
- #include <stddef.h>
- #include "sdk_config.h"
- #include "nrf_crypto_ecdsa_shared.h"
- #include "cc310_backend_eddsa.h"
- #include "oberon_backend_eddsa.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if !NRF_CRYPTO_ECC_ED25519_ENABLED
- #define NRF_CRYPTO_BACKEND_ED25519_SIGN_CONTEXT_SIZE 0
- #define NRF_CRYPTO_BACKEND_ED25519_VERIFY_CONTEXT_SIZE 0
- typedef uint8_t nrf_crypto_backend_ed25519_sign_context_t;
- typedef uint8_t nrf_crypto_backend_ed25519_verify_context_t;
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
- #endif
|