Skip to content

Skip PKCS#8 round-trip when extracting ML-DSA/ML-KEM seeds on BoringSSL#14810

Open
alex wants to merge 3 commits intomainfrom
claude/remove-pkcs8-roundtrip-Kcqge
Open

Skip PKCS#8 round-trip when extracting ML-DSA/ML-KEM seeds on BoringSSL#14810
alex wants to merge 3 commits intomainfrom
claude/remove-pkcs8-roundtrip-Kcqge

Conversation

@alex
Copy link
Copy Markdown
Member

@alex alex commented May 5, 2026

Summary

  • BoringSSL exposes EVP_PKEY_get_private_seed, which returns the ML-DSA/ML-KEM seed directly. Use it instead of round-tripping through PKCS#8.
  • AWS-LC keeps the round-trip since it lacks an equivalent API. Vanilla OpenSSL 3.5+ continues to use PKey::seed_into.
  • Internal change only; no user-visible behavior change.

Test plan

  • CI passes on BoringSSL, AWS-LC, and OpenSSL backends
  • Existing ML-DSA / ML-KEM seed round-trip tests cover the new path

Generated by Claude Code

claude added 3 commits May 5, 2026 22:00
…gSSL

BoringSSL exposes EVP_PKEY_get_private_seed, which returns the seed
directly. Use it instead of round-tripping through PKCS#8. AWS-LC keeps
the round-trip since it lacks an equivalent API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants