nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_ed25519_sign()

void ocrypto_ed25519_sign ( uint8_t  sig[(64)],
const uint8_t *  m,
size_t  m_len,
const uint8_t  sk[(32)],
const uint8_t  pk[(32)] 
)

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

Ed25519 signature generation.

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.
mInput message.
m_lenLength of m.
skSecret key.
pkPublic key.