crypto: add missing AES dictionaries

PR-URL: https://github.com/nodejs/node/pull/62099
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Filip Skokan authored and Node.js GitHub Bot committed 2026-03-06 10:39:52 +00:00
1 parent 856231e8c4
commit d9f22269c0
1 file changed
+2
+2
View File
@@ -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