mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Implement HMAC key generation (#34278)
* Implement HMAC key generation Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
11dfbd6f90
commit
2485bd9a63
5 changed files with 263 additions and 1874 deletions
|
@ -1,76 +1,4 @@
|
|||
[ecdsa.https.any.worker.html]
|
||||
[generate wrong key step: ECDSA P-256 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-1 verification]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -755,80 +683,80 @@
|
|||
[importVectorKeys step: ECDSA P-521 with SHA-512 - The signature is all zeroes verification]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[ecdsa.https.any.html]
|
||||
[generate wrong key step: ECDSA P-256 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-256 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-384 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[generate wrong key step: ECDSA P-521 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-1 verification]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1512,3 +1440,75 @@
|
|||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-512 - The signature is all zeroes verification]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-1 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-256 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-384 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-512 signing with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-256 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-384 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-1 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-256 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-384 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
||||
[importVectorKeys step: ECDSA P-521 with SHA-512 verifying with wrong algorithm name]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue