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 }; |