Skip to content

Commit 9c5bf31

Browse files
committed
crypto: add missing AES dictionaries
1 parent 3dee1d1 commit 9c5bf31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/crypto/util.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ function createSupportedAlgorithms(algorithmDefs) {
480480
const kSupportedAlgorithms = createSupportedAlgorithms(kAlgorithmDefinitions);
481481

482482
const simpleAlgorithmDictionaries = {
483+
AesCbcParams: { iv: 'BufferSource' },
484+
AesCtrParams: { counter: 'BufferSource' },
483485
AeadParams: { iv: 'BufferSource', additionalData: 'BufferSource' },
484486
// publicExponent is not strictly a BufferSource but it is a Uint8Array that we normalize
485487
// this way

0 commit comments

Comments
 (0)