123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- #ifndef NRF_CRYPTO_EDDSA_SHARED_H__
- #define NRF_CRYPTO_EDDSA_SHARED_H__
- #include <stdint.h>
- #include "nordic_common.h"
- #include "nrf_crypto_ecc.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- ret_code_t nrf_crypto_backend_ed25519_sign(
- void * p_context,
- nrf_crypto_ecc_private_key_t const * p_private_key,
- uint8_t const * p_message,
- size_t message_size,
- uint8_t * p_signature);
- ret_code_t nrf_crypto_backend_ed25519_verify(
- void * p_context,
- nrf_crypto_ecc_public_key_t const * p_public_key,
- uint8_t const * p_message,
- size_t message_size,
- uint8_t const * p_signature);
- #ifdef __cplusplus
- }
- #endif
- #endif
|