Skip to content

Commit 5dc88db

Browse files
committed
Fix info for the new standard
Sorry, I introduced this regression with #15.
1 parent 0393ed8 commit 5dc88db

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)