Skip to content

Commit b768903

Browse files
panvaaduh95
authored andcommitted
crypto: add missing AES dictionaries
PR-URL: #62099 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 18e4142 commit b768903

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)