Function nettle::ed448::sign

source ·
pub fn sign(
    public: &[u8],
    private: &[u8],
    msg: &[u8],
    signature: &mut [u8]
) -> Result<()>
Expand description

Signs the message msg using the given public/private, producing signature.

Fails if public or private is not ED448_KEY_SIZE bytes large, if signature is not ED448_SIGNATURE_SIZE bytes, or if Ed448 is not supported by Nettle (see IS_SUPPORTED).