1
0
Fork 0
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:
Sean Michael Wykes 2021-12-27 10:25:17 -03:00 committed by Bartek Iwańczuk
parent d7bab0dd2a
commit 8b9cf4b857
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750
2 changed files with 28 additions and 3076 deletions

View file

@ -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