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

◆ ocrypto_ecdsa_p256_det_sign()

void ocrypto_ecdsa_p256_det_sign ( uint8_t  sig[64],
const uint8_t *  m,
size_t  mlen,
const uint8_t  sk[32] 
)

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

ECDSA P-256 deterministic signature generation.

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

Parameters
[out]sigGenerated signature.
mInput message.
mlenLength of m.
skSecret key.