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

Unified Diff: LayoutTests/crypto/normalize-algorithm-expected.txt

Issue 21759002: WebCrypto: Add algorithm normalization rules for RSASSA-PKCS1-v1_5. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 7 years, 5 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/normalize-algorithm.html ('k') | Source/bindings/v8/custom/V8AlgorithmCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/normalize-algorithm-expected.txt
diff --git a/LayoutTests/crypto/normalize-algorithm-expected.txt b/LayoutTests/crypto/normalize-algorithm-expected.txt
index bcf96a0110d6782bdfab70c4832bd33bf7dac5e8..1ca9448c96b68265ec2a3b3914a62dbc44382064 100644
--- a/LayoutTests/crypto/normalize-algorithm-expected.txt
+++ b/LayoutTests/crypto/normalize-algorithm-expected.txt
@@ -20,7 +20,7 @@ PASS algorithm.name is 'AES-CBC'
PASS algorithm.iv.length is 16
PASS algorithm.iv[3] is 3
PASS algorithm.iv[3] is 3
-PASS normalizeEncrypt(rawAlgorithm) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeEncrypt(rawAlgorithm, aesCbcKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS algorithm.name is 'SHA-384'
PASS algorithm.name is 'SHA-384'
PASS algorithm.name is 'AES-CBC'
@@ -29,14 +29,20 @@ PASS algorithm.iv[1] is 1
PASS algorithm.name is 'AES-CBC'
PASS algorithm.iv.length is 16
PASS algorithm.iv[1] is 1
-PASS normalizeEncrypt({ name: 'SHA-1' }) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeEncrypt({ name: 'SHA-1' }, aesCbcKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS normalizeDigest({ name: 'AES-CBC', iv: originalIv }) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
-PASS normalizeSign({name: 'hmac'}) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
-PASS normalizeSign({name: 'hmac', hash: 'foo'}) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
-PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeSign({name: 'hmac'}, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeSign({name: 'hmac', hash: 'foo'}, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS algorithm.name is 'HMAC'
PASS algorithm.hash.name is 'SHA-1'
-PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeEncrypt(validHmacSha1, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5'}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5', hash: 'foo'}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS normalizeSign({name: 'RSASSA-PKCS1-v1_5', hash: { name: 'AES-CBC', iv: originalIv }}, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS algorithm.name is 'RSASSA-PKCS1-v1_5'
+PASS algorithm.hash.name is 'SHA-256'
+PASS normalizeEncrypt(validRsaSsa, rsaSsaKey) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS crypto.subtle.encrypt(algorithmIdentifier, aesCbcKeyNoEncrypt) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS crypto.subtle.encrypt(algorithmIdentifier, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS crypto.subtle.sign(algorithmIdentifier, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/bindings/v8/custom/V8AlgorithmCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698