25#ifndef OCRYPTO_ECDSA_P256_H
26#define OCRYPTO_ECDSA_P256_H
56 const uint8_t sk[32]);
80 const uint8_t *m,
size_t mlen,
82 const uint8_t ek[32]);
105 const uint8_t hash[32],
106 const uint8_t sk[32],
107 const uint8_t ek[32]);
124 const uint8_t sig[64],
125 const uint8_t *m,
size_t mlen,
126 const uint8_t pk[64]);
142 const uint8_t sig[64],
143 const uint8_t hash[32],
144 const uint8_t pk[64]);
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_verify(const uint8_t sig[64], const uint8_t *m, size_t mlen, const uint8_t pk[64])
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_hash(const uint8_t sig[64], const uint8_t hash[32], const uint8_t pk[64])
int ocrypto_ecdsa_p256_public_key(uint8_t pk[64], const uint8_t sk[32])