| Index: content/child/webcrypto/status.cc
|
| diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
|
| index abadf001eabe73128b3da19c0ce066462ea39e28..fd426f87b3942b0ed2b2932e2a5b671d22932b61 100644
|
| --- a/content/child/webcrypto/status.cc
|
| +++ b/content/child/webcrypto/status.cc
|
| @@ -328,6 +328,16 @@ Status Status::ErrorEcdhLengthTooBig(unsigned int max_length_bits) {
|
| max_length_bits));
|
| }
|
|
|
| +Status Status::ErrorHkdfLengthTooLong() {
|
| + return Status(blink::WebCryptoErrorTypeOperation,
|
| + "The length provided for HKDF is too large.");
|
| +}
|
| +
|
| +Status Status::ErrorHkdfDeriveBitsLengthNotSpecified() {
|
| + return Status(blink::WebCryptoErrorTypeType,
|
| + "Length must be specified for deriveBits.");
|
| +}
|
| +
|
| Status::Status(blink::WebCryptoErrorType error_type,
|
| const std::string& error_details_utf8)
|
| : type_(TYPE_ERROR),
|
|
|