Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e362635

Browse filesBrowse 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 6f975db commit e362635
Copy full SHA for e362635

1 file changed

+2Lines changed: 2 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/internal/crypto/util.js‎

Copy file name to clipboardExpand all lines: lib/internal/crypto/util.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ function createSupportedAlgorithms(algorithmDefs) {
480480
const kSupportedAlgorithms = createSupportedAlgorithms(kAlgorithmDefinitions);
481481

482482
const simpleAlgorithmDictionaries = {
483+
AesCbcParams: { iv: 'BufferSource' },
484+
AesCtrParams: { counter: 'BufferSource' },
483485
AeadParams: { iv: 'BufferSource', additionalData: 'BufferSource' },
484486
// publicExponent is not strictly a BufferSource but it is a Uint8Array that we normalize
485487
// this way

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.