feat(key-protocol/nssa)!: PQ resistance primitives for vsk/vpk for shared key agreement#474
feat(key-protocol/nssa)!: PQ resistance primitives for vsk/vpk for shared key agreement#474jonesmarvin8 wants to merge 9 commits into
Conversation
Binary artifact conflicts resolved by keeping branch versions (compiled against the PQ codebase). All source conflicts auto-merged cleanly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pravdyvy
left a comment
There was a problem hiding this comment.
I see, that some keys grow in magnitude. It will be very interesting to look at performance.
Unfortunately still not in CI, but can be called easily with just bench after merging main.
What do you mean they grow in magnitude?
|
I mean that they grew in comparison to main. |
🎯 Purpose
Shifts LEE to a PQ secure scheme, Kyber-768, for the key agreement. This requires changing the viewing keys from
secp256k1related data structures to byte arrays that can be used to produce ML-KEM-768 encapsulation and decapsulation keys. Updated key protocol for viewing key changes.⚙️ Approach
vskandvpkgeneration.specs.mdportions related to key agreement (only these sections are included).🧪 How to Test
Refactored to replace ECIES with Kyber. As such, all pre-existing tests should still work. Additionally, added
kem_to_chacha20_round_tripto demonstrate encapsulation and decapsulation does not distort account data.🔗 Dependencies
None.
🔜 Future Work
None.
📋 PR Completion Checklist