Function nrfxlib_sys::ocrypto_ed25519_public_key_ctx
source · pub unsafe extern "C" fn ocrypto_ed25519_public_key_ctx(
ctx: *mut ocrypto_ed25519_ctx,
pk: *mut u8,
sk: *const u8
)
Expand description
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.pk
- Generated public key.sk
- Secret key. Must be pre-filled with random data.