| Index: components/webcrypto/status.cc
|
| diff --git a/components/webcrypto/status.cc b/components/webcrypto/status.cc
|
| index 4747a7f0864ab35fda0d8c76c5215302686da670..f0d25ff435ecdceeece001934160b511b2607b43 100644
|
| --- a/components/webcrypto/status.cc
|
| +++ b/components/webcrypto/status.cc
|
| @@ -351,6 +351,12 @@ Status Status::ErrorPbkdf2DeriveBitsLengthNotSpecified() {
|
| "No length was specified for the PBKDF2 Derive Bits operation.");
|
| }
|
|
|
| +Status Status::ErrorPbkdf2DeriveBitsLengthZero() {
|
| + return Status(
|
| + blink::WebCryptoErrorTypeOperation,
|
| + "A length of 0 was specified for PBKDF2's Derive Bits operation.");
|
| +}
|
| +
|
| Status Status::ErrorPbkdf2Iterations0() {
|
| return Status(blink::WebCryptoErrorTypeOperation,
|
| "PBKDF2 requires iterations > 0");
|
|
|