nrfxlib API 0.1.0
|
void ocrypto_ed25519ph_public_key_ctx | ( | ocrypto_ed25519ph_ctx * | ctx, |
uint8_t | pk[(32)], | ||
const uint8_t | sk[(32)] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_ed25519ph.h>
Ed25519ph 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. |