Lines Matching defs:tests
54 } tests[] = {
215 for (i = 0; i < __arraycount(tests); i++) {
221 cs.keylen = tests[i].key_len;
222 cs.key = __UNCONST(&tests[i].key);
230 co.len = tests[i].len;
231 co.src = __UNCONST(&tests[i].plaintx);
234 co.iv = __UNCONST(&tests[i].iv);
239 if (memcmp(co.dst, tests[i].ciphertx, tests[i].len)) {
242 for (j = 0; j < tests[i].len; j++)
244 buf[j], tests[i].ciphertx[j]);