Bug 1894306 - WebCrypto web platform tests failure due to wrong return value r=jschanck

Differential Revision: https://phabricator.services.mozilla.com/D209042
This commit is contained in:
Nuohan Li 2024-05-01 16:31:33 +00:00
parent 476ed793c6
commit 6d94b98e3a
5 changed files with 3 additions and 497 deletions

View File

@ -1112,7 +1112,7 @@ class AsymmetricSignVerifyTask : public WebCryptoTask {
mEarlyRv = GetAlgorithmName(aCx, params.mHash, hashAlgName);
if (NS_FAILED(mEarlyRv)) {
mEarlyRv = NS_ERROR_DOM_SYNTAX_ERR;
mEarlyRv = NS_ERROR_DOM_NOT_SUPPORTED_ERR;
return;
}
} else {
@ -2424,7 +2424,7 @@ class DeriveHkdfBitsTask : public ReturnArrayBufferViewTask {
// length must be greater than zero.
if (aLength == 0) {
mEarlyRv = NS_ERROR_DOM_DATA_ERR;
mEarlyRv = NS_ERROR_DOM_OPERATION_ERR;
return;
}
@ -2768,7 +2768,7 @@ class DeriveEcdhBitsTask : public ReturnArrayBufferViewTask {
nsString curve2 = publicKey->Algorithm().mEc.mNamedCurve;
if (!curve1.Equals(curve2)) {
mEarlyRv = NS_ERROR_DOM_DATA_ERR;
mEarlyRv = NS_ERROR_DOM_INVALID_ACCESS_ERR;
return;
}
}

View File

@ -37,15 +37,6 @@
[P-384 public property of algorithm is not a CryptoKey]
expected: FAIL
[P-521 mismatched curves]
expected: FAIL
[P-256 mismatched curves]
expected: FAIL
[P-384 mismatched curves]
expected: FAIL
[P-521 asking for too many bits]
expected: FAIL
@ -95,15 +86,6 @@
[P-384 public property of algorithm is not a CryptoKey]
expected: FAIL
[P-521 mismatched curves]
expected: FAIL
[P-256 mismatched curves]
expected: FAIL
[P-384 mismatched curves]
expected: FAIL
[P-521 asking for too many bits]
expected: FAIL

View File

@ -19,15 +19,6 @@
[P-384 public property of algorithm is not a CryptoKey]
expected: FAIL
[P-521 mismatched curves]
expected: FAIL
[P-256 mismatched curves]
expected: FAIL
[P-384 mismatched curves]
expected: FAIL
[ecdh_keys.https.any.worker.html]
expected:
@ -49,12 +40,3 @@
[P-384 public property of algorithm is not a CryptoKey]
expected: FAIL
[P-521 mismatched curves]
expected: FAIL
[P-256 mismatched curves]
expected: FAIL
[P-384 mismatched curves]
expected: FAIL

View File

@ -7,189 +7,114 @@
[short derivedKey, empty salt, SHA-1, with empty info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
@ -1821,295 +1746,178 @@
[hkdf.https.any.html?1-1000]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[short derivedKey, normal salt, SHA-384, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with 0 length]
expected: FAIL
[hkdf.https.any.html?2001-3000]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[long derivedKey, empty salt, SHA-512, with normal info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with normal info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with normal info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with normal info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with non-multiple of 8 length]
expected: FAIL
@ -4917,18 +4725,9 @@
[hkdf.https.any.worker.html?1001-2000]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[long derivedKey, normal salt, SHA-512, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with missing info]
expected: FAIL
@ -4947,69 +4746,36 @@
[long derivedKey, normal salt, SHA-384, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
@ -5019,51 +4785,27 @@
[long derivedKey, normal salt, SHA-256, with normal info with missing salt]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-1, with normal info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with non-multiple of 8 length]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with empty info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-384, with normal info with null length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with missing info]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with 0 length]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with 0 length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
@ -5079,15 +4821,9 @@
[long derivedKey, empty salt, SHA-384, with empty info with missing info]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with empty info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-256, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-256, with normal info with non-multiple of 8 length]
expected: FAIL
@ -5100,9 +4836,6 @@
[long derivedKey, normal salt, SHA-1, with normal info with missing salt]
expected: FAIL
[long derivedKey, normal salt, SHA-512, with normal info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-384, with empty info with missing salt]
expected: FAIL
@ -5113,15 +4846,9 @@
[hkdf.https.any.worker.html?1-1000]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[short derivedKey, normal salt, SHA-1, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with non-multiple of 8 length]
expected: FAIL
@ -5131,12 +4858,6 @@
[short derivedKey, normal salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with missing info]
expected: FAIL
@ -5155,15 +4876,9 @@
[short derivedKey, empty salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with missing info]
expected: FAIL
@ -5182,48 +4897,18 @@
[short derivedKey, normal salt, SHA-512, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with missing info]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with non-multiple of 8 length]
expected: FAIL
@ -5233,24 +4918,12 @@
[short derivedKey, normal salt, SHA-256, with normal info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with empty info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with non-multiple of 8 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with normal info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-384, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-512, with empty info with missing info]
expected: FAIL
@ -5263,9 +4936,6 @@
[short derivedKey, normal salt, SHA-1, with empty info with missing salt]
expected: FAIL
[short derivedKey, empty salt, SHA-384, with empty info with null length]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with non-multiple of 8 length]
expected: FAIL
@ -5278,27 +4948,9 @@
[short derivedKey, normal salt, SHA-256, with normal info with missing info]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with normal info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with empty info with 0 length]
expected: FAIL
[short derivedKey, normal salt, SHA-256, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-1, with empty info with 0 length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with normal info with missing salt]
expected: FAIL
[short derivedKey, normal salt, SHA-1, with normal info with null length]
expected: FAIL
[short derivedKey, empty salt, SHA-512, with empty info with missing salt]
expected: FAIL
@ -5321,9 +4973,6 @@
[Derived key of type name: AES-CBC length: 128 using empty derivedKey, normal salt, SHA-384, with normal info]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with null length]
expected: FAIL
[Derived key of type name: AES-GCM length: 192 using empty derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384]
expected: FAIL
@ -5504,9 +5153,6 @@
[Derived key of type name: HMAC hash: SHA-384 length: 256 using empty derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with normal info with 0 length]
expected: FAIL
[Derived key of type name: AES-CTR length: 128 using empty derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1]
expected: FAIL
@ -5522,9 +5168,6 @@
[Derived key of type name: HMAC hash: SHA-1 length: 256 using empty derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with 0 length]
expected: FAIL
[Derived key of type name: AES-CTR length: 256 using empty derivedKey, normal salt, SHA-384, with empty info]
expected: FAIL
@ -5576,9 +5219,6 @@
[Derived key of type name: AES-CTR length: 256 using empty derivedKey, normal salt, SHA-1, with empty info with bad hash name SHA1]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with 0 length]
expected: FAIL
[Derived key of type name: HMAC hash: SHA-512 length: 256 using empty derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1]
expected: FAIL
@ -5594,9 +5234,6 @@
[Derived key of type name: AES-KW length: 256 using empty derivedKey, normal salt, SHA-512, with normal info]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with 0 length]
expected: FAIL
[Derived key of type name: AES-GCM length: 192 using empty derivedKey, normal salt, SHA-1, with empty info with missing deriveKey usage]
expected: FAIL
@ -5861,15 +5498,9 @@
[Derived key of type name: AES-KW length: 128 using empty derivedKey, normal salt, SHA-1, with normal info with bad hash name SHA1]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with normal info with null length]
expected: FAIL
[Derived key of type name: AES-CTR length: 128 using empty derivedKey, normal salt, SHA-384, with empty info]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with empty info with null length]
expected: FAIL
[Derived key of type name: HMAC hash: SHA-384 length: 256 using empty derivedKey, normal salt, SHA-384, with empty info with bad hash name SHA384]
expected: FAIL
@ -6014,9 +5645,6 @@
[empty derivedKey, normal salt, SHA-1, with empty info with missing deriveBits usage]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with 0 length]
expected: FAIL
[empty derivedKey, normal salt, SHA-512, with normal info with 0 length]
expected: FAIL
@ -6137,12 +5765,6 @@
[Derived key of type name: HMAC hash: SHA-256 length: 256 using empty derivedKey, normal salt, SHA-256, with normal info with missing deriveKey usage]
expected: FAIL
[long derivedKey, empty salt, SHA-1, with empty info with null length]
expected: FAIL
[long derivedKey, empty salt, SHA-256, with normal info with 0 length]
expected: FAIL
[Derived key of type name: AES-KW length: 256 using empty derivedKey, normal salt, SHA-512, with normal info with missing deriveKey usage]
expected: FAIL
@ -6209,9 +5831,6 @@
[Derived key of type name: AES-CTR length: 192 using empty derivedKey, normal salt, SHA-384, with normal info]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with empty info with null length]
expected: FAIL
[Derived key of type name: AES-CTR length: 192 using empty derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage]
expected: FAIL
@ -6374,9 +5993,6 @@
[Derived key of type name: AES-CTR length: 128 using empty derivedKey, normal salt, SHA-384, with normal info with missing deriveKey usage]
expected: FAIL
[long derivedKey, empty salt, SHA-512, with normal info with null length]
expected: FAIL
[Derived key of type name: AES-CTR length: 192 using empty derivedKey, normal salt, SHA-512, with empty info with bad hash name SHA512]
expected: FAIL

View File

@ -1,74 +0,0 @@
[ecdsa.https.any.worker.html]
[ECDSA P-256 with SHA-1 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-256 with SHA-256 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-256 with SHA-384 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-256 with SHA-512 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-1 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-256 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-384 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-512 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-1 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-256 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-384 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-512 verification failure due to bad hash name]
expected: FAIL
[ecdsa.https.any.html]
[ECDSA P-256 with SHA-1 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-256 with SHA-256 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-256 with SHA-384 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-256 with SHA-512 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-1 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-256 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-384 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-384 with SHA-512 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-1 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-256 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-384 verification failure due to bad hash name]
expected: FAIL
[ECDSA P-521 with SHA-512 verification failure due to bad hash name]
expected: FAIL