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

◆ ocrypto_ecdsa_p256_det_sign_hash()

void ocrypto_ecdsa_p256_det_sign_hash ( uint8_t  sig[64],
const uint8_t  hash[32],
const uint8_t  sk[32] 
)

#include <crypto/nrf_oberon/include/ocrypto_ecdsa_p256_det_sign.h>

ECDSA P-256 deterministic signature generation from SHA256 hash.

The message hash hash is signed using the secret key sk and a session key calculated from hash and key. The signature is put into sig.

Parameters
[out]sigGenerated signature.
hashInput hash.
skSecret key.