Lines Matching refs:variations
102 const variations = [];
105 variations.push(testEncrypt(vector));
106 variations.push(testEncryptNoEncrypt(vector));
107 variations.push(testEncryptNoDecrypt(vector));
108 variations.push(testEncryptWrongAlg(vector, 'AES-CTR'));
112 variations.push(assert.rejects(testEncrypt(vector), {
115 variations.push(assert.rejects(testDecrypt(vector), {
121 variations.push(assert.rejects(testDecrypt(vector), {
126 await Promise.all(variations);
139 const variations = [];
142 variations.push(testEncrypt(vector));
143 variations.push(testEncryptNoEncrypt(vector));
144 variations.push(testEncryptNoDecrypt(vector));
145 variations.push(testEncryptWrongAlg(vector, 'AES-CBC'));
151 variations.push(assert.rejects(testEncrypt(vector), {
154 variations.push(assert.rejects(testDecrypt(vector), {
160 variations.push(assert.rejects(testDecrypt(vector), {
165 await Promise.all(variations);
178 const variations = [];
181 variations.push(testEncrypt(vector));
182 variations.push(testEncryptNoEncrypt(vector));
183 variations.push(testEncryptNoDecrypt(vector));
184 variations.push(testEncryptWrongAlg(vector, 'AES-CBC'));
188 variations.push(assert.rejects(testEncrypt(vector), {
191 variations.push(assert.rejects(testDecrypt(vector), {
197 variations.push(assert.rejects(testDecrypt(vector), {
202 await Promise.all(variations);