nrfxlib API 0.1.0
Loading...
Searching...
No Matches

Type declarations and APIs to do Elliptic Curve Digital Signature Algorithm using the NIST secp256r1 curve. More...

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])
 
void ocrypto_ecdsa_p256_det_sign (uint8_t sig[64], const uint8_t *m, size_t mlen, const uint8_t sk[32])
 
void ocrypto_ecdsa_p256_det_sign_hash (uint8_t sig[64], const uint8_t hash[32], const uint8_t sk[32])
 

Detailed Description

Type declarations and APIs to do Elliptic Curve Digital Signature Algorithm using the NIST secp256r1 curve.

Type declarations and APIs to do Elliptic Curve Digital Signature Algorith using the NIST secp256r1 curve.

ECDSA P-256 is a specific implementation of a digital signature scheme.