aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/WebCryptoAPI
diff options
context:
space:
mode:
authorDaniel Adams <70986246+msub2@users.noreply.github.com>2024-11-21 12:50:32 -1000
committerGitHub <noreply@github.com>2024-11-21 22:50:32 +0000
commitbd9843405a04c062df982ef9fa917bbb756149a9 (patch)
treed373a62ae2252484b371159db24c219590e1e450 /tests/wpt/meta/WebCryptoAPI
parent108e316aa602a502b98c4f8a8460599b66aa81bd (diff)
downloadservo-bd9843405a04c062df982ef9fa917bbb756149a9.tar.gz
servo-bd9843405a04c062df982ef9fa917bbb756149a9.zip
crypto: Fix 192-bit checks for AES-GCM encrypt/decrypt (#34333)
* Fix 192-bit key length check for AES-GCM encrypt/decrypt Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update expectations - Regenerated legacy ones as they had outdated expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add missed expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
Diffstat (limited to 'tests/wpt/meta/WebCryptoAPI')
-rw-r--r--tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js.ini192
-rw-r--r--tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js.ini192
2 files changed, 0 insertions, 384 deletions
diff --git a/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js.ini b/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js.ini
index f8cf439d2fd..e792801605d 100644
--- a/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js.ini
+++ b/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js.ini
@@ -1,88 +1,4 @@
[aes_gcm.https.any.html]
- [AES-GCM 192-bit key, 32-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 32-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
[AES-GCM 128-bit key, 32-bit tag, 96-bit iv decryption]
expected: FAIL
@@ -155,12 +71,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv decryption]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv decryption]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv decryption]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 96-bit iv decryption]
expected: FAIL
@@ -269,12 +179,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv decryption with altered ciphertext]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv decryption with altered ciphertext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv decryption with altered ciphertext]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 96-bit iv decryption with altered ciphertext]
expected: FAIL
@@ -313,90 +217,6 @@
[aes_gcm.https.any.worker.html]
- [AES-GCM 192-bit key, 32-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 32-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv with altered plaintext]
- expected: FAIL
-
[AES-GCM 128-bit key, 32-bit tag, 96-bit iv decryption]
expected: FAIL
@@ -469,12 +289,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv decryption]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv decryption]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv decryption]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 96-bit iv decryption]
expected: FAIL
@@ -583,12 +397,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 96-bit iv decryption with altered ciphertext]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 96-bit iv decryption with altered ciphertext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 96-bit iv decryption with altered ciphertext]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 96-bit iv decryption with altered ciphertext]
expected: FAIL
diff --git a/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js.ini b/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js.ini
index 83bde69e61f..b3c703616e3 100644
--- a/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js.ini
+++ b/tests/wpt/meta/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js.ini
@@ -1,88 +1,4 @@
[aes_gcm_256_iv.https.any.worker.html]
- [AES-GCM 192-bit key, 32-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 32-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
[AES-GCM 128-bit key, 32-bit tag, 256-bit iv decryption]
expected: FAIL
@@ -155,12 +71,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv decryption]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv decryption]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv decryption]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 256-bit iv decryption]
expected: FAIL
@@ -269,12 +179,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv decryption with altered ciphertext]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv decryption with altered ciphertext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv decryption with altered ciphertext]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 256-bit iv decryption with altered ciphertext]
expected: FAIL
@@ -313,90 +217,6 @@
[aes_gcm_256_iv.https.any.html]
- [AES-GCM 192-bit key, 32-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv]
- expected: FAIL
-
- [AES-GCM 192-bit key, 32-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 32-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 64-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 64-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 96-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 96-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 104-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 104-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 112-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 112-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 120-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv with altered plaintext]
- expected: FAIL
-
[AES-GCM 128-bit key, 32-bit tag, 256-bit iv decryption]
expected: FAIL
@@ -469,12 +289,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv decryption]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv decryption]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv decryption]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 256-bit iv decryption]
expected: FAIL
@@ -583,12 +397,6 @@
[AES-GCM 192-bit key, no additional data, 120-bit tag, 256-bit iv decryption with altered ciphertext]
expected: FAIL
- [AES-GCM 192-bit key, 128-bit tag, 256-bit iv decryption with altered ciphertext]
- expected: FAIL
-
- [AES-GCM 192-bit key, no additional data, 128-bit tag, 256-bit iv decryption with altered ciphertext]
- expected: FAIL
-
[AES-GCM 256-bit key, 32-bit tag, 256-bit iv decryption with altered ciphertext]
expected: FAIL