pub unsafe extern "C" fn Hacl_Ed25519_sign_expanded(
    signature: *mut u8,
    expanded_keys: *mut u8,
    msg_len: u32,
    msg: *mut u8
)
Expand description

Create an Ed25519 signature with the (precomputed) expanded keys.

The outparam signature points to 64 bytes of valid memory, i.e., uint8_t[64]. The argument expanded_keys points to 96 bytes of valid memory, i.e., uint8_t[96]. The argument msg points to msg_len bytes of valid memory, i.e., uint8_t[msg_len].

The argument expanded_keys is obtained through expand_keys.

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.