Function nrfxlib_sys::ocrypto_ed25519_sign
source · pub unsafe extern "C" fn ocrypto_ed25519_sign(
sig: *mut u8,
m: *const u8,
m_len: usize,
sk: *const u8,
pk: *const u8
)
Expand description
Ed25519 signature generate.
The message * m
- is signed using the secret key * sk
- and the corresponding
public key * pk
- . The signature is put into * sig
- .
sig
- Generated signature.m
- Input message.m_len
- Length of *m
- .sk
- Secret key.pk
- Public key.