Skip to content

Add ML-DSA-65 and ML-KEM-1024 FFI bindings - #80

Merged
WingZer0o merged 1 commit into
mainfrom
feature/pqc-ml-dsa-ml-kem
Nov 1, 2026
Merged

WingZer0o merged 1 commit into
mainfrom
feature/pqc-ml-dsa-ml-kem

Conversation

@WingZer0o

Copy link
Copy Markdown
Member

Expose the PQC primitives cas-lib already ships but this crate did not:

  • ml_dsa_generate_signing_and_verification_key / ml_dsa_sign_message / ml_dsa_verify_signature
  • ml_kem_1024_generate_key_pair / ml_kem_1024_encapsulate_shared_secret / ml_kem_1024_decapsulate_shared_secret

Adds matching #[repr(C)] result structs in pqc/types.rs and round-trip tests.

Expose the PQC primitives cas-lib already ships but this crate did not:
- ml_dsa_generate_signing_and_verification_key / ml_dsa_sign_message / ml_dsa_verify_signature
- ml_kem_1024_generate_key_pair / ml_kem_1024_encapsulate_shared_secret / ml_kem_1024_decapsulate_shared_secret

Adds matching #[repr(C)] result structs in pqc/types.rs and round-trip tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WingZer0o
WingZer0o merged commit ecaefe6 into main Nov 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant