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

Unified Diff: components/webcrypto/status.h

Issue 2289033002: Require extractable=false for KDF import (Closed)
Patch Set: update another test Created 4 years, 3 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 | « components/webcrypto/algorithms/pbkdf2.cc ('k') | components/webcrypto/status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webcrypto/status.h
diff --git a/components/webcrypto/status.h b/components/webcrypto/status.h
index 73397d3f92a037541bce9f0cb14deb2df7ab8ffc..5933623e848d2f7bab70bca759e8597cbac74a5a 100644
--- a/components/webcrypto/status.h
+++ b/components/webcrypto/status.h
@@ -273,6 +273,10 @@ class Status {
// PBKDF2 was called with iterations == 0.
static Status ErrorPbkdf2Iterations0();
+ // Tried importing a key with extractable=true for one of the *KDF
+ // algorithms.
+ static Status ErrorImportExtractableKdfKey();
+
private:
enum Type { TYPE_ERROR, TYPE_SUCCESS };
« no previous file with comments | « components/webcrypto/algorithms/pbkdf2.cc ('k') | components/webcrypto/status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698