Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: LayoutTests/crypto/sign-verify-expected.txt

Issue 39093002: [webcrypto] Add some more layouttests for crypto.subtle.digest() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/crypto/sign-verify.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/sign-verify-expected.txt
diff --git a/LayoutTests/crypto/sign-verify-expected.txt b/LayoutTests/crypto/sign-verify-expected.txt
index 754a136be9983e7b0191db7d744c22ef234da978..23e6bc613f7cc606518f87c6afd2bbfcc4fc4e7b 100644
--- a/LayoutTests/crypto/sign-verify-expected.txt
+++ b/LayoutTests/crypto/sign-verify-expected.txt
@@ -15,7 +15,7 @@ PASS crypto.subtle.sign({name: 'hmac', hash: null}, keys.hmacSha1, data) threw e
PASS crypto.subtle.sign({name: 'hmac', hash: {}}, keys.hmacSha1, data) threw exception TypeError: Algorithm: HMAC: HmacParams: hash: Algorithm: name: Missing or not a string.
PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'foo'}}, keys.hmacSha1, data) threw exception NotSupportedError: Algorithm: HMAC: HmacParams: hash: Algorithm: Unrecognized algorithm name.
PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'AES-CBC'}}, keys.hmacSha1, data) threw exception NotSupportedError: Algorithm: HMAC: HmacParams: hash: Algorithm: AES-CBC: Unsupported operation.
-PASS signResult is '[89 0d 9b 89 4b 23 97 69 ac 77 25 04 66 dc e4 2a f9 26 ed 76]'
+PASS: HMAC SHA1 signature should be [890d9b894b239769ac77250466dce42af926ed76] and was
PASS verifyResult is true
PASS verifyResult is false
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/crypto/sign-verify.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698