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

Unified Diff: content/child/webcrypto/status.h

Issue 797723006: Implement PBKDF2 (except for generateKey) using BoringSSL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pbkdf2
Patch Set: Rebased 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: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index cbebd0fc34bf9d4a284c1745e032a87a69bfa14f..a2c9e0d328abc5ddddbcc5a71e5ab2538c705552 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -261,6 +261,11 @@ class CONTENT_EXPORT Status {
// No length parameter was provided for HKDF's Derive Bits operation.
static Status ErrorHkdfDeriveBitsLengthNotSpecified();
+ // The requested bit length for PBKDF2 key derivation was invalid.
eroman 2015/01/14 20:44:58 nit: Add a newline separating from previous line.
xun.sun 2015/01/15 17:21:17 Done.
+ static Status ErrorPbkdf2InvalidLength();
+
+ // No length parameter was provided for PBKDF2's Derive Bits operation.
+ static Status ErrorPbkdf2DeriveBitsLengthNotSpecified();
private:
enum Type { TYPE_ERROR, TYPE_SUCCESS };

Powered by Google App Engine
This is Rietveld 408576698