Skip to content

Commit 990df79

Browse files
panvaaduh95
authored andcommitted
crypto: add missing AES dictionaries
PR-URL: #62099 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 6e5f6bf commit 990df79

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
@@ -488,6 +488,8 @@ function createSupportedAlgorithms(algorithmDefs) {
488488
const kSupportedAlgorithms = createSupportedAlgorithms(kAlgorithmDefinitions);
489489

490490
const simpleAlgorithmDictionaries = {
491+
AesCbcParams: { iv: 'BufferSource' },
492+
AesCtrParams: { counter: 'BufferSource' },
491493
AeadParams: { iv: 'BufferSource', additionalData: 'BufferSource' },
492494
// publicExponent is not strictly a BufferSource but it is a Uint8Array that we normalize
493495
// this way

0 commit comments

Comments
 (0)