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

Unified Diff: Source/platform/exported/WebCryptoKeyAlgorithm.cpp

Issue 820523003: [webcrypto] Implement PBKDF2 (blink-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added Layout tests Created 5 years, 11 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/platform/exported/WebCryptoKeyAlgorithm.cpp
diff --git a/Source/platform/exported/WebCryptoKeyAlgorithm.cpp b/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
index bef587d0d25dbd6e796cacba6688ed7e2bc256b6..fac9c2d162261ec5e533cbfb386da7023af7bd54 100644
--- a/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
+++ b/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
@@ -93,6 +93,11 @@ WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createEc(WebCryptoAlgorithmId id, W
return WebCryptoKeyAlgorithm(id, adoptPtr(new WebCryptoEcKeyAlgorithmParams(namedCurve)));
}
+WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createPbkdf2(WebCryptoAlgorithmId id)
+{
+ return WebCryptoKeyAlgorithm(id, adoptPtr(new WebCryptoPbkdf2KeyAlgorithmParams()));
+}
+
bool WebCryptoKeyAlgorithm::isNull() const
{
return m_private.isNull();

Powered by Google App Engine
This is Rietveld 408576698