Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: content/child/webcrypto/status.cc

Issue 328903003: [webcrypto] Remove support for AES 192-bit keys (2 of 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/webcrypto/status.cc
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
index cc2599ebf7de09d8d0485af761b8bb3bb1ed87b7..709e7c737f91916995d2b4835f7b52a62d4061fa 100644
--- a/content/child/webcrypto/status.cc
+++ b/content/child/webcrypto/status.cc
@@ -155,6 +155,11 @@ Status Status::ErrorUnexpected() {
"Something unexpected happened...");
}
+Status Status::ErrorAesGcm192Unsupported() {
+ return Status(blink::WebCryptoErrorTypeNotSupported,
+ "AES-GCM using 192-bit keys is not supported");
+}
+
Status Status::ErrorInvalidAesGcmTagLength() {
return Status(
blink::WebCryptoErrorTypeData,

Powered by Google App Engine
This is Rietveld 408576698