Skip to content

Commit e07efea

Browse files
committed
update vectors
1 parent 74bb96b commit e07efea

File tree

10 files changed

+360
-48
lines changed

10 files changed

+360
-48
lines changed

crypto/evp_extra/p_kem_test.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,10 +944,13 @@ struct WycheproofKEM {
944944
};
945945

946946
//= third_party/vectors/vectors_spec.md#wycheproof
947+
//# AWS-LC MUST test against `testvectors_v1/mlkem_1024_decaps_test.txt`.
947948
//# AWS-LC MUST test against `testvectors_v1/mlkem_1024_encaps_test.txt`.
948949
//# AWS-LC MUST test against `testvectors_v1/mlkem_1024_test.txt`.
950+
//# AWS-LC MUST test against `testvectors_v1/mlkem_512_decaps_test.txt`.
949951
//# AWS-LC MUST test against `testvectors_v1/mlkem_512_encaps_test.txt`.
950952
//# AWS-LC MUST test against `testvectors_v1/mlkem_512_test.txt`.
953+
//# AWS-LC MUST test against `testvectors_v1/mlkem_768_decaps_test.txt`.
951954
//# AWS-LC MUST test against `testvectors_v1/mlkem_768_encaps_test.txt`.
952955
//# AWS-LC MUST test against `testvectors_v1/mlkem_768_test.txt`.
953956
static const struct WycheproofKEM kWycheproofKEMs[] = {
-391 Bytes
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
SPECIFICATION: [Test Vector Specification](vectors_spec.md)
22
SECTION: [wycheproof](#wycheproof)
33
TEXT[test]: AWS-LC MUST test against `testvectors_v1/aes_gcm_test.txt`.
4+
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_1024_decaps_test.txt`.
45
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_1024_encaps_test.txt`.
56
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_1024_test.txt`.
7+
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_512_decaps_test.txt`.
68
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_512_encaps_test.txt`.
79
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_512_test.txt`.
10+
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_768_decaps_test.txt`.
811
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_768_encaps_test.txt`.
912
TEXT[test]: AWS-LC MUST test against `testvectors_v1/mlkem_768_test.txt`.
1013

1114
SPECIFICATION: [Test Vector Specification](vectors_spec.md)
1215
SECTION: [wycheproof](#wycheproof)
1316
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/aes_gcm_test.txt`.
17+
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_1024_decaps_test.txt`.
1418
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_1024_encaps_test.txt`.
1519
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_1024_test.txt`.
20+
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_512_decaps_test.txt`.
1621
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_512_encaps_test.txt`.
1722
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_512_test.txt`.
23+
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_768_decaps_test.txt`.
1824
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_768_encaps_test.txt`.
1925
TEXT[!MUST]: AWS-LC MUST test against `testvectors_v1/mlkem_768_test.txt`.

third_party/vectors/converted/wycheproof/testvectors_v1/mlkem_1024_decaps_test.txt

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

third_party/vectors/converted/wycheproof/testvectors_v1/mlkem_512_decaps_test.txt

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

third_party/vectors/converted/wycheproof/testvectors_v1/mlkem_768_decaps_test.txt

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

third_party/vectors/upstream/wycheproof/testvectors_v1/mlkem_1024_decaps_test.json

Lines changed: 99 additions & 0 deletions
Large diffs are not rendered by default.

third_party/vectors/upstream/wycheproof/testvectors_v1/mlkem_512_decaps_test.json

Lines changed: 99 additions & 0 deletions
Large diffs are not rendered by default.

third_party/vectors/upstream/wycheproof/testvectors_v1/mlkem_768_decaps_test.json

Lines changed: 99 additions & 0 deletions
Large diffs are not rendered by default.

third_party/vectors/vectors_spec.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@
66

77
AWS-LC MUST test against `testvectors_v1/aes_gcm_test.txt`.
88

9+
AWS-LC MUST test against `testvectors_v1/mlkem_1024_decaps_test.txt`.
10+
911
AWS-LC MUST test against `testvectors_v1/mlkem_1024_encaps_test.txt`.
1012

1113
AWS-LC MUST test against `testvectors_v1/mlkem_1024_test.txt`.
1214

15+
AWS-LC MUST test against `testvectors_v1/mlkem_512_decaps_test.txt`.
16+
1317
AWS-LC MUST test against `testvectors_v1/mlkem_512_encaps_test.txt`.
1418

1519
AWS-LC MUST test against `testvectors_v1/mlkem_512_test.txt`.
1620

21+
AWS-LC MUST test against `testvectors_v1/mlkem_768_decaps_test.txt`.
22+
1723
AWS-LC MUST test against `testvectors_v1/mlkem_768_encaps_test.txt`.
1824

1925
AWS-LC MUST test against `testvectors_v1/mlkem_768_test.txt`.

0 commit comments

Comments
 (0)