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

Unified Diff: Source/modules/crypto/NormalizeAlgorithm.cpp

Issue 194013003: [webcrypto] Remove support for SHA-224 (CL 1 or 3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oops add changed test expectations! Created 6 years, 9 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/digest-expected.txt ('k') | public/platform/WebCryptoAlgorithm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/NormalizeAlgorithm.cpp
diff --git a/Source/modules/crypto/NormalizeAlgorithm.cpp b/Source/modules/crypto/NormalizeAlgorithm.cpp
index 631982fc24063882c7e44b3e4ab6df45a301dab4..e17aa875cce420e5dca363d8b1b221a0e240027c 100644
--- a/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -74,7 +74,6 @@ const AlgorithmNameMapping algorithmNameMappings[] = {
{"RSASSA-PKCS1-v1_5", blink::WebCryptoAlgorithmIdRsaSsaPkcs1v1_5},
{"RSAES-PKCS1-v1_5", blink::WebCryptoAlgorithmIdRsaEsPkcs1v1_5},
{"SHA-1", blink::WebCryptoAlgorithmIdSha1},
- {"SHA-224", blink::WebCryptoAlgorithmIdSha224},
{"SHA-256", blink::WebCryptoAlgorithmIdSha256},
{"SHA-384", blink::WebCryptoAlgorithmIdSha384},
{"SHA-512", blink::WebCryptoAlgorithmIdSha512},
@@ -121,7 +120,6 @@ const OperationParamsMapping operationParamsMappings[] = {
// SHA-*
{blink::WebCryptoAlgorithmIdSha1, Digest, blink::WebCryptoAlgorithmParamsTypeNone},
- {blink::WebCryptoAlgorithmIdSha224, Digest, blink::WebCryptoAlgorithmParamsTypeNone},
{blink::WebCryptoAlgorithmIdSha256, Digest, blink::WebCryptoAlgorithmParamsTypeNone},
{blink::WebCryptoAlgorithmIdSha384, Digest, blink::WebCryptoAlgorithmParamsTypeNone},
{blink::WebCryptoAlgorithmIdSha512, Digest, blink::WebCryptoAlgorithmParamsTypeNone},
« no previous file with comments | « LayoutTests/crypto/digest-expected.txt ('k') | public/platform/WebCryptoAlgorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698