/test/ |
A D | gmdifftest.c | 22 static int check_time(long offset) in check_time() argument 31 t2 = t1 + offset; in check_time() 35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) in check_time() 45 if (!TEST_long_eq(offset, toffset)) in check_time() 50 static int test_gmtime(int offset) in test_gmtime() argument 52 return check_time(offset) in test_gmtime() 53 && check_time(-offset) in test_gmtime() 54 && check_time(offset * 1000L) in test_gmtime() 55 && check_time(-offset * 1000L) in test_gmtime() 56 && check_time(offset * 1000000L) in test_gmtime() [all …]
|
A D | quic_fifd_test.c | 144 || !TEST_uint64_t_eq(hdr.offset, 0) in test_generic() 148 hdr.offset, in test_generic() 149 hdr.offset + hdr.len - 1))) in test_generic() 153 hdr.offset + hdr.len))) in test_generic() 258 || !TEST_uint64_t_eq(hdr.offset, 0) in test_generic()
|
A D | ecdsatest.c | 191 unsigned char dirt, offset, tbs[128]; in test_builtin() local 312 offset = tbs[0] % sig_len; in test_builtin() 314 sig[offset] ^= dirt; in test_builtin() 321 sig[offset] ^= dirt; in test_builtin()
|
A D | quic_stream_test.c | 76 || !TEST_uint64_t_eq(hdr.offset, 0) in test_sstream_simple() 93 || !TEST_uint64_t_eq(hdr.offset, 8) in test_sstream_simple() 119 || !TEST_uint64_t_eq(hdr.offset, 4) in test_sstream_simple() 162 || !TEST_uint64_t_eq(hdr.offset, 16) in test_sstream_simple() 187 || !TEST_uint64_t_eq(hdr.offset, 16) in test_sstream_simple()
|
A D | quic_multistream_test.c | 1051 size_t offset = 0; in run_script_worker() local 1101 offset = 0; in run_script_worker() 1393 r = SSL_read_ex(c_tgt, tmp_buf + offset, op->arg1 - offset, in run_script_worker() 1402 offset += bytes_read; in run_script_worker() 1433 offset += bytes_read; in run_script_worker() 3343 offset = 0; in script_32_inject_plain() 3347 offset = (((uint64_t)1)<<62) - 1; in script_32_inject_plain() 3351 offset = 1 * 1024 * 1024 * 1024; /* 1G */ in script_32_inject_plain() 3355 offset = 0; in script_32_inject_plain() 4288 uint64_t offset = 0, data_len = 100; in script_53_inject_plain() local [all …]
|
A D | quic_wire_test.c | 270 if (!TEST_uint64_t_eq(f.offset, 0x1234)) in encode_case_6_dec() 377 if (!TEST_uint64_t_eq(f.offset, 0)) in encode_case_8_dec() 432 if (!TEST_uint64_t_eq(f.offset, 0x39)) in encode_case_9_dec()
|
A D | bio_dgram_test.c | 456 static int random_data(const uint32_t *key, uint8_t *data, size_t data_len, size_t offset) in random_data() argument 464 counter[0] = (uint32_t)offset; in random_data()
|
A D | sslapitest.c | 1153 size_t offset = 0, i; in execute_test_ktls() local 1274 ret = SSL_read(serverssl, buf + offset, bufsz - offset); in execute_test_ktls() 1279 offset += ret; in execute_test_ktls() 1281 } while (offset < bufsz); in execute_test_ktls() 1283 if (!TEST_true(offset == bufsz)) in execute_test_ktls() 12020 for (offset = 0, numreads = 0; in test_pipelining() 12021 offset < msglen; in test_pipelining() 12022 offset += readbytes, numreads++) { in test_pipelining() 12030 if (!TEST_mem_eq(msg, msglen, buf, offset) in test_pipelining() 12038 for (offset = 0; offset < msglen; offset += fragsize) { in test_pipelining() [all …]
|
A D | evp_test.c | 100 static int parse_bin_chunk(const char *value, size_t offset, size_t max, 429 size_t offset = 0; in evp_test_buffer_append() local 445 if ((rv = parse_bin_chunk(value, offset, max_len, &db->buf, in evp_test_buffer_append() 448 offset = new_offset; in evp_test_buffer_append() 637 static int parse_bin_chunk(const char *value, size_t offset, size_t max, in parse_bin_chunk() argument 642 const char *value_str = value[0] == '"' ? value + offset + 1 : value + offset; in parse_bin_chunk() 689 *out_offset = value[0] == '"' ? offset + (*buflen) : offset + 2 * (*buflen); in parse_bin_chunk()
|
A D | quic_txp_test.c | 922 stream_10a_off = h->frame.stream.offset + h->frame.stream.len; in check_stream_10a() 936 stream_10b_off = h->frame.stream.offset + h->frame.stream.len; in check_stream_10b()
|
/test/quic-openssl-docker/hq-interop/ |
A D | quic-hq-interop-server.c | 459 size_t offset = 0; in process_new_stream() local 520 offset = 0; in process_new_stream() 523 rc = SSL_write_ex(stream, &buf[offset], bytes_read, &bytes_written); in process_new_stream() 538 offset += bytes_written; in process_new_stream()
|
/test/recipes/ |
A D | 70-test_sslcbcpadding.t | 54 foreach my $offset (@test_offsets) { 55 $bad_padding_offset = $offset;
|
A D | 70-test_sslsessiontick.t | 186 my $offset = $message->startoffset + $message->encoded_length; 188 1, "", [$record], $offset, []);
|
/test/radix/ |
A D | terp.c | 371 static void print_opc(BIO *bio, size_t op_num, size_t offset, const char *name) in print_opc() argument 375 offset, name); in print_opc() 378 offset, name); in print_opc()
|
/test/helpers/ |
A D | ssltestlib.c | 357 unsigned int seq, offset, len, epoch; in mempacket_test_read() local 389 offset = 0; in mempacket_test_read() 391 rec[RECORD_SEQUENCE - offset] = seq & 0xFF; in mempacket_test_read() 393 offset++; in mempacket_test_read()
|