Home
last modified time | relevance | path

Searched refs:testdata (Results 1 – 13 of 13) sorted by relevance

/openssl/test/recipes/
H A D20-test_dgst.t156 my $testdata = srctop_file('test', 'data.bin');
161 $testdata]), capture => 1);
171 my $testdata = srctop_file('test', 'data.bin');
174 $testdata, $testdata]), capture => 1);
185 my $testdata = srctop_file('test', 'data.bin');
188 $testdata, $testdata]), capture => 1);
199 my $testdata = srctop_file('test', 'data.bin');
203 $testdata, $testdata]), capture => 1);
214 my $testdata = srctop_file('test', 'data.bin');
217 $testdata, $testdata]), capture => 1);
[all …]
H A D30-test_evp_fetch_prov.t26 my @testdata = (
44 push @testdata, (
95 foreach (@testdata) {
105 foreach my $testcase (@testdata) {
H A D15-test_gendhparam.t17 my @testdata = (
131 plan tests => scalar @testdata;
133 foreach my $test (@testdata) {
/openssl/test/
H A Dsslbuffertest.c78 const char testdata[] = "Test data"; in test_func() local
79 char buf[sizeof(testdata)]; in test_func()
121 ret = SSL_write(clientssl, testdata + len, in test_func()
122 sizeof(testdata) - len); in test_func()
135 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_func()
142 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && in test_func()
171 if (!TEST_mem_eq(buf, len, testdata, sizeof(testdata))) in test_func()
203 const char testdata[] = "Test data"; in test_free_buffers() local
237 if (!TEST_true(SSL_write_ex(clientssl, testdata, strlen(testdata), in test_free_buffers()
251 readlen += strlen(testdata); in test_free_buffers()
[all …]
H A Dtime_offset_test.c70 const TESTDATA *testdata = &tests[idx]; in test_offset() local
74 at.data = (unsigned char*)testdata->data; in test_offset()
75 at.length = strlen(testdata->data); in test_offset()
76 at.type = testdata->type; in test_offset()
94 if (!TEST_int_eq(testdata->time_result, ret)) { in test_offset()
101 if (!TEST_int_eq(testdata->time_result, ret)) { in test_offset()
H A Dmdc2_internal_test.c57 const TESTDATA testdata = tests[idx]; in test_mdc2() local
60 MDC2_Update(&c, (const unsigned char *)testdata.input, in test_mdc2()
61 strlen(testdata.input)); in test_mdc2()
64 if (!TEST_mem_eq(testdata.expected, MDC2_DIGEST_LENGTH, in test_mdc2()
H A Dhexstr_test.c19 struct testdata { struct
29 static struct testdata tbl_testdata[] = { argument
68 struct testdata *test = &tbl_testdata[test_index]; in test_hexstr_sep_to_from()
89 struct testdata *test = &tbl_testdata[test_index]; in test_hexstr_to_from()
118 struct testdata *test = &tbl_testdata[test_index]; in test_hexstr_ex_to_from()
H A Dasynciotest.c296 const char testdata[] = "Test data"; in test_asyncio() local
297 char buf[sizeof(testdata)]; in test_asyncio()
342 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && i < 2; in test_asyncio()
344 ret = SSL_write(clientssl, testdata + len, in test_asyncio()
345 sizeof(testdata) - len); in test_asyncio()
356 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_asyncio()
364 for (ret = -1, i = 0, len = 0; len != sizeof(testdata) && in test_asyncio()
377 if (!TEST_mem_eq(testdata, sizeof(testdata), buf, len)) in test_asyncio()
H A Dasn1_time_test.c23 struct testdata { struct
80 static struct testdata tbl_testdata_pos[] = {
132 static struct testdata tbl_testdata_neg[] = {
139 static struct testdata tbl_testdata_pos_64bit[] = {
147 static struct testdata tbl_testdata_neg_64bit[] = {
161 static int test_table(struct testdata *tbl, int idx) in test_table()
166 struct testdata *td = &tbl[idx]; in test_table()
H A Derrtest.c347 static const char testdata[] = "test data"; in test_save_restore() local
361 ERR_raise_data(ERR_LIB_CRYPTO, ERR_R_INTERNAL_ERROR, testdata); in test_save_restore()
384 if (!TEST_str_eq(data, testdata) in test_save_restore()
401 || !TEST_str_eq(data, testdata) in test_save_restore()
414 || !TEST_str_eq(data, testdata) in test_save_restore()
H A Dwpackettest.c388 unsigned char testdata[] = { 0x00, 0x01, 0x02, 0x03 }; in test_WPACKET_init_der() local
400 || !TEST_true(WPACKET_memcpy(&pkt, testdata, sizeof(testdata))) in test_WPACKET_init_der()
/openssl/test/ct/
H A Dlog_list.cnf7 …hub.com/google/certificate-transparency/tree/99218b6445906a81f219d84e9c6d2683e13e4e58/test/testdata
/openssl/util/
H A Dindent.pro499 -T testdata

Completed in 35 milliseconds