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

◆ ocrypto_ed25519_public_key_ctx()

void ocrypto_ed25519_public_key_ctx ( ocrypto_ed25519_ctx ctx,
uint8_t  pk[(32)],
const uint8_t  sk[(32)] 
)

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

Ed25519 signature key pair generation with context.

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
ctxContext.
[out]pkGenerated public key.
skSecret key. Must be pre-filled with random data.