forked from LadybirdBrowser/ladybird
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb: Support
RSA-PSS
in WebCryptoAPI
- Loading branch information
Showing
10 changed files
with
1,419 additions
and
57 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 50 additions & 50 deletions
100
Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/rsa_importKey.https.any.txt
Large diffs are not rendered by default.
Oops, something went wrong.
103 changes: 103 additions & 0 deletions
103
Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
Harness status: OK | ||
|
||
Found 97 tests | ||
|
||
67 Pass | ||
30 Fail | ||
Pass setup | ||
Fail importVectorKeys step: RSA-PSS with SHA-1 and no salt signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-256 and no salt signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-384 and no salt signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-512 and no salt signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-1, salted signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-256, salted signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-384, salted signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-512, salted signing with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-1 and no salt verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-256 and no salt verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-384 and no salt verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-512 and no salt verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-1, salted verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-256, salted verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-384, salted verification with wrong algorithm name | ||
Fail importVectorKeys step: RSA-PSS with SHA-512, salted verification with wrong algorithm name | ||
Fail RSA-PSS with SHA-1 and no salt verification | ||
Pass RSA-PSS with SHA-256 and no salt verification | ||
Pass RSA-PSS with SHA-384 and no salt verification | ||
Pass RSA-PSS with SHA-512 and no salt verification | ||
Fail RSA-PSS with SHA-1, salted verification | ||
Pass RSA-PSS with SHA-256, salted verification | ||
Pass RSA-PSS with SHA-384, salted verification | ||
Pass RSA-PSS with SHA-512, salted verification | ||
Fail RSA-PSS with SHA-1 and no salt verification with altered signature after call | ||
Pass RSA-PSS with SHA-256 and no salt verification with altered signature after call | ||
Pass RSA-PSS with SHA-384 and no salt verification with altered signature after call | ||
Pass RSA-PSS with SHA-512 and no salt verification with altered signature after call | ||
Fail RSA-PSS with SHA-1, salted verification with altered signature after call | ||
Pass RSA-PSS with SHA-256, salted verification with altered signature after call | ||
Pass RSA-PSS with SHA-384, salted verification with altered signature after call | ||
Pass RSA-PSS with SHA-512, salted verification with altered signature after call | ||
Fail RSA-PSS with SHA-1 and no salt with altered plaintext after call | ||
Pass RSA-PSS with SHA-256 and no salt with altered plaintext after call | ||
Pass RSA-PSS with SHA-384 and no salt with altered plaintext after call | ||
Pass RSA-PSS with SHA-512 and no salt with altered plaintext after call | ||
Fail RSA-PSS with SHA-1, salted with altered plaintext after call | ||
Pass RSA-PSS with SHA-256, salted with altered plaintext after call | ||
Pass RSA-PSS with SHA-384, salted with altered plaintext after call | ||
Pass RSA-PSS with SHA-512, salted with altered plaintext after call | ||
Pass RSA-PSS with SHA-1 and no salt using privateKey to verify | ||
Pass RSA-PSS with SHA-256 and no salt using privateKey to verify | ||
Pass RSA-PSS with SHA-384 and no salt using privateKey to verify | ||
Pass RSA-PSS with SHA-512 and no salt using privateKey to verify | ||
Pass RSA-PSS with SHA-1, salted using privateKey to verify | ||
Pass RSA-PSS with SHA-256, salted using privateKey to verify | ||
Pass RSA-PSS with SHA-384, salted using privateKey to verify | ||
Pass RSA-PSS with SHA-512, salted using privateKey to verify | ||
Pass RSA-PSS with SHA-1 and no salt using publicKey to sign | ||
Pass RSA-PSS with SHA-256 and no salt using publicKey to sign | ||
Pass RSA-PSS with SHA-384 and no salt using publicKey to sign | ||
Pass RSA-PSS with SHA-512 and no salt using publicKey to sign | ||
Pass RSA-PSS with SHA-1, salted using publicKey to sign | ||
Pass RSA-PSS with SHA-256, salted using publicKey to sign | ||
Pass RSA-PSS with SHA-384, salted using publicKey to sign | ||
Pass RSA-PSS with SHA-512, salted using publicKey to sign | ||
Pass RSA-PSS with SHA-1 and no salt no verify usage | ||
Pass RSA-PSS with SHA-256 and no salt no verify usage | ||
Pass RSA-PSS with SHA-384 and no salt no verify usage | ||
Pass RSA-PSS with SHA-512 and no salt no verify usage | ||
Pass RSA-PSS with SHA-1, salted no verify usage | ||
Pass RSA-PSS with SHA-256, salted no verify usage | ||
Pass RSA-PSS with SHA-384, salted no verify usage | ||
Pass RSA-PSS with SHA-512, salted no verify usage | ||
Fail RSA-PSS with SHA-1 and no salt round trip | ||
Pass RSA-PSS with SHA-256 and no salt round trip | ||
Pass RSA-PSS with SHA-384 and no salt round trip | ||
Pass RSA-PSS with SHA-512 and no salt round trip | ||
Fail RSA-PSS with SHA-1, salted round trip | ||
Pass RSA-PSS with SHA-256, salted round trip | ||
Pass RSA-PSS with SHA-384, salted round trip | ||
Pass RSA-PSS with SHA-512, salted round trip | ||
Fail RSA-PSS with SHA-1 and no salt verification failure with altered signature | ||
Pass RSA-PSS with SHA-256 and no salt verification failure with altered signature | ||
Pass RSA-PSS with SHA-384 and no salt verification failure with altered signature | ||
Pass RSA-PSS with SHA-512 and no salt verification failure with altered signature | ||
Fail RSA-PSS with SHA-1, salted verification failure with altered signature | ||
Pass RSA-PSS with SHA-256, salted verification failure with altered signature | ||
Pass RSA-PSS with SHA-384, salted verification failure with altered signature | ||
Pass RSA-PSS with SHA-512, salted verification failure with altered signature | ||
Fail RSA-PSS with SHA-1 and no salt verification failure with wrong saltLength | ||
Pass RSA-PSS with SHA-256 and no salt verification failure with wrong saltLength | ||
Pass RSA-PSS with SHA-384 and no salt verification failure with wrong saltLength | ||
Pass RSA-PSS with SHA-512 and no salt verification failure with wrong saltLength | ||
Fail RSA-PSS with SHA-1, salted verification failure with wrong saltLength | ||
Pass RSA-PSS with SHA-256, salted verification failure with wrong saltLength | ||
Pass RSA-PSS with SHA-384, salted verification failure with wrong saltLength | ||
Pass RSA-PSS with SHA-512, salted verification failure with wrong saltLength | ||
Fail RSA-PSS with SHA-1 and no salt verification failure with altered plaintext | ||
Pass RSA-PSS with SHA-256 and no salt verification failure with altered plaintext | ||
Pass RSA-PSS with SHA-384 and no salt verification failure with altered plaintext | ||
Pass RSA-PSS with SHA-512 and no salt verification failure with altered plaintext | ||
Fail RSA-PSS with SHA-1, salted verification failure with altered plaintext | ||
Pass RSA-PSS with SHA-256, salted verification failure with altered plaintext | ||
Pass RSA-PSS with SHA-384, salted verification failure with altered plaintext | ||
Pass RSA-PSS with SHA-512, salted verification failure with altered plaintext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.