| Index: content/child/webcrypto/status.cc
|
| diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
|
| index ff69b31212b3351ba6258c96c578c2f34df252d3..861d27b3514db351118e644fe7b11081cd48eae3 100644
|
| --- a/content/child/webcrypto/status.cc
|
| +++ b/content/child/webcrypto/status.cc
|
| @@ -341,6 +341,18 @@ Status Status::ErrorHkdfDeriveBitsLengthNotSpecified() {
|
| "No length was specified for the HKDF Derive Bits operation.");
|
| }
|
|
|
| +Status Status::ErrorPbkdf2InvalidLength() {
|
| + return Status(
|
| + blink::WebCryptoErrorTypeOperation,
|
| + "Length for PBKDF2 key derivation must be a multiple of 8 bits.");
|
| +}
|
| +
|
| +Status Status::ErrorPbkdf2DeriveBitsLengthNotSpecified() {
|
| + return Status(
|
| + blink::WebCryptoErrorTypeOperation,
|
| + "No length was specified for the PBKDF2 Derive Bits operation.");
|
| +}
|
| +
|
| Status::Status(blink::WebCryptoErrorType error_type,
|
| const std::string& error_details_utf8)
|
| : type_(TYPE_ERROR),
|
|
|