nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_ecdsa_p256.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

int ocrypto_ecdsa_p256_public_key (uint8_t pk[64], const uint8_t sk[32])
 
int ocrypto_ecdsa_p256_sign (uint8_t sig[64], const uint8_t *m, size_t mlen, const uint8_t sk[32], const uint8_t ek[32])
 
int ocrypto_ecdsa_p256_sign_hash (uint8_t sig[64], const uint8_t hash[32], const uint8_t sk[32], const uint8_t ek[32])
 
int ocrypto_ecdsa_p256_verify (const uint8_t sig[64], const uint8_t *m, size_t mlen, const uint8_t pk[64])
 
int ocrypto_ecdsa_p256_verify_hash (const uint8_t sig[64], const uint8_t hash[32], const uint8_t pk[64])