Index: content/child/webcrypto/status.cc |
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc |
index 0d71b4826dc3efa3ec272277ce10a3a83a2069c5..b3f7c3c01482d4660afc2f1552297f9f0c1e4787 100644 |
--- a/content/child/webcrypto/status.cc |
+++ b/content/child/webcrypto/status.cc |
@@ -150,6 +150,21 @@ Status Status::ErrorIncorrectSizeAesCbcIv() { |
"The \"iv\" has an unexpected length -- must be 16 bytes"); |
} |
+Status Status::ErrorIncorrectSizeAesCtrCounter() { |
+ return Status(blink::WebCryptoErrorTypeData, |
+ "The \"counter\" has an unexpected length -- must be 16 bytes"); |
+} |
+ |
+Status Status::ErrorInvalidAesCtrCounterLength() { |
+ return Status(blink::WebCryptoErrorTypeData, |
+ "The \"length\" property must be >= 1 and <= 128"); |
+} |
+ |
+Status Status::ErrorAesCtrInputTooLongCounterRepeated() { |
+ return Status(blink::WebCryptoErrorTypeData, |
+ "The input is too large for the counter length."); |
+} |
+ |
Status Status::ErrorDataTooLarge() { |
return Status(blink::WebCryptoErrorTypeData, |
"The provided data is too large"); |