Ed448Verify
Cryptography
Description
Verifies a PureEdDSA edwards448 signature (RFC 8032)
Syntax
Delphi
Function Ed448Verify(Const Message_, PublicKey, Signature: AnsiString): Boolean;Parameters
| Message_ | Raw message bytes signed by the caller |
|---|---|
| PublicKey | 57-byte Ed448 public key |
| Signature | 114-byte R||S Ed448 signature encoding |
Return values
| False | The public key or signature length is invalid, point decoding fails, or the signature equation does not hold |
|---|---|
| True | The signature is valid for Message_ under PublicKey |
Remarks
Hashing is SHAKE256(x, 114) with the SigEd448||0||0 domain prefix and empty context; r and k are reduced modulo the group order from the full 114-byte digest before use, and S = (r + k*s) mod L. Verification is available through Ed448Verify; both RFC 8032 section 7.4 known-answer vectors pass byte-for-byte
Example
Ed448Sign(Msg, Seed, Sig);
OK:= Ed448Verify(Msg, PubKey, Sig);