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

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
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index cbebd0fc34bf9d4a284c1745e032a87a69bfa14f..a021555f896373427df59699c374724b5242f888 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -262,6 +262,12 @@ 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();
+
private:
enum Type { TYPE_ERROR, TYPE_SUCCESS };

Powered by Google App Engine
This is Rietveld 408576698