mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix(ext/crypto) include AES-CTR for deriveKey (#13174)
This commit is contained in:
parent
d7bab0dd2a
commit
8b9cf4b857
2 changed files with 28 additions and 3076 deletions
|
@ -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.
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue