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

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: 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
« no previous file with comments | « content/child/webcrypto/platform_crypto.h ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index cbebd0fc34bf9d4a284c1745e032a87a69bfa14f..9e0082bdeb0da11463b40d5c5b0398d203c16e74 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -262,6 +262,15 @@ 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.
+ static Status ErrorPbkdf2InvalidLength();
+
+ // No length parameter was provided for PBKDF2's Derive Bits operation.
+ static Status ErrorPbkdf2DeriveBitsLengthNotSpecified();
+
+ // An empty password was provided for PBKDF2
+ static Status ErrorPbkdf2EmptyPassword();
+
private:
enum Type { TYPE_ERROR, TYPE_SUCCESS };
« no previous file with comments | « content/child/webcrypto/platform_crypto.h ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698