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

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

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 | « Source/modules/crypto/AesCbcParams.cpp ('k') | Source/modules/crypto/Algorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/AesKeyGenParams.cpp
diff --git a/Source/modules/crypto/AesKeyGenParams.cpp b/Source/modules/crypto/AesKeyGenParams.cpp
index 2fa560c367bfe2b5e97508575a6e366355cea57f..5df24f8fae88fdd86972877cda431bdb330bb9b4 100644
--- a/Source/modules/crypto/AesKeyGenParams.cpp
+++ b/Source/modules/crypto/AesKeyGenParams.cpp
@@ -43,6 +43,7 @@ unsigned short AesKeyGenParams::length() const
AesKeyGenParams::AesKeyGenParams(const WebKit::WebCryptoAlgorithm& algorithm)
: Algorithm(algorithm)
{
+ ASSERT(algorithm.aesKeyGenParams());
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/modules/crypto/AesCbcParams.cpp ('k') | Source/modules/crypto/Algorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698