Skip to content

Commit b220cfd

Browse files
committed
deriveKeyAndNonce not support aesgcm128 so no test
1 parent 16555a3 commit b220cfd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

nodejs/test.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var assert = require('assert');
88
function usage() {
99
console.log('Usage: node test.js [args]');
1010
console.log(' <version> - test only the specified version(s)');
11-
console.log(' Supported: [aes128gcm,aesgcm,aesgcm128]');
11+
console.log(' Supported: [aes128gcm,aesgcm]');
1212
console.log(' <test function> - test only the specified function(s)');
1313
console.log(' "verbose" enable logging for tests (export ECE_KEYLOG=1 for more)');
1414
console.log(' "text=..." sets the input string');
@@ -116,9 +116,6 @@ function generateInput(min) {
116116
}
117117

118118
function rsoverhead(version) {
119-
if (version === 'aesgcm128') {
120-
return 1;
121-
}
122119
if (version === 'aesgcm') {
123120
return 2;
124121
}
@@ -397,7 +394,7 @@ function useCustomCallback(version) {
397394
}
398395

399396
validate();
400-
filterTests([ 'aesgcm128', 'aesgcm', 'aes128gcm' ])
397+
filterTests([ 'aesgcm', 'aes128gcm' ])
401398
.forEach(function(version) {
402399
filterTests([ useExplicitKey,
403400
authenticationSecret,

0 commit comments

Comments
 (0)