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