Function ed25519_dalek::hazmat::raw_verify
source · pub fn raw_verify<CtxDigest>(
vk: &VerifyingKey,
message: &[u8],
signature: &Signature
) -> Result<(), SignatureError>
Available on crate feature
hazmat
only.Expand description
The ordinary non-batched Ed25519 verification check, rejecting non-canonical R
values.CtxDigest
is the digest used to calculate the pseudorandomness needed for signing.
According to the Ed25519 spec, CtxDigest = Sha512
.