Home | History | Annotate | Download | only in opencrypto

Lines Matching defs:tests

51 } tests[] = {
129 for (i = 0; i < __arraycount(tests); i++) {
135 cs.keylen = tests[i].key_len;
136 cs.key = __UNCONST(&tests[i].key);
144 co.len = tests[i].len;
145 co.src = __UNCONST(&tests[i].plaintx);
148 co.iv = __UNCONST(&tests[i].iv);
153 if (memcmp(co.dst, tests[i].ciphertx, tests[i].len)) {
155 for (j = 0; j < tests[i].len; j++)
157 buf[j], tests[i].ciphertx[j]);