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

◆ ocrypto_ed25519ph_sign()

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

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

Ed25519ph signature generate.

The message m is signed using the secret key sk and the corresponding public key pk. The signature is put into sig.

Parameters
[out]sigGenerated signature.
hashMessage hash, SHA-512(message).
skSecret key.
pkPublic key.