Symbol: testdata
crypto/openssl/test/asn1_time_test.c
516
static struct testdata tbl_testdata_neg[] = {
crypto/openssl/test/asn1_time_test.c
547
static struct testdata tbl_testdata_pos_64bit[] = {
crypto/openssl/test/asn1_time_test.c
587
static struct testdata tbl_testdata_neg_64bit[] = {
crypto/openssl/test/asn1_time_test.c
617
static int test_table(struct testdata *tbl, int idx)
crypto/openssl/test/asn1_time_test.c
622
struct testdata *td = &tbl[idx];
crypto/openssl/test/asn1_time_test.c
80
static struct testdata tbl_testdata_pos[] = {
crypto/openssl/test/asynciotest.c
296
const char testdata[] = "Test data";
crypto/openssl/test/asynciotest.c
297
char buf[sizeof(testdata)];
crypto/openssl/test/asynciotest.c
341
for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < 2;
crypto/openssl/test/asynciotest.c
343
ret = SSL_write(clientssl, testdata + len,
crypto/openssl/test/asynciotest.c
344
sizeof(testdata) - len);
crypto/openssl/test/asynciotest.c
354
if (!TEST_size_t_eq(len, sizeof(testdata)))
crypto/openssl/test/asynciotest.c
362
for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < MAX_ATTEMPTS; i++) {
crypto/openssl/test/asynciotest.c
373
if (!TEST_mem_eq(testdata, sizeof(testdata), buf, len))
crypto/openssl/test/errtest.c
338
static const char testdata[] = "test data";
crypto/openssl/test/errtest.c
352
ERR_raise_data(ERR_LIB_CRYPTO, ERR_R_INTERNAL_ERROR, testdata);
crypto/openssl/test/errtest.c
375
if (!TEST_str_eq(data, testdata)
crypto/openssl/test/errtest.c
394
|| !TEST_str_eq(data, testdata)
crypto/openssl/test/errtest.c
409
|| !TEST_str_eq(data, testdata)
crypto/openssl/test/hexstr_test.c
124
struct testdata *test = &tbl_testdata[test_index];
crypto/openssl/test/hexstr_test.c
29
static struct testdata tbl_testdata[] = {
crypto/openssl/test/hexstr_test.c
74
struct testdata *test = &tbl_testdata[test_index];
crypto/openssl/test/hexstr_test.c
95
struct testdata *test = &tbl_testdata[test_index];
crypto/openssl/test/mdc2_internal_test.c
52
const TESTDATA testdata = tests[idx];
crypto/openssl/test/mdc2_internal_test.c
55
MDC2_Update(&c, (const unsigned char *)testdata.input,
crypto/openssl/test/mdc2_internal_test.c
56
strlen(testdata.input));
crypto/openssl/test/mdc2_internal_test.c
59
if (!TEST_mem_eq(testdata.expected, MDC2_DIGEST_LENGTH,
crypto/openssl/test/sslbuffertest.c
110
for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < 2;
crypto/openssl/test/sslbuffertest.c
123
ret = SSL_write(clientssl, testdata + len,
crypto/openssl/test/sslbuffertest.c
124
sizeof(testdata) - len);
crypto/openssl/test/sslbuffertest.c
136
if (!TEST_size_t_eq(len, sizeof(testdata)))
crypto/openssl/test/sslbuffertest.c
143
for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < MAX_ATTEMPTS; i++) {
crypto/openssl/test/sslbuffertest.c
166
if (!TEST_mem_eq(buf, len, testdata, sizeof(testdata)))
crypto/openssl/test/sslbuffertest.c
198
const char testdata[] = "Test data";
crypto/openssl/test/sslbuffertest.c
232
if (!TEST_true(SSL_write_ex(clientssl, testdata, strlen(testdata),
crypto/openssl/test/sslbuffertest.c
246
readlen += strlen(testdata);
crypto/openssl/test/sslbuffertest.c
307
|| !TEST_size_t_eq(readbytes, strlen(testdata)))
crypto/openssl/test/sslbuffertest.c
84
const char testdata[] = "Test data";
crypto/openssl/test/sslbuffertest.c
85
char buf[sizeof(testdata)];
crypto/openssl/test/time_offset_test.c
100
if (!TEST_int_eq(testdata->time_result, ret)) {
crypto/openssl/test/time_offset_test.c
69
const TESTDATA *testdata = &tests[idx];
crypto/openssl/test/time_offset_test.c
73
at.data = (unsigned char *)testdata->data;
crypto/openssl/test/time_offset_test.c
74
at.length = strlen(testdata->data);
crypto/openssl/test/time_offset_test.c
75
at.type = testdata->type;
crypto/openssl/test/time_offset_test.c
93
if (!TEST_int_eq(testdata->time_result, ret)) {
crypto/openssl/test/wpackettest.c
387
unsigned char testdata[] = { 0x00, 0x01, 0x02, 0x03 };
crypto/openssl/test/wpackettest.c
399
|| !TEST_true(WPACKET_memcpy(&pkt, testdata, sizeof(testdata)))
tests/sys/geom/class/eli/hmac_test.c
16
} testdata[] = {
tests/sys/geom/class/eli/hmac_test.c
26
for (i = 0; i < nitems(testdata); i++) {
tests/sys/geom/class/eli/hmac_test.c
27
pkcs5v2_genkey(hmacout, testdata[i].hmaclen,
tests/sys/geom/class/eli/hmac_test.c
28
(uint8_t *)testdata[i].salt, testdata[i].saltlen,
tests/sys/geom/class/eli/hmac_test.c
29
testdata[i].passwd, testdata[i].iterations);
tests/sys/geom/class/eli/hmac_test.c
30
ATF_REQUIRE(bcmp(hmacout, testdata[i].hmacout,
tests/sys/geom/class/eli/hmac_test.c
31
testdata[i].hmaclen) == 0);