acvp: tweak config
This change tweaks our ACVP config to better match what BoringCrypto
has previously tested with CAVP.
Change-Id: I7d7ce5153a3eb7355ae1516f06ff591ee2c9d902
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/44385
Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/util/fipstools/acvp/modulewrapper/modulewrapper.cc b/util/fipstools/acvp/modulewrapper/modulewrapper.cc
index ac791c0..12aa2f8 100644
--- a/util/fipstools/acvp/modulewrapper/modulewrapper.cc
+++ b/util/fipstools/acvp/modulewrapper/modulewrapper.cc
@@ -210,9 +210,9 @@
"min": 0, "max": 256, "increment": 8
}],
"aadLen": [{
- "min": 0, "max": 256, "increment": 8
+ "min": 0, "max": 320, "increment": 8
}],
- "tagLen": [128],
+ "tagLen": [32, 64, 96, 104, 112, 120, 128],
"ivLen": [96],
"ivGen": "external"
},
@@ -244,7 +244,7 @@
"keyLen": [
128, 192, 256
],
- "payloadLen": [{"min": 8, "max": 1024, "increment": 8}]
+ "payloadLen": [{"min": 8, "max": 4096, "increment": 8}]
},
{
"algorithm": "ACVP-AES-CCM",