Files
Moss Hsu c0e441916a ACVP: test non-canonical ML-KEM keys.
The existing ML-KEM ACVP fixture only covers valid encapsulation
keys. Older NIST-generated invalid keys had unintended lengths, so
they did not exercise rejection of non-canonical polynomial
coefficients.

Add a focused NIST demo fixture for ML-KEM-768 and ML-KEM-1024.
Each parameter set includes a valid key and a correctly sized invalid
key whose first coefficient is 3330, outside the canonical range 0
through 3328.

The full response was accepted by the NIST demo server before
trimming. Keep these cases separate from ML-KEM.bz2 so the regression
stays explicit without replacing unrelated ML-KEM coverage.

Change-Id: Ic31b4a843b53d8749a3cf3d6a6a56f777152a8de
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/101367
Reviewed-by: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com>
2026-08-20 09:42:36 -07:00
..
2026-06-05 11:29:31 -07:00
2014-06-20 13:17:32 -07:00
2025-02-13 10:12:55 -08:00
2025-10-25 17:16:07 -07:00
2025-02-27 10:47:33 -08:00
2023-02-27 15:11:52 +00:00