anza-cryptography-source/curve25519/solana-ed25519/src
zz-sol c41adab68f
Validate SPKI OID/bytes and add pkcs8 tests (#43)
Add strict SPKI validation and tests for PKCS#8 public keys. Introduce OID and ALGORITHM_ID constants and refactor SPKI parsing into verification_key_bytes_from_spki which verifies the algorithm OID, parameters, and key byte length/format, returning appropriate pkcs8::spki::Error values. Update TryFrom/EncodePublicKey/DecodePublicKey implementations to use the new helper and to propagate/mapping errors correctly. Add two tests (behind the pkcs8 feature) to assert rejection of SPKI docs with the wrong algorithm OID and with malformed key bytes.
2026-06-10 06:44:35 -04:00
..
backend ed25519: precompute AVX2 basepoint-128 table (#25) 2026-06-08 13:04:02 -04:00
ed_sigs Validate SPKI OID/bytes and add pkcs8 tests (#43) 2026-06-10 06:44:35 -04:00
edwards refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
lizard ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
ristretto refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
scalar ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
backend.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
constants.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
diagnostics.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
ed_sigs.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
edwards.rs [ed25519] downgrade rand_core (#21) 2026-05-18 21:50:26 -04:00
field.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
lib.rs [ed25519] downgrade rand_core (#21) 2026-05-18 21:50:26 -04:00
lizard.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
macros.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
montgomery.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
ristretto.rs ci: check each feature individually (#18) 2026-05-20 10:23:03 +08:00
scalar.rs ed25519: avoid split-scalar canonical checks (#24) 2026-06-08 13:02:22 -04:00
short_weierstrass.rs [ed25519] downgrade rand_core (#21) 2026-05-18 21:50:26 -04:00
traits.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00
window.rs refactor and merge curve and ed crates (#6) 2026-03-26 08:09:10 -04:00