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

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

Issue 26426002: [webcrypto] Add parameters for AES-GCM and RSA-OAEP to blink API. (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
Index: Source/modules/crypto/Algorithm.cpp
diff --git a/Source/modules/crypto/Algorithm.cpp b/Source/modules/crypto/Algorithm.cpp
index 9ffbf6fb45f6c4156b5697a23ae34efa408991d6..46f6b532795225ebe394b2ffed610da8b38ca342 100644
--- a/Source/modules/crypto/Algorithm.cpp
+++ b/Source/modules/crypto/Algorithm.cpp
@@ -38,6 +38,7 @@
#include "modules/crypto/NormalizeAlgorithm.h"
#include "modules/crypto/RsaKeyGenParams.h"
#include "modules/crypto/RsaSsaParams.h"
+#include "platform/NotImplemented.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -59,6 +60,11 @@ PassRefPtr<Algorithm> Algorithm::create(const WebKit::WebCryptoAlgorithm& algori
return RsaSsaParams::create(algorithm);
case WebKit::WebCryptoAlgorithmParamsTypeRsaKeyGenParams:
return RsaKeyGenParams::create(algorithm);
+ case WebKit::WebCryptoAlgorithmParamsTypeAesGcmParams:
+ case WebKit::WebCryptoAlgorithmParamsTypeRsaOaepParams:
+ // TODO
+ notImplemented();
+ break;
}
ASSERT_NOT_REACHED();
return 0;
« no previous file with comments | « Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698