diff --git a/lib/internal/crypto/util.js b/lib/internal/crypto/util.js index a91a60e09c0..5ec1d409ec0 100644 --- a/lib/internal/crypto/util.js +++ b/lib/internal/crypto/util.js @@ -480,6 +480,8 @@ function createSupportedAlgorithms(algorithmDefs) { const kSupportedAlgorithms = createSupportedAlgorithms(kAlgorithmDefinitions); const simpleAlgorithmDictionaries = { + AesCbcParams: { iv: 'BufferSource' }, + AesCtrParams: { counter: 'BufferSource' }, AeadParams: { iv: 'BufferSource', additionalData: 'BufferSource' }, // publicExponent is not strictly a BufferSource but it is a Uint8Array that we normalize // this way