summaryrefslogtreecommitdiff
path: root/ext/crypto/00_crypto.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/00_crypto.js')
-rw-r--r--ext/crypto/00_crypto.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js
index ca7960427..0a78bff2f 100644
--- a/ext/crypto/00_crypto.js
+++ b/ext/crypto/00_crypto.js
@@ -133,6 +133,7 @@
},
"get key length": {
"AES-CBC": "AesDerivedKeyParams",
+ "AES-CTR": "AesDerivedKeyParams",
"AES-GCM": "AesDerivedKeyParams",
"AES-KW": "AesDerivedKeyParams",
"HMAC": "HmacImportParams",
@@ -363,6 +364,7 @@
function getKeyLength(algorithm) {
switch (algorithm.name) {
case "AES-CBC":
+ case "AES-CTR":
case "AES-GCM":
case "AES-KW": {
// 1.