123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- #ifndef NRF_CRYPTO_ECDSA_SHARED_H__
- #define NRF_CRYPTO_ECDSA_SHARED_H__
- #include <stdint.h>
- #include "nordic_common.h"
- #include "nrf_crypto_ecc.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef ret_code_t (*nrf_crypto_backend_ecdsa_sign_fn_t)(
- void * p_context,
- void const * p_private_key,
- uint8_t const * p_data,
- size_t data_size,
- uint8_t * p_signature);
- typedef ret_code_t (*nrf_crypto_backend_ecdsa_verify_fn_t)(
- void * p_context,
- void const * p_public_key,
- uint8_t const * p_data,
- size_t data_size,
- uint8_t const * p_signature);
- #ifdef __cplusplus
- }
- #endif
- #endif
|