[PATCH v4 1/2] tools: expanded coverage of acvp_tool default config file

jspewock at iol.unh.edu jspewock at iol.unh.edu
Tue Mar 14 21:18:17 CET 2023


From: Jeremy Spewock <jspewock at iol.unh.edu>

this expands the default config file for the ACVP tools to allow for
coverage of more algorithms.

Signed-off-by: Jeremy Spewock <jspewock at iol.unh.edu>
---
 tools/acvp/acvp_config.json | 47 ++++++++++++++++++++++++++++++-------
 1 file changed, 38 insertions(+), 9 deletions(-)

diff --git a/tools/acvp/acvp_config.json b/tools/acvp/acvp_config.json
index 9339885..55c20bf 100644
--- a/tools/acvp/acvp_config.json
+++ b/tools/acvp/acvp_config.json
@@ -2,22 +2,51 @@
     "url": "https://demo.acvts.nist.gov",
     "algorithms": [
         {
-            "algorithm": "ACVP-AES-GCM",
+            "algorithm": "ACVP-TDES-CBC",
             "revision": "1.0",
+	    "keyingOption": [
+                1
+            ],
+	    "messageLength": [{"min": 0, "max": 65535, "increment": 1}],
+	    "capabilities": [
+		{
+		  "direction": ["gen", "ver"],
+		  "keyLen": [128],
+		  "msgLen": [
+			{
+			  "max": 65536,
+			  "min": 0,
+			  "increment": 256
+			}
+		  ],
+		  "macLen": [
+			{
+			  "min": 64,
+			  "max": 128,
+			  "increment": 8
+			}
+		  ]
+		}
+	    ],
             "direction": ["encrypt"],
             "keyLen": [128, 192, 256],
+	    "macLen": [
+    		{
+      		    "min": 80,
+      		    "max": 160,
+      		   "increment": 8
+    		}
+  	    ],
             "tagLen": [128],
             "aadLen": [0],
-            "ivGenMode": "8.2.2",
             "ivGen": "internal",
+	    "ivGenMode": "8.2.2",
             "ivLen": [96],
             "payloadLen": [
-                {
-                    "max": 65536,
-                    "min": 0,
-                    "increment": 256
-                }
-            ]
+                128
+            ],
+	    "overflowCounter": true,
+	    "incrementalCounter": true
         }
     ]
-}
\ No newline at end of file
+}
-- 
2.39.2



More information about the ci mailing list