diff options
-rw-r--r-- | util/fipstools/acvp/modulewrapper/modulewrapper.cc | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/util/fipstools/acvp/modulewrapper/modulewrapper.cc b/util/fipstools/acvp/modulewrapper/modulewrapper.cc index dd17f56..816bd16 100644 --- a/util/fipstools/acvp/modulewrapper/modulewrapper.cc +++ b/util/fipstools/acvp/modulewrapper/modulewrapper.cc @@ -357,6 +357,21 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl "ivGenMode": "8.2.2" }, { + "algorithm": "ACVP-AES-GCM", + "revision": "1.0", + "direction": ["encrypt", "decrypt"], + "keyLen": [128, 192, 256], + "payloadLen": [{ + "min": 0, "max": 65536, "increment": 8 + }], + "aadLen": [{ + "min": 0, "max": 65536, "increment": 8 + }], + "tagLen": [32, 64, 96, 104, 112, 120, 128], + "ivLen": [96], + "ivGen": "external" + }, + { "algorithm": "ACVP-AES-GMAC", "revision": "1.0", "direction": ["encrypt", "decrypt"], @@ -496,7 +511,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl { "algorithm": "ECDSA", "mode": "keyGen", - "revision": "1.0", + "revision": "FIPS186-5", "curve": [ "P-224", "P-256", @@ -510,7 +525,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl { "algorithm": "ECDSA", "mode": "keyVer", - "revision": "1.0", + "revision": "FIPS186-5", "curve": [ "P-224", "P-256", @@ -521,7 +536,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl { "algorithm": "ECDSA", "mode": "sigGen", - "revision": "1.0", + "revision": "FIPS186-5", "capabilities": [{ "curve": [ "P-224", @@ -541,7 +556,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl { "algorithm": "ECDSA", "mode": "sigVer", - "revision": "1.0", + "revision": "FIPS186-5", "capabilities": [{ "curve": [ "P-224", @@ -567,21 +582,21 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl "fixedPubExp": "010001", "keyFormat": "standard", "capabilities": [{ - "randPQ": "B.3.3", + "randPQ": "probable", "properties": [{ "modulo": 2048, "primeTest": [ - "tblC2" + "2powSecStr" ] },{ "modulo": 3072, "primeTest": [ - "tblC2" + "2powSecStr" ] },{ "modulo": 4096, "primeTest": [ - "tblC2" + "2powSecStr" ] }] }] @@ -635,6 +650,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl },{ "sigType": "pss", "properties": [{ + "maskFunction": ["mgf1"], "modulo": 2048, "hashPair": [{ "hashAlg": "SHA2-224", @@ -656,6 +672,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl },{ "sigType": "pss", "properties": [{ + "maskFunction": ["mgf1"], "modulo": 3072, "hashPair": [{ "hashAlg": "SHA2-224", @@ -677,6 +694,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl },{ "sigType": "pss", "properties": [{ + "maskFunction": ["mgf1"], "modulo": 4096, "hashPair": [{ "hashAlg": "SHA2-224", @@ -748,6 +766,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl },{ "sigType": "pss", "properties": [{ + "maskFunction": ["mgf1"], "modulo": 2048, "hashPair": [{ "hashAlg": "SHA2-224", @@ -769,6 +788,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl },{ "sigType": "pss", "properties": [{ + "maskFunction": ["mgf1"], "modulo": 3072, "hashPair": [{ "hashAlg": "SHA2-224", @@ -790,6 +810,7 @@ static bool GetConfig(const Span<const uint8_t> args[], ReplyCallback write_repl },{ "sigType": "pss", "properties": [{ + "maskFunction": ["mgf1"], "modulo": 4096, "hashPair": [{ "hashAlg": "SHA2-224", |