diff options
author | Sean Michael Wykes <8363933+SeanWykes@users.noreply.github.com> | 2021-12-27 10:25:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 08:25:17 -0500 |
commit | 07618c861e27e284cae3a309783ef78dcef611dd (patch) | |
tree | 053034fa26bb37dec562b45f28b6bc0985c58596 /ext/crypto/00_crypto.js | |
parent | 7ebbda7fd71495b6f4e9bf87d385d19c44102c62 (diff) |
fix(ext/crypto) include AES-CTR for deriveKey (#13174)
Diffstat (limited to 'ext/crypto/00_crypto.js')
-rw-r--r-- | ext/crypto/00_crypto.js | 2 |
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. |