is_valid_eddsa_signature
Verifies an Ed25519 signature according to RFC 8032.
Security
This implementation follows RFC 8032 Section 5.1.7 by explicitly rejecting small-order points. Both the signature point R and public key A are tested to ensure 8P ≠ 𝒪, preventing key-compromise and signature-malleability attacks that could arise from small-order components.
Parameters
signature: The signature with hints for point decompression and MSMPy_twisted: Compressed form of Public Key y-coordinate (converted to integer from little endian bytes)
Returns
trueif the signature is validfalseif the signature is invalid or contains small-order points
Fully qualified path: garaga::signatures::eddsa_25519::is_valid_eddsa_signature
pub fn is_valid_eddsa_signature(signature: EdDSASignatureWithHint, Py_twisted: u256) -> bool