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

◆ ocrypto_ed25519_public_key()

void ocrypto_ed25519_public_key ( uint8_t  pk[(32)],
const uint8_t  sk[(32)] 
)

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

Ed25519 signature key pair generation.

Given a secret key sk, the corresponding public key is computed and put into pk. The key pair can then be used to sign and verify message signatures.

Parameters
[out]pkGenerated public key.
skSecret key. Must be pre-filled with random data.