pub fn verify_ed25519(ltpk: &[u8; 32], msg: &[u8], sig: &[u8; 64]) -> Result<()>Expand description
Verify an Ed25519 sig over msg against a 32-byte public key ltpk.
Uses ed25519-dalek’s strict verification (rejecting small-order /
non-canonical public keys).
§Errors
Returns CryptoError::Signature if ltpk is not a valid Ed25519 public
key or if the signature does not verify over msg.