pub struct Ed521Verifier;ed521 only.Expand description
Verifies Ed521 signatures (EdDSA over E-521, per ICP-Brasil).
§⚠ One certificate, and not for general use
Read crate::ed521 before enabling the ed521 feature. That
module has no published test vectors, no second implementation to
compare against, and exactly one real signature exercising it. Its
edge cases are untested.
This verifier exists so that no certificate in
third_party/trust-stores/ is refused for an algorithm nobody
looked at. The certificate in question is ICP-Brasil’s AC Raiz Brasileira v7, and it is the only place this will appear.
§Encoding
Both the key and the signature are raw in their BIT STRINGs, with no
encapsulating OCTET STRING – like Ed25519 and Ed448 under RFC
8410, and unlike GOST. The key is 66 octets and the signature 132,
which follows from b = 528 in DOC-ICP-01.01.
Verification only.