Expected behavior
test session should download testSession response
Actual results
"POST" path /acvp/v1/testsessions
"headers\nHTTP/1.1 400 Bad Request\r\nTransfer-Encoding: chunked\r\nContent-Type: application/json; charset=utf-8\r\nServer: Microsoft-IIS/10.0\r\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\r\nDate: Wed, 05 Jan 2022 23:49:18 GMT\r\n\r\n"
Registration failed "Validation error(s) on JSON payload.\nUnable to map SHA3-224-1.0 - index 7 to an internal algorithm id. Unable to map SHA3-256-1.0 - index 8 to an internal algorithm id. Unable to map SHA3-384-1.0 - index 9 to an internal algorithm id. Unable to map SHA3-512-1.0 - index 10 to an internal algorithm id. Unable to map ACVP-AES-XTS-1.0 - index 40 to an internal algorithm id. Unable to map kdf-components-tls-1.0 - index 60 to an internal algorithm id. KAS-KDF-OneStep-Sp800-56Cr1: Minimum z must be greater than or equal to 224 "
Additional context
Add any other context about the problem here.
Note: this just started happening this week, the same capabilities file worked last week
environment Demo
testSessionId None
vsId None
Algorithm registration capabilities in json format [ { "copyright": "Copyright (c) Microsoft Corporation 2021", "abstract": "ACVP capabilities definition for the Microsoft Mariner OpenSSL", "author": "Jeffrey Barnes v-jeffrb@microsoft.com, fips@microsoft.com", "acvVersion": "1.0" }, { "isSample": false, "algorithms": [ { "algorithm": "SHA-1", "revision": "1.0", "messageLength": [ { "max": 65336, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA2-224", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA2-256", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA2-384", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA2-512", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA2-512/224", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA2-512/256", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA3-224", "revision": "1.0", "messageLength": [ { "max": 65336, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA3-256", "revision": "1.0", "messageLength": [ { "max": 65336, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA3-384", "revision": "1.0", "messageLength": [ { "max": 65356, "min": 0, "increment": 8 } ] }, { "algorithm": "SHA3-512", "revision": "1.0", "messageLength": [ { "max": 65536, "min": 0, "increment": 8 } ] }, { "algorithm": "SHAKE-128", "revision": "1.0", "inBit": false, "inEmpty": true, "outputLen": [ { "max": 65536, "min": 16, "increment": 8 } ] }, { "algorithm": "SHAKE-256", "revision": "1.0", "inBit": false, "inEmpty": true, "outputLen": [ { "max": 65536, "min": 16, "increment": 8 } ] }, { "algorithm": "HMAC-SHA-1", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 160 ] }, { "algorithm": "HMAC-SHA2-224", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 224 ] }, { "algorithm": "HMAC-SHA2-256", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 256 ] }, { "algorithm": "HMAC-SHA2-384", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 384 ] }, { "algorithm": "HMAC-SHA2-512", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 512 ] }, { "algorithm": "HMAC-SHA2-512/224", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 224 ] }, { "algorithm": "HMAC-SHA2-512/256", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 256 ] }, { "algorithm": "HMAC-SHA3-224", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 224 ] }, { "algorithm": "HMAC-SHA3-256", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 256 ] }, { "algorithm": "HMAC-SHA3-384", "revision": "1.0", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 384 ] }, { "algorithm": "HMAC-SHA3-512", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "revision": "1.0", "keyLen": [ { "max": 524288, "min": 8, "increment": 8 } ], "macLen": [ 512 ] }, { "algorithm": "ACVP-AES-ECB", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "direction": [ "encrypt", "decrypt" ] }, { "algorithm": "ACVP-AES-CBC", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "direction": [ "encrypt", "decrypt" ] }, { "algorithm": "ACVP-TDES-ECB", "revision": "1.0", "direction": [ "encrypt", "decrypt" ], "keyingOption": [ 1 ] }, { "algorithm": "ACVP-TDES-CBC", "revision": "1.0", "direction": [ "encrypt", "decrypt" ], "keyingOption": [ 1 ] }, { "algorithm": "ACVP-TDES-CFB1", "revision": "1.0", "direction": [ "encrypt", "decrypt" ], "keyingOption": [ 1 ] }, { "algorithm": "ACVP-TDES-CFB8", "revision": "1.0", "direction": [ "encrypt", "decrypt" ], "keyingOption": [ 1 ] }, { "algorithm": "ACVP-TDES-CFB64", "revision": "1.0", "direction": [ "encrypt", "decrypt" ], "keyingOption": [ 1 ] }, { "algorithm": "CMAC-TDES", "revision": "1.0", "capabilities": [ { "direction": [ "gen", "ver" ], "keyingOption": [ 1 ], "msgLen": [ 64, 72, 128, 136, 524288 ], "macLen": [ 64 ] } ] }, { "algorithm": "ACVP-TDES-OFB", "revision": "1.0", "direction": [ "encrypt", "decrypt" ], "keyingOption": [ 1 ] }, { "algorithm": "ACVP-AES-CFB1", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "direction": [ "encrypt", "decrypt" ] }, { "algorithm": "ACVP-AES-CFB8", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "direction": [ "encrypt", "decrypt" ] }, { "algorithm": "ACVP-AES-CFB128", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "direction": [ "encrypt", "decrypt" ] }, { "algorithm": "ACVP-AES-GCM", "revision": "1.0", "ivGen": "external", "ivLen": [ 96, 128 ], "aadLen": [ 0, 120, 128, 256 ], "keyLen": [ 128, 192, 256 ], "tagLen": [ 32, 64, 96, 104, 112, 120, 128 ], "direction": [ "encrypt", "decrypt" ], "ivGenMode": "8.2.1", "payloadLen": [ 120, 128, 248, 256 ] }, { "algorithm": "ACVP-AES-GCM", "revision": "1.0", "ivGen": "internal", "ivLen": [ 96 ], "aadLen": [ 64, 96 ], "keyLen": [ 128, 192, 256 ], "tagLen": [ 64, 96, 128 ], "direction": [ "encrypt" ], "ivGenMode": "8.2.1", "payloadLen": [ 120, 128, 248, 256 ] }, { "algorithm": "ACVP-AES-KW", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "kwCipher": [ "cipher" ], "direction": [ "encrypt", "decrypt" ], "payloadLen": [ { "min": 128, "max": 4096, "increment": 128 } ] }, { "algorithm": "ACVP-AES-KWP", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "kwCipher": [ "cipher" ], "direction": [ "encrypt", "decrypt" ], "payloadLen": [ { "min": 8, "max": 4096, "increment": 8 } ] }, { "algorithm": "ACVP-AES-XTS", "revision": "1.0", "keyLen": [ 128, 256 ], "direction": [ "encrypt", "decrypt" ], "tweakMode": [ "hex" ], "payloadLen": [ { "min": 128, "max": 65536, "increment": 128 } ] }, { "algorithm": "CMAC-AES", "revision": "1.0", "capabilities": [ { "keyLen": [ 128, 192, 256 ], "macLen": [ 128 ], "msgLen": [ { "min": 8, "max": 524288, "increment": 8 } ], "direction": [ "gen", "ver" ] } ] }, { "algorithm": "ACVP-AES-CTR", "revision": "1.0", "keyLen": [ 128, 192, 256 ], "payloadLen": [ { "min": 8, "max": 128, "increment": 8 } ], "direction": [ "encrypt", "decrypt" ], "incrementalCounter": true }, { "algorithm": "ACVP-AES-CCM", "revision": "1.0", "ivLen": [ 56, 64, 72, 80, 88, 96, 104 ], "aadLen": [ 0, 256, 65536 ], "keyLen": [ 128, 192, 256 ], "tagLen": [ 32, 48, 64, 80, 96, 112, 128 ], "direction": [ "encrypt", "decrypt" ], "payloadLen": [ 256 ] }, { "algorithm": "DSA", "revision": "1.0", "capabilities": [ { "l": 2048, "n": 224 }, { "l": 2048, "n": 256 }, { "l": 3072, "n": 256 } ], "mode": "keyGen" }, { "algorithm": "DSA", "revision": "1.0", "capabilities": [ { "l": 1024, "n": 160, "hashAlg": [ "SHA-1", "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] }, { "l": 2048, "n": 224, "hashAlg": [ "SHA-1", "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] }, { "l": 2048, "n": 256, "hashAlg": [ "SHA-1", "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512", "SHA2-512/224" ] }, { "l": 3072, "n": 256, "hashAlg": [ "SHA-1", "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] } ], "mode": "sigVer" }, { "algorithm": "DSA", "revision": "1.0", "capabilities": [ { "l": 3072, "n": 256, "hashAlg": [ "SHA2-256", "SHA2-384", "SHA2-512" ] }, { "l": 2048, "n": 256, "hashAlg": [ "SHA2-256", "SHA2-384", "SHA2-512" ] }, { "l": 2048, "n": 224, "hashAlg": [ "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] } ], "mode": "sigGen" }, { "algorithm": "DSA", "revision": "1.0", "capabilities": [ { "l": 2048, "n": 224, "gGen": [ "unverifiable" ], "pqGen": [ "probable" ], "hashAlg": [ "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] }, { "l": 2048, "n": 256, "gGen": [ "unverifiable" ], "pqGen": [ "probable" ], "hashAlg": [ "SHA2-256", "SHA2-384", "SHA2-512" ] }, { "l": 3072, "n": 256, "gGen": [ "unverifiable" ], "pqGen": [ "probable" ], "hashAlg": [ "SHA2-256", "SHA2-384", "SHA2-512" ] } ], "mode": "pqgGen" }, { "algorithm": "DSA", "revision": "1.0", "capabilities": [ { "l": 2048, "n": 224, "gGen": [ "unverifiable" ], "pqGen": [ "probable" ], "hashAlg": [ "SHA2-224" ] }, { "l": 2048, "n": 256, "gGen": [ "unverifiable" ], "pqGen": [ "probable" ], "hashAlg": [ "SHA2-256" ] }, { "l": 3072, "n": 256, "gGen": [ "unverifiable" ], "pqGen": [ "probable" ], "hashAlg": [ "SHA2-256" ] } ], "mode": "pqgVer" }, { "algorithm": "ECDSA", "revision": "1.0", "curve": [ "P-256", "P-384", "P-521" ], "secretGenerationMode": [ "testing candidates" ], "mode": "keyGen" }, { "algorithm": "ECDSA", "revision": "1.0", "curve": [ "P-256", "P-384", "P-521" ], "mode": "keyVer" }, { "algorithm": "ECDSA", "revision": "1.0", "capabilities": [ { "curve": [ "P-224", "P-256", "P-384", "P-521" ], "hashAlg": [ "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] } ], "mode": "sigGen" }, { "algorithm": "ECDSA", "revision": "1.0", "capabilities": [ { "curve": [ "P-224", "P-256", "P-384", "P-521" ], "hashAlg": [ "SHA-1", "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512" ] } ], "mode": "sigVer" }, { "algorithm": "RSA", "revision": "FIPS186-4", "capabilities": [ { "sigType": "ansx9.31", "properties": [ { "modulo": 2048, "hashPair": [ { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 3072, "hashPair": [ { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 4096, "hashPair": [ { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] } ] }, { "sigType": "pkcs1v1.5", "properties": [ { "modulo": 2048, "hashPair": [ { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" }, { "hashAlg": "SHA2-224" } ] }, { "modulo": 3072, "hashPair": [ { "hashAlg": "SHA2-224" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 4096, "hashPair": [ { "hashAlg": "SHA2-224" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] } ] }, { "sigType": "pss", "properties": [ { "modulo": 2048, "hashPair": [ { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA2-512", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 } ] }, { "modulo": 3072, "hashPair": [ { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 }, { "hashAlg": "SHA2-512", "saltLen": 0 } ] }, { "modulo": 4096, "hashPair": [ { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 }, { "hashAlg": "SHA2-512", "saltLen": 0 } ] } ] } ], "mode": "sigGen" }, { "algorithm": "RSA", "revision": "FIPS186-4", "pubExpMode": "random", "capabilities": [ { "sigType": "ansx9.31", "properties": [ { "modulo": 1024, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 2048, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 3072, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 4096, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-512" } ] } ] }, { "sigType": "pkcs1v1.5", "properties": [ { "modulo": 1024, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-224" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 2048, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-224" }, { "hashAlg": "SHA2-512" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-256" } ] }, { "modulo": 3072, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-224" }, { "hashAlg": "SHA2-256" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-512" } ] }, { "modulo": 4096, "hashPair": [ { "hashAlg": "SHA-1" }, { "hashAlg": "SHA2-224" }, { "hashAlg": "SHA2-512" }, { "hashAlg": "SHA2-384" }, { "hashAlg": "SHA2-256" } ] } ] }, { "sigType": "pss", "properties": [ { "modulo": 1024, "hashPair": [ { "hashAlg": "SHA2-512", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA-1", "saltLen": 0 } ] }, { "modulo": 2048, "hashPair": [ { "hashAlg": "SHA-1", "saltLen": 0 }, { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 }, { "hashAlg": "SHA2-512", "saltLen": 0 } ] }, { "modulo": 3072, "hashPair": [ { "hashAlg": "SHA2-512", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 }, { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA-1", "saltLen": 0 } ] }, { "modulo": 4096, "hashPair": [ { "hashAlg": "SHA-1", "saltLen": 0 }, { "hashAlg": "SHA2-224", "saltLen": 0 }, { "hashAlg": "SHA2-256", "saltLen": 0 }, { "hashAlg": "SHA2-384", "saltLen": 0 }, { "hashAlg": "SHA2-512", "saltLen": 0 } ] } ] } ], "mode": "sigVer" }, { "algorithm": "RSA", "mode": "keyGen", "revision": "FIPS186-4", "prereqVals": [ { "algorithm": "DRBG", "valValue": "same" }, { "algorithm": "SHA", "valValue": "same" } ], "infoGeneratedByServer": false, "pubExpMode": "random", "keyFormat": "standard", "capabilities": [ { "randPQ": "B.3.3", "properties": [ { "modulo": 2048, "primeTest": [ "tblC2" ] }, { "modulo": 3072, "primeTest": [ "tblC2" ] }, { "modulo": 4096, "primeTest": [ "tblC2" ] } ] } ] }, { "algorithm": "ctrDRBG", "revision": "1.0", "capabilities": [ { "mode": "AES-128", "nonceLen": [ 64 ], "derFuncEnabled": true, "persoStringLen": [ 0 ], "entropyInputLen": [ 128 ], "returnedBitsLen": 512, "additionalInputLen": [ 0 ] }, { "mode": "AES-128", "nonceLen": [ 64 ], "derFuncEnabled": false, "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 512, "additionalInputLen": [ 0 ] }, { "mode": "AES-192", "nonceLen": [ 128 ], "derFuncEnabled": true, "persoStringLen": [ 0 ], "entropyInputLen": [ 192 ], "returnedBitsLen": 1024, "additionalInputLen": [ 0 ] }, { "mode": "AES-192", "nonceLen": [ 96 ], "derFuncEnabled": false, "persoStringLen": [ 0 ], "entropyInputLen": [ 320 ], "returnedBitsLen": 1024, "additionalInputLen": [ 0 ] }, { "mode": "AES-256", "nonceLen": [ 128 ], "derFuncEnabled": true, "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 512, "additionalInputLen": [ 0 ] }, { "mode": "AES-256", "nonceLen": [ 128 ], "derFuncEnabled": false, "persoStringLen": [ 0 ], "entropyInputLen": [ 384 ], "returnedBitsLen": 512, "additionalInputLen": [ 0 ] } ], "predResistanceEnabled": [ false, true ], "reseedImplementedChange": true }, { "algorithm": "hashDRBG", "revision": "1.0", "capabilities": [ { "mode": "SHA-1", "nonceLen": [ 160 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 160 ], "returnedBitsLen": 320, "additionalInputLen": [ 0 ] }, { "mode": "SHA2-224", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 224, "additionalInputLen": [ 0 ] }, { "mode": "SHA2-256", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 1024, "additionalInputLen": [ 0, 256 ] }, { "mode": "SHA2-384", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 384, "additionalInputLen": [ 0 ] }, { "mode": "SHA2-512", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 2048, "additionalInputLen": [ 0 ] } ], "reseedImplemented": true, "predResistanceEnabled": [ false, true ] }, { "algorithm": "hmacDRBG", "revision": "1.0", "capabilities": [ { "mode": "SHA-1", "nonceLen": [ 160 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 160 ], "returnedBitsLen": 320, "additionalInputLen": [ 0 ] }, { "mode": "SHA2-224", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 224, "additionalInputLen": [ 0 ] }, { "mode": "SHA2-256", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 1024, "additionalInputLen": [ 0, 256 ] }, { "mode": "SHA2-384", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 384, "additionalInputLen": [ 0 ] }, { "mode": "SHA2-512", "nonceLen": [ 256 ], "persoStringLen": [ 0 ], "entropyInputLen": [ 256 ], "returnedBitsLen": 2048, "additionalInputLen": [ 0 ] } ], "reseedImplemented": true, "predResistanceEnabled": [ false, true ] }, { "algorithm": "PBKDF", "revision": "1.0", "prereqVals": [ { "algorithm": "SHA", "valValue": "same" } ], "capabilities": [ { "iterationCount": [ { "min": 10, "max": 1000 } ], "keyLen": [ { "min": 128, "max": 4096, "increment": 8 } ], "passwordLen": [ { "min": 8, "max": 128 } ], "saltLen": [ { "min": 128, "max": 4096, "increment": 8 } ], "hmacAlg": [ "SHA-1", "SHA2-224", "SHA2-256", "SHA2-384", "SHA2-512", "SHA3-224", "SHA3-256", "SHA3-384", "SHA3-512" ] } ] }, { "algorithm": "kdf-components", "mode": "tls", "revision": "1.0", "tlsVersion": [ "v1.2" ], "hashAlg": [ "SHA2-256", "SHA2-384" ] }, { "algorithm": "kdf-components", "mode": "ssh", "revision": "1.0", "hashAlg": [ "SHA-1", "SHA2-256", "SHA2-384", "SHA2-512" ], "cipher": [ "TDES", "AES-128", "AES-192", "AES-256" ] }, { "algorithm": "safePrimes", "mode": "keyGen", "revision": "1.0", "prereqVals": [ { "algorithm": "DRBG", "valValue": "same" } ], "safePrimeGroups": [ "ffdhe2048", "ffdhe3072", "ffdhe4096", "ffdhe6144", "ffdhe8192", "MODP-2048", "MODP-3072", "MODP-4096", "MODP-6144", "MODP-8192" ] }, { "algorithm": "safePrimes", "mode": "keyVer", "revision": "1.0", "prereqVals": [ { "algorithm": "DRBG", "valValue": "same" } ], "safePrimeGroups": [ "ffdhe2048", "ffdhe3072", "ffdhe4096", "ffdhe6144", "ffdhe8192", "MODP-2048", "MODP-3072", "MODP-4096", "MODP-6144", "MODP-8192" ] }, { "algorithm": "KAS-ECC", "mode": "CDH-Component", "revision": "Sp800-56Ar3", "prereqVals": [ { "algorithm": "ECDSA", "valValue": "same" } ], "function": [ "keyPairGen" ], "curve": [ "P-256", "P-384", "P-521" ] }, { "algorithm": "KAS-ECC", "mode": "Component", "revision": "1.0", "prereqVals": [ { "algorithm": "ECDSA", "valValue": "same" }, { "algorithm": "DRBG", "valValue": "same" }, { "algorithm": "SHA", "valValue": "same" } ], "function": [ "partialVal" ], "scheme": { "ephemeralUnified": { "kasRole": [ "initiator", "responder" ], "noKdfNoKc": { "parameterSet": { "ee": { "curve": "P-521", "hashAlg": [ "SHA2-512" ] }, "ed": { "curve": "P-384", "hashAlg": [ "SHA2-384" ] }, "ec": { "curve": "P-256", "hashAlg": [ "SHA2-256" ] }, "eb": { "curve": "P-224", "hashAlg": [ "SHA2-224" ] } } } } } }, { "algorithm": "KAS-ECC-SSC", "revision": "Sp800-56Ar3", "scheme": { "ephemeralUnified": { "kasRole": [ "initiator", "responder" ] } }, "domainParameterGenerationMethods": [ "P-224", "P-256", "P-384", "P-521" ], "hashFunctionZ": "SHA3-512" }, { "algorithm": "KAS-FFC-SSC", "revision": "Sp800-56Ar3", "scheme": { "dhEphem": { "kasRole": [ "initiator", "responder" ] } }, "domainParameterGenerationMethods": [ "ffdhe2048", "ffdhe3072", "ffdhe4096", "ffdhe6144", "ffdhe8192", "MODP-2048", "MODP-3072", "MODP-4096", "MODP-6144", "MODP-8192" ], "hashFunctionZ": "SHA3-512" }, { "algorithm": "KAS-KDF", "mode": "OneStep", "revision": "Sp800-56Cr1", "prereqVals": [ { "algorithm": "DRBG", "valValue": "same" }, { "algorithm": "SHA", "valValue": "same" } ], "auxFunctions": [ { "auxFunctionName": "SHA-1" }, { "auxFunctionName": "SHA2-224" }, { "auxFunctionName": "SHA2-256" }, { "auxFunctionName": "SHA2-384" }, { "auxFunctionName": "SHA2-512" } ], "fixedInfoPattern": "algorithmId||l||uPartyInfo||vPartyInfo", "encoding": [ "concatenation" ], "z": [ { "min": 8, "max": 8192, "increment": 8 } ], "l": 2048 } ] } ] Endpoint in which the error is experienced https://[acvpUrl]/acvp/[endpoint] GET
Expected behavior test session should download testSession response
Actual results "POST" path /acvp/v1/testsessions "headers\nHTTP/1.1 400 Bad Request\r\nTransfer-Encoding: chunked\r\nContent-Type: application/json; charset=utf-8\r\nServer: Microsoft-IIS/10.0\r\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\r\nDate: Wed, 05 Jan 2022 23:49:18 GMT\r\n\r\n" Registration failed "Validation error(s) on JSON payload.\nUnable to map SHA3-224-1.0 - index 7 to an internal algorithm id. Unable to map SHA3-256-1.0 - index 8 to an internal algorithm id. Unable to map SHA3-384-1.0 - index 9 to an internal algorithm id. Unable to map SHA3-512-1.0 - index 10 to an internal algorithm id. Unable to map ACVP-AES-XTS-1.0 - index 40 to an internal algorithm id. Unable to map kdf-components-tls-1.0 - index 60 to an internal algorithm id. KAS-KDF-OneStep-Sp800-56Cr1: Minimum z must be greater than or equal to 224 "
Additional context Add any other context about the problem here.