From a6a74e05fb335aabde0e9e4905cdd0f2d0e753b7 Mon Sep 17 00:00:00 2001 From: livebe01 Date: Tue, 30 Apr 2024 12:22:02 -0400 Subject: [PATCH] removes duplicate Test Vectors sections from LMS, ML-DSA, and ML-KEM specs --- src/lms/sections/06-test-vectors.adoc | 17 +---------------- src/ml-dsa/sections/06-test-vectors.adoc | 19 +------------------ src/ml-kem/sections/06-test-vectors.adoc | 19 +------------------ 3 files changed, 3 insertions(+), 52 deletions(-) diff --git a/src/lms/sections/06-test-vectors.adoc b/src/lms/sections/06-test-vectors.adoc index e1a08cce..d347d099 100644 --- a/src/lms/sections/06-test-vectors.adoc +++ b/src/lms/sections/06-test-vectors.adoc @@ -1,20 +1,5 @@ [[tgjs]] -== Test Vectors +== -The ACVP server provides test vectors to the ACVP client, which are then processed and returned to the ACVP server for validation. A typical ACVP validation session would require multiple test vector sets to be downloaded and processed by the ACVP client. Each test vector set represents an individual crypto algorithm, such as LMS / sigGen / 1.0, etc. This section describes the JSON schema for a test vector set used with LMS crypto algorithms. -The test vector set JSON schema is a multi-level hierarchy that contains meta data for the entire vector set as well as individual test vectors to be processed by the ACVP client. The following table describes the JSON elements at the top level of the hierarchy. - -[[lms_vs_top_table]] -.LMS Vector Set JSON Object -|=== -| JSON Value | Description | JSON type - -| acvVersion | Protocol version identifier | string -| vsId | Unique numeric identifier for the vector set | integer -| algorithm | The algorithm used for the test vectors | string -| mode | The mode used for the test vectors | string -| revision | The algorithm testing revision to use | string -| testGroups | Array of test group JSON objects, which are defined in <>, <>, or <> depending on the algorithm | array -|=== diff --git a/src/ml-dsa/sections/06-test-vectors.adoc b/src/ml-dsa/sections/06-test-vectors.adoc index 4e934388..433fd23f 100644 --- a/src/ml-dsa/sections/06-test-vectors.adoc +++ b/src/ml-dsa/sections/06-test-vectors.adoc @@ -1,20 +1,3 @@ [[tgjs]] -== Test Vectors - -The ACVP server provides test vectors to the ACVP client, which are then processed and returned to the ACVP server for validation. A typical ACVP validation session would require multiple test vector sets to be downloaded and processed by the ACVP client. Each test vector set represents an individual crypto algorithm, such as ML-DSA / sigGen / FIPS204, etc. This section describes the JSON schema for a test vector set used with ML-DSA crypto algorithms. - -The test vector set JSON schema is a multi-level hierarchy that contains meta data for the entire vector set as well as individual test vectors to be processed by the ACVP client. The following table describes the JSON elements at the top level of the hierarchy. - -[[ml-dsa_vs_top_table]] -.ML-Dsa Vector Set JSON Object -|=== -| JSON Value | Description | JSON type - -| acvVersion | Protocol version identifier | string -| vsId | Unique numeric identifier for the vector set | integer -| algorithm | The algorithm used for the test vectors | string -| mode | The mode used for the test vectors | string -| revision | The algorithm testing revision to use | string -| testGroups | Array of test group JSON objects, which are defined in <>, <>, or <> depending on the algorithm | array -|=== +== \ No newline at end of file diff --git a/src/ml-kem/sections/06-test-vectors.adoc b/src/ml-kem/sections/06-test-vectors.adoc index f67bb3a2..b042a982 100644 --- a/src/ml-kem/sections/06-test-vectors.adoc +++ b/src/ml-kem/sections/06-test-vectors.adoc @@ -1,20 +1,3 @@ [[tgjs]] -== Test Vectors - -The ACVP server provides test vectors to the ACVP client, which are then processed and returned to the ACVP server for validation. A typical ACVP validation session would require multiple test vector sets to be downloaded and processed by the ACVP client. Each test vector set represents an individual crypto algorithm, such as ML-KEM / keyGen / FIPS203, etc. This section describes the JSON schema for a test vector set used with ML-KEM crypto algorithms. - -The test vector set JSON schema is a multi-level hierarchy that contains meta data for the entire vector set as well as individual test vectors to be processed by the ACVP client. The following table describes the JSON elements at the top level of the hierarchy. - -[[ml-dsa_vs_top_table]] -.ML-Dsa Vector Set JSON Object -|=== -| JSON Value | Description | JSON type - -| acvVersion | Protocol version identifier | string -| vsId | Unique numeric identifier for the vector set | integer -| algorithm | The algorithm used for the test vectors | string -| mode | The mode used for the test vectors | string -| revision | The algorithm testing revision to use | string -| testGroups | Array of test group JSON objects, which are defined in <> or <> depending on the algorithm | array -|=== +==