nrfxlib API 0.1.0
|
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.
ctx | Context. | |
[out] | pk | Generated public key. |
sk | Secret key. Must be pre-filled with random data. |