Function nettle::ed448::verify

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

Verifies signature of message msg using public.

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