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

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

Issue 267323009: [webcrypto] Add deriveBits key_op to JWK import/export. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/jwk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/webcrypto_util.cc
diff --git a/content/child/webcrypto/webcrypto_util.cc b/content/child/webcrypto/webcrypto_util.cc
index c6bf4b20a826ca1894cbcb3d3220fb3cead1a29d..85b8fcc02367bfca9f90cce7b27bf07cd8d293cb 100644
--- a/content/child/webcrypto/webcrypto_util.cc
+++ b/content/child/webcrypto/webcrypto_util.cc
@@ -67,7 +67,7 @@ const JwkToWebCryptoUsage kJwkWebCryptoUsageMap[] = {
{"encrypt", blink::WebCryptoKeyUsageEncrypt},
{"decrypt", blink::WebCryptoKeyUsageDecrypt},
{"deriveKey", blink::WebCryptoKeyUsageDeriveKey},
- // TODO(padolph): Add 'deriveBits' once supported by Blink.
+ {"deriveBits", blink::WebCryptoKeyUsageDeriveBits},
{"sign", blink::WebCryptoKeyUsageSign},
{"unwrapKey", blink::WebCryptoKeyUsageUnwrapKey},
{"verify", blink::WebCryptoKeyUsageVerify},
« no previous file with comments | « content/child/webcrypto/jwk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698