summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc')
-rw-r--r--chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc b/chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc
index 611c2b3bd43..c3fe37e7be4 100644
--- a/chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc
+++ b/chromium/third_party/blink/renderer/modules/crypto/crypto_histograms.cc
@@ -48,6 +48,10 @@ static WebFeature AlgorithmIdToFeature(WebCryptoAlgorithmId id) {
return WebFeature::kCryptoAlgorithmHkdf;
case kWebCryptoAlgorithmIdPbkdf2:
return WebFeature::kCryptoAlgorithmPbkdf2;
+ case kWebCryptoAlgorithmIdX25519:
+ return WebFeature::kCryptoAlgorithmX25519;
+ case kWebCryptoAlgorithmIdEd25519:
+ return WebFeature::kCryptoAlgorithmEd25519;
}
NOTREACHED();
@@ -100,6 +104,8 @@ void HistogramAlgorithm(ExecutionContext* context,
case kWebCryptoAlgorithmParamsTypeEcKeyGenParams:
case kWebCryptoAlgorithmParamsTypeEcKeyImportParams:
case kWebCryptoAlgorithmParamsTypeAesDerivedKeyParams:
+ case kWebCryptoAlgorithmParamsTypeEd25519Params:
+ case kWebCryptoAlgorithmParamsTypeX25519KeyDeriveParams:
break;
}
}