Index: content/child/webcrypto/webcrypto_util.h |
diff --git a/content/child/webcrypto/webcrypto_util.h b/content/child/webcrypto/webcrypto_util.h |
index 26b4675f059cf5582cc2eb979e095de8d616ad71..3522390aa9f3aee131a4897fb9a72187eb1af7ab 100644 |
--- a/content/child/webcrypto/webcrypto_util.h |
+++ b/content/child/webcrypto/webcrypto_util.h |
@@ -44,6 +44,11 @@ CONTENT_EXPORT blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm( |
blink::WebCryptoAlgorithmId id, |
blink::WebCryptoAlgorithmId hash_id); |
+// Creates an import algorithm for EC keys. |
+CONTENT_EXPORT blink::WebCryptoAlgorithm CreateEcImportAlgorithm( |
+ blink::WebCryptoAlgorithmId id, |
+ blink::WebCryptoNamedCurve named_curve); |
+ |
// Returns true if the set bits in b make up a subset of the set bits in a. |
bool ContainsKeyUsages(blink::WebCryptoKeyUsageMask a, |
blink::WebCryptoKeyUsageMask b); |