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

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: rebase onto master 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
« no previous file with comments | « content/child/webcrypto/status.h ('k') | content/test/data/webcrypto/aes_gcm.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.cc
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
index bc623f7349580da1db33e1643c93232531c3e261..5ddbf39e14090a65c1198c1cac256c46be1feb8b 100644
--- a/content/child/webcrypto/status.cc
+++ b/content/child/webcrypto/status.cc
@@ -125,6 +125,11 @@ Status Status::ErrorImportAesKeyLength() {
"AES key data must be 128, 192 or 256 bits");
}
+Status Status::ErrorAes192BitUnsupported() {
+ return Status(blink::WebCryptoErrorTypeNotSupported,
+ "192-bit AES keys are not supported");
+}
+
Status Status::ErrorUnexpectedKeyType() {
return Status(blink::WebCryptoErrorTypeInvalidAccess,
"The key is not of the expected type");
« no previous file with comments | « content/child/webcrypto/status.h ('k') | content/test/data/webcrypto/aes_gcm.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698