Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 83) sorted by relevance

1234

/test/
A Dbftest.c237 for (j = 0; j < 8; j++) in print_test_data()
240 for (j = 0; j < 8; j++) in print_test_data()
243 for (j = 0; j < 8; j++) in print_test_data()
250 for (j = 0; j < 8; j++) in print_test_data()
255 for (j = 0; j < 8; j++) in print_test_data()
258 for (j = 0; j < i + 1; j++) in print_test_data()
265 for (j = 0; j < 16; j++) in print_test_data()
268 for (j = 0; j < 8; j++) in print_test_data()
272 for (j = 0; j < strlen(cbc_data) + 1; j++) in print_test_data()
277 for (j = 0; j < 32; j++) in print_test_data()
[all …]
A Dconstant_time_test.c256 int j; in test_binops() local
259 for (j = 0; j < (int)OSSL_NELEM(test_values); ++j) { in test_binops()
283 int j; in test_binops_8() local
286 for (j = 0; j < (int)OSSL_NELEM(test_values_8); ++j) { in test_binops_8()
309 int j; in test_binops_s() local
312 for (j = 0; j < (int)OSSL_NELEM(test_values_s); ++j) { in test_binops_s()
340 for (j = 0; j < OSSL_NELEM(signed_test_values); ++j) { in test_signed()
357 for (j = 0; j < sizeof(test_values_8); ++j) { in test_8values()
369 size_t j; in test_32values() local
372 for (j = 0; j < OSSL_NELEM(test_values_32); j++) { in test_32values()
[all …]
A Dquic_txpim_test.c18 size_t i, j; in test_txpim() local
33 for (j = 0; j < OSSL_NELEM(chunks); ++j) { in test_txpim()
34 chunks[j].stream_id = 100 - j; in test_txpim()
35 chunks[j].start = 1000 * i + j * 10; in test_txpim()
36 chunks[j].end = chunks[j].start + 5; in test_txpim()
38 if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkts[i], chunks + j))) in test_txpim()
A Dchacha_internal_test.c163 unsigned int i = n + 1, j; in test_cha_cha_internal() local
174 for (j = 0; j < sizeof(ref); j++) in test_cha_cha_internal()
175 if (!TEST_uchar_eq(buf[j], ref[j])) { in test_cha_cha_internal()
176 TEST_info("%d failed at %u (%02x)\n", i, j, buf[j]); in test_cha_cha_internal()
A Drdcpu_sanitytest.c61 size_t j; in sanity_check_bytes() local
62 for (j = 0; j < sizeof(buf) - 1; j++) { in sanity_check_bytes()
63 if (buf[j] == 0 && buf[j+1] == 0) { in sanity_check_bytes()
A Dsparse_array_test.c40 size_t i, j; in test_sparse_array() local
54 for (j = 0; j <= i; j++) in test_sparse_array()
55 if (!TEST_str_eq(ossl_sa_char_get(sa, cases[j].n), cases[j].v)) { in test_sparse_array()
56 TEST_note("iteration %zu / %zu", i + 1, j + 1); in test_sparse_array()
A Dlhash_test.c99 int testresult = 0, j, *p; in test_int_lhash() local
126 j = 1; in test_int_lhash()
127 if (!TEST_ptr_eq(lh_int_retrieve(h, &j), int_tests + 2)) in test_int_lhash()
131 j = 13; in test_int_lhash()
132 if (!TEST_ptr(p = lh_int_insert(h, &j))) in test_int_lhash()
373 const int j = (7 * i + 4) % n * 3 + 1; in test_stress() local
375 if (!TEST_ptr(p = lh_int_delete(h, &j))) { in test_stress()
379 if (!TEST_int_eq(*p, j)) { in test_stress()
456 const int j = (7 * i + 4) % n * 3 + 1; in test_hashtable_stress() local
457 HT_SET_KEY_FIELD(&key, mykey, j); in test_hashtable_stress()
[all …]
A Djson_test.c18 OSSL_JSON_ENC j; member
32 if (!ossl_json_init(&h->j, h->mem_bio, h->flags)) { in helper_ensure()
48 ossl_json_cleanup(&h->j); in helper_cleanup()
575 f(&h.j); in run_script()
585 f(&h.j, (int)GET_I64()); in run_script()
595 f(&h.j, GET_U64()); in run_script()
605 f(&h.j, GET_I64()); in run_script()
615 f(&h.j, GET_P()); in run_script()
629 f(&h.j, p, (size_t)u64); in run_script()
654 if (!TEST_true(ossl_json_flush(&h.j))) in run_script()
[all …]
A Dparams_api_test.c23 size_t j; in swap_copy() local
25 for (j = 0; j < len; j++) in swap_copy()
26 out[j] = ((unsigned char *)in)[len - j - 1]; in swap_copy()
614 size_t j, k, s; in test_param_construct() local
658 for (j = 0; j < OSSL_NELEM(int_names); j++) { in test_param_construct()
659 if (!TEST_ptr(cp = OSSL_PARAM_locate(p, int_names[j])) in test_param_construct()
663 || !TEST_size_t_eq((size_t)i64, 3 + j)) { in test_param_construct()
664 TEST_note("iteration %zu var %s", j + 1, int_names[j]); in test_param_construct()
669 for (j = 0; j < OSSL_NELEM(uint_names); j++) { in test_param_construct()
674 || !TEST_size_t_eq((size_t)u64, 3 + j)) { in test_param_construct()
[all …]
A Dv3nametest.c661 size_t i, j; in test_GENERAL_NAME_cmp() local
687 for (j = 0; j < OSSL_NELEM(gennames); j++) { in test_GENERAL_NAME_cmp()
688 if (i == j) { in test_GENERAL_NAME_cmp()
689 if (!TEST_int_eq(GENERAL_NAME_cmp(namesa[i], namesb[j]), 0)) in test_GENERAL_NAME_cmp()
692 if (!TEST_int_ne(GENERAL_NAME_cmp(namesa[i], namesb[j]), 0)) in test_GENERAL_NAME_cmp()
A Dsslcorrupttest.c145 int i, j, numciphers = 0; in setup_cipher_list() local
162 for (j = 0, i = 0; i < sk_SSL_CIPHER_num(sk_ciphers); i++) { in setup_cipher_list()
166 cipher_list[j++] = SSL_CIPHER_get_name(cipher); in setup_cipher_list()
168 if (TEST_int_ne(j, 0)) in setup_cipher_list()
169 numciphers = j; in setup_cipher_list()
A Dbntest.c772 int i, j, st = 0; in test_gf2m_mod() local
789 for (j = 0; j < 2; j++) { in test_gf2m_mod()
813 int i, j, st = 0; in test_gf2m_mul() local
835 for (j = 0; j < 2; j++) { in test_gf2m_mul()
865 int i, j, st = 0; in test_gf2m_sqr() local
881 for (j = 0; j < 2; j++) { in test_gf2m_sqr()
928 for (j = 0; j < 2; j++) { in test_gf2m_modinv()
969 for (j = 0; j < 2; j++) { in test_gf2m_moddiv()
1014 for (j = 0; j < 2; j++) { in test_gf2m_modexp()
1061 for (j = 0; j < 2; j++) { in test_gf2m_modsqrt()
[all …]
A Drand_test.c78 uint32_t x, i, j; in test_rand_uniform() local
93 for (j = i + 1; j < 150; j += 11) { in test_rand_uniform()
94 x = ossl_rand_range_uint32(ctx, i, j, &err); in test_rand_uniform()
97 || !TEST_uint_lt(x, j)) in test_rand_uniform()
A Dmem_alloc_test.c604 size_t j; in test_xrealloc() local
608 for (j = 0; j < check_sz; j++) { in test_xrealloc()
609 char exp_val = (uint8_t) ((uintptr_t) td * 253 + j * 17); in test_xrealloc()
611 if (ret[j] != exp_val) { in test_xrealloc()
615 j, check_sz, ret[j], exp_val); in test_xrealloc()
625 for (j = 0; j < check_sz; j++) in test_xrealloc()
626 ret[j] = (uint8_t) ((uintptr_t) td * 253 + j * 17); in test_xrealloc()
A Dproperty_test.c56 OSSL_PROPERTY_IDX i, j; in test_property_string() local
83 && TEST_int_ne(j = ossl_property_value(ctx, "yes", 0), 0) in test_property_string()
84 && TEST_int_ne(i, j) in test_property_string()
85 && TEST_int_eq(ossl_property_value(ctx, "yes", 1), j) in test_property_string()
88 && TEST_int_eq(j = ossl_property_value(ctx, "fnord", 1), i + 1) in test_property_string()
89 && TEST_int_eq(ossl_property_value(ctx, "fnord", 1), j) in test_property_string()
402 const size_t j = (1 + i * 3) % OSSL_NELEM(impls); in test_register_deregister() local
403 int nid = impls[j].nid; in test_register_deregister()
404 void *impl = impls[j].impl; in test_register_deregister()
408 TEST_note("iteration %zd, position %zd", i + 1, j + 1); in test_register_deregister()
A Ddsatest.c65 int counter, ret = 0, i, j; in dsa_test() local
98 j = sizeof(out_q); in dsa_test()
99 if (!TEST_int_eq(i, j) || !TEST_mem_eq(buf, i, out_q, i)) in dsa_test()
103 j = sizeof(out_p); in dsa_test()
104 if (!TEST_int_eq(i, j) || !TEST_mem_eq(buf, i, out_p, i)) in dsa_test()
108 j = sizeof(out_g); in dsa_test()
109 if (!TEST_int_eq(i, j) || !TEST_mem_eq(buf, i, out_g, i)) in dsa_test()
A Dparam_build_test.c234 int *data1 = NULL, *data2 = NULL, j; in template_private_test() local
256 for (j = 0; j < data1_num; j++) in template_private_test()
257 data1[j] = -16 * j; in template_private_test()
258 for (j = 0; j < data2_num; j++) in template_private_test()
259 data2[j] = 2 * j; in template_private_test()
A Dquic_stream_test.c222 size_t i, j, num_iov = 0, init_size = 8192, l; in test_sstream_bulk() local
313 for (j = 0; j < num_iov; ++j) { in test_sstream_bulk()
314 if (!TEST_size_t_le(iov[j].buf_len + rd, expected)) in test_sstream_bulk()
317 memcpy(dst_cur, iov[j].buf, iov[j].buf_len); in test_sstream_bulk()
318 dst_cur += iov[j].buf_len; in test_sstream_bulk()
319 cur_rd += iov[j].buf_len; in test_sstream_bulk()
/test/recipes/04-test_pem_reading_data/
A Ddsa-onecolumn.pem77 j
119 j
281 j
296 j
337 j
418 j
439 j
450 j
527 j
573 j
[all …]
A Dcert-onecolumn.pem26 j
27 j
269 j
313 j
369 j
429 j
455 j
459 j
479 j
487 j
[all …]
/test/helpers/
A Dpktsplitbio.c54 size_t i, j, data_len = 0, msg_cnt = 0; in pkt_split_dgram_recvmmsg() local
97 for (j = msg_cnt; j > i; j--) { in pkt_split_dgram_recvmmsg()
98 if (!bio_msg_copy(&msg[j], &msg[j - 1])) in pkt_split_dgram_recvmmsg()
A Dssl_test_ctx.c827 size_t j; in parse_client_options() local
835 for (j = 0; j < OSSL_NELEM(ssl_test_client_options); j++) { in parse_client_options()
836 if (strcmp(option->name, ssl_test_client_options[j].name) == 0) { in parse_client_options()
837 if (!ssl_test_client_options[j].parse(client, option->value)) { in parse_client_options()
860 size_t j; in parse_server_options() local
868 for (j = 0; j < OSSL_NELEM(ssl_test_server_options); j++) { in parse_server_options()
869 if (strcmp(option->name, ssl_test_server_options[j].name) == 0) { in parse_server_options()
894 size_t j; in SSL_TEST_CTX_create() local
927 for (j = 0; j < OSSL_NELEM(ssl_test_ctx_options); j++) { in SSL_TEST_CTX_create()
928 if (strcmp(option->name, ssl_test_ctx_options[j].name) == 0) { in SSL_TEST_CTX_create()
[all …]
A Dnoisydgrambio.c307 size_t i, j, data_len = 0, msg_cnt = 0; in noisy_dgram_recvmmsg() local
374 for (j = msg_cnt; j > i; j--) { in noisy_dgram_recvmmsg()
375 if (!bio_msg_copy(&msg[j], &msg[j - 1])) in noisy_dgram_recvmmsg()
445 for (j = i + 1; j < msg_cnt; j++) { in noisy_dgram_recvmmsg()
446 if (!bio_msg_copy(&msg[j - 1], &msg[j])) in noisy_dgram_recvmmsg()
/test/testutil/
A Ddriver.c290 int ii, i, jj, j, jstep; in run_tests() local
317 j = test_random() % (1 + i); in run_tests()
318 ii = permute[j]; in run_tests()
319 permute[j] = permute[i]; in run_tests()
362 j = -1; in run_tests()
373 j = (j + jstep) % all_tests[i].num; in run_tests()
377 v = all_tests[i].param_test_fn(j); in run_tests()
389 subtest_case_count + 1, j + 1); in run_tests()
393 test_title, j + 1); in run_tests()
/test/quic-openssl-docker/
A DDockerfile24 make -j 4 check && \
32 …make -j 4 && make install && cp test/quic-openssl-docker/hq-interop/quic-hq-interop /usr/local/bin…
41 make -j 4 && \

Completed in 78 milliseconds

1234