Commit Graph

21 Commits (a59a4f8b965c8ad42c6af95c80fc3873e77cd0cc)

Author SHA1 Message Date
sebastian-carpenter a59a4f8b96 update license to GPLv3 2026-07-09 18:24:23 +02:00
Robert de Vries 1a2829a4cd Fixed a few type annotations and added bad type tests.
Also added one note to the ChangeLog.
2026-07-08 15:22:37 +02:00
Robert de Vries 747243cc50 Address more review comments.
Tests are now also type checked as this helps verifying the correctness
of the type annotations.
2026-07-06 22:02:48 +02:00
Robert de Vries 2081edd6d7 Add typing information to ciphers.py
This has some fallout in random.py to simplify checks.
Also one test is slightly adapted to produced the desired failure.
2026-07-06 22:02:48 +02:00
Martijn de Milliano 0466adbf1b ML-DSA: Add missing test cases
- Test signing with empty context
- Test deterministic signing with context
2026-06-29 18:41:17 +02:00
Martijn de Milliano afcebbf946 Rename flag to ML_DSA_NO_CTX_ENABLED 2026-06-29 18:41:17 +02:00
Martijn de Milliano aec3f2d553 Add tests for no-context signing 2026-06-26 00:10:34 +02:00
Martijn de Milliano 52886c4034 ML-DSA: Deal with signing without context not always supported
In the newer wolfSSL signing and verifying without context is
not available unless it is explicitly enabled.

This change modifies the Python binding and test suite to
accommodate this.
2026-06-04 18:03:35 +02:00
Robert de Vries a114bca77b Add missing definition ML_DSA_KEYGEN_SEED_LENGTH. 2026-04-17 23:19:13 +02:00
David Garske 0297859652
Merge pull request #90 from mjdemilliano/ml-dsa-sign-with-context
ML-DSA: Add optional context to signing and verification
2026-04-15 14:59:20 -07:00
Daniele Lacamera 1de8b0c6f4 Removed import after merge 2026-04-15 07:16:31 +02:00
Daniele Lacamera 90f21e1d13
Merge branch 'master' into ml-dsa-generate-from-seed 2026-04-15 06:56:56 +02:00
Daniele Lacamera 9ebe2fe266
Merge branch 'master' into ml-dsa-sign-with-context 2026-04-15 06:51:11 +02:00
Martijn de Milliano ac6eee4f84 Process Copilot comments
- Use constant from ciphers.py
- Raise ValueError or TypeError in sign_with_seed instead of assert
- Add missing test case
2026-04-15 06:48:36 +02:00
Martijn de Milliano e36859cb9c ML-DSA: Support deterministic signing 2026-04-15 06:48:36 +02:00
Martijn de Milliano 44efa4b465 Process Copilot comments
- Move+rename constant for seed length and use it in test_mldsa
- Replace assert by raising TypeError and ValueError in
  make_key_from_seed, and change type check to use memoryview.
2026-04-10 17:30:10 +02:00
Martijn de Milliano 168498471b Resolve comments by Copilot 2026-04-10 17:01:13 +02:00
Martijn de Milliano 1c034b20d8 ML-DSA: Support (re-)generating MlDsaPrivate from seed
As specified in FIPS 204, implementations can store the seed from
which the key can be deterministically generated.
2026-03-24 22:08:57 +01:00
Martijn de Milliano 9a10f58601 ML-DSA: Add optional context to signing and verification 2026-03-24 21:32:17 +01:00
Koji Takeda c59e5910d1 Fix details by hand 2025-03-03 16:14:07 +09:00
Devin AI b501989317 Support ML-DSA
Co-Authored-By: Koji Takeda <takeda@wolfssl.com>
2025-03-03 16:11:37 +09:00