Function hacl_sys::Hacl_Ed25519_expand_keys
source · pub unsafe extern "C" fn Hacl_Ed25519_expand_keys(
expanded_keys: *mut u8,
private_key: *mut u8
)
Expand description
Compute the expanded keys for an Ed25519 signature.
The outparam expanded_keys
points to 96 bytes of valid memory, i.e., uint8_t[96].
The argument private_key
points to 32 bytes of valid memory, i.e., uint8_t[32].
If one needs to sign several messages under the same private key, it is more efficient
to call expand_keys
only once and sign_expanded
multiple times, for each message.