Skip to content

Commit 66e1758

Browse files
committed
Merge pull request #16 from marco-c/patch-1
Fix info for the new standard
2 parents 0393ed8 + 5dc88db commit 66e1758

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodejs/ece.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function deriveKeyAndNonce(params, mode) {
145145
keyInfo = 'Content-Encoding: aesgcm128';
146146
nonceInfo = 'Content-Encoding: nonce';
147147
} else if (padSize === 2) {
148-
keyInfo = info('aesgcm128', s.context);
148+
keyInfo = info('aesgcm', s.context);
149149
nonceInfo = info('nonce', s.context);
150150
} else {
151151
throw new Error('Unable to set context for padSize ' + params.padSize);

0 commit comments

Comments
 (0)