Skip to content

Commit

Permalink
fix(ext/crypto) include AES-CTR for deriveKey (#13174)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptographix authored Dec 27, 2021
1 parent 7ebbda7 commit 07618c8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3,076 deletions.
2 changes: 2 additions & 0 deletions ext/crypto/00_crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
},
"get key length": {
"AES-CBC": "AesDerivedKeyParams",
"AES-CTR": "AesDerivedKeyParams",
"AES-GCM": "AesDerivedKeyParams",
"AES-KW": "AesDerivedKeyParams",
"HMAC": "HmacImportParams",
Expand Down Expand Up @@ -363,6 +364,7 @@
function getKeyLength(algorithm) {
switch (algorithm.name) {
case "AES-CBC":
case "AES-CTR":
case "AES-GCM":
case "AES-KW": {
// 1.
Expand Down
Loading

0 comments on commit 07618c8

Please sign in to comment.