mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
856231e8c4
commit
d9f22269c0
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user