/dports/security/tor/tor-0.4.6.8/src/test/ |
H A D | test.h | 31 tor_free(mem_op_hex_tmp); \ 32 mem_op_hex_tmp = tor_malloc(length/2); \ 34 base16_decode(mem_op_hex_tmp, length/2, hex, length); \ 35 tt_mem_op(expr1, op, mem_op_hex_tmp, length/2); \
|
H A D | test_crypto.c | 264 char *mem_op_hex_tmp=NULL; in test_crypto_aes128() local 395 tor_free(mem_op_hex_tmp); in test_crypto_aes128() 409 char *mem_op_hex_tmp=NULL; in test_crypto_aes_ctr_testvec() local 467 tor_free(mem_op_hex_tmp); in test_crypto_aes_ctr_testvec() 482 char *mem_op_hex_tmp=NULL; in test_crypto_sha() local 638 tor_free(mem_op_hex_tmp); in test_crypto_sha() 648 char *mem_op_hex_tmp=NULL; in test_crypto_sha3() local 960 tor_free(mem_op_hex_tmp); in test_crypto_sha3() 1032 tor_free(mem_op_hex_tmp); in test_crypto_sha3_xof() 1258 tor_free(mem_op_hex_tmp); in test_crypto_pk_fingerprints() [all …]
|
H A D | test_crypto_slow.c | 335 char *mem_op_hex_tmp = NULL; in test_crypto_scrypt_vectors() local 398 tor_free(mem_op_hex_tmp); in test_crypto_scrypt_vectors() 404 char *mem_op_hex_tmp = NULL; in test_crypto_pbkdf2_vectors() local 458 tor_free(mem_op_hex_tmp); in test_crypto_pbkdf2_vectors()
|
H A D | test_proto_misc.c | 24 char *mem_op_hex_tmp = NULL; in test_proto_var_cell() local 104 tor_free(mem_op_hex_tmp); in test_proto_var_cell()
|
H A D | test_extorport.c | 257 char *mem_op_hex_tmp=NULL; in test_ext_or_cookie_auth_testvec() local 294 tor_free(mem_op_hex_tmp); in test_ext_or_cookie_auth_testvec()
|
H A D | test_cell_formats.c | 247 char *mem_op_hex_tmp = NULL; in test_cfmt_connected_cells() local 387 tor_free(mem_op_hex_tmp); in test_cfmt_connected_cells() 605 char *mem_op_hex_tmp = NULL; in test_cfmt_extend_cells() local 882 tor_free(mem_op_hex_tmp); in test_cfmt_extend_cells() 895 char *mem_op_hex_tmp = NULL; in test_cfmt_extended_cells() local 946 tor_free(mem_op_hex_tmp); in test_cfmt_extended_cells()
|
H A D | test_hs_descriptor.c | 789 char *mem_op_hex_tmp=NULL; in test_build_authorized_client() local 834 tor_free(mem_op_hex_tmp); in test_build_authorized_client()
|
H A D | test_microdesc.c | 642 char *mem_op_hex_tmp = NULL; in test_md_parse() local 715 tor_free(mem_op_hex_tmp); in test_md_parse()
|
H A D | test_consdiffmgr.c | 265 char *mem_op_hex_tmp = NULL; in test_consdiffmgr_sha3_helper() local 295 tor_free(mem_op_hex_tmp); in test_consdiffmgr_sha3_helper()
|
H A D | test_entrynodes.c | 454 char *mem_op_hex_tmp = NULL; in test_entry_guard_parse_from_state_minimal() local 481 tor_free(mem_op_hex_tmp); in test_entry_guard_parse_from_state_minimal() 488 char *mem_op_hex_tmp = NULL; in test_entry_guard_parse_from_state_maximal() local 525 tor_free(mem_op_hex_tmp); in test_entry_guard_parse_from_state_maximal() 569 char *mem_op_hex_tmp = NULL; in test_entry_guard_parse_from_state_partial_failure() local 607 tor_free(mem_op_hex_tmp); in test_entry_guard_parse_from_state_partial_failure()
|
H A D | test_nodelist.c | 462 char *mem_op_hex_tmp = NULL; in test_nodelist_nodefamily_lookup() local 491 tor_free(mem_op_hex_tmp); in test_nodelist_nodefamily_lookup()
|
H A D | test_dir.c | 1206 char *mem_op_hex_tmp = NULL; in test_dir_parse_router_list() local 1301 tor_free(mem_op_hex_tmp); in test_dir_parse_router_list() 1369 char *mem_op_hex_tmp = NULL; in test_dir_load_routers() local 1431 tor_free(mem_op_hex_tmp); in test_dir_load_routers() 1520 char *mem_op_hex_tmp = NULL; in test_dir_load_extrainfo() local 1586 tor_free(mem_op_hex_tmp); in test_dir_load_extrainfo() 1953 char *mem_op_hex_tmp = NULL; in test_dir_split_fps() local 2065 tor_free(mem_op_hex_tmp); in test_dir_split_fps()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/ |
H A D | test.h | 31 tor_free(mem_op_hex_tmp); \ 32 mem_op_hex_tmp = tor_malloc(length/2); \ 34 base16_decode(mem_op_hex_tmp, length/2, hex, length); \ 35 tt_mem_op(expr1, op, mem_op_hex_tmp, length/2); \
|
H A D | test_crypto.c | 264 char *mem_op_hex_tmp=NULL; in test_crypto_aes128() local 395 tor_free(mem_op_hex_tmp); in test_crypto_aes128() 409 char *mem_op_hex_tmp=NULL; in test_crypto_aes_ctr_testvec() local 467 tor_free(mem_op_hex_tmp); in test_crypto_aes_ctr_testvec() 482 char *mem_op_hex_tmp=NULL; in test_crypto_sha() local 638 tor_free(mem_op_hex_tmp); in test_crypto_sha() 648 char *mem_op_hex_tmp=NULL; in test_crypto_sha3() local 960 tor_free(mem_op_hex_tmp); in test_crypto_sha3() 1032 tor_free(mem_op_hex_tmp); in test_crypto_sha3_xof() 1258 tor_free(mem_op_hex_tmp); in test_crypto_pk_fingerprints() [all …]
|
H A D | test_ntor_v3.c | 23 char *mem_op_hex_tmp = NULL; // temp val to make test_memeq_hex work. in test_ntor3_testvecs() local 161 tor_free(mem_op_hex_tmp); in test_ntor3_testvecs()
|
H A D | test_crypto_slow.c | 335 char *mem_op_hex_tmp = NULL; in test_crypto_scrypt_vectors() local 398 tor_free(mem_op_hex_tmp); in test_crypto_scrypt_vectors() 404 char *mem_op_hex_tmp = NULL; in test_crypto_pbkdf2_vectors() local 458 tor_free(mem_op_hex_tmp); in test_crypto_pbkdf2_vectors()
|
H A D | test_proto_misc.c | 24 char *mem_op_hex_tmp = NULL; in test_proto_var_cell() local 104 tor_free(mem_op_hex_tmp); in test_proto_var_cell()
|
H A D | test_extorport.c | 257 char *mem_op_hex_tmp=NULL; in test_ext_or_cookie_auth_testvec() local 294 tor_free(mem_op_hex_tmp); in test_ext_or_cookie_auth_testvec()
|
H A D | test_cell_formats.c | 247 char *mem_op_hex_tmp = NULL; in test_cfmt_connected_cells() local 387 tor_free(mem_op_hex_tmp); in test_cfmt_connected_cells() 605 char *mem_op_hex_tmp = NULL; in test_cfmt_extend_cells() local 882 tor_free(mem_op_hex_tmp); in test_cfmt_extend_cells() 895 char *mem_op_hex_tmp = NULL; in test_cfmt_extended_cells() local 946 tor_free(mem_op_hex_tmp); in test_cfmt_extended_cells()
|
H A D | test_microdesc.c | 642 char *mem_op_hex_tmp = NULL; in test_md_parse() local 715 tor_free(mem_op_hex_tmp); in test_md_parse()
|
H A D | test_hs_descriptor.c | 789 char *mem_op_hex_tmp=NULL; in test_build_authorized_client() local 834 tor_free(mem_op_hex_tmp); in test_build_authorized_client()
|
H A D | test_consdiffmgr.c | 265 char *mem_op_hex_tmp = NULL; in test_consdiffmgr_sha3_helper() local 295 tor_free(mem_op_hex_tmp); in test_consdiffmgr_sha3_helper()
|
H A D | test_entrynodes.c | 460 char *mem_op_hex_tmp = NULL; in test_entry_guard_parse_from_state_minimal() local 487 tor_free(mem_op_hex_tmp); in test_entry_guard_parse_from_state_minimal() 494 char *mem_op_hex_tmp = NULL; in test_entry_guard_parse_from_state_maximal() local 531 tor_free(mem_op_hex_tmp); in test_entry_guard_parse_from_state_maximal() 575 char *mem_op_hex_tmp = NULL; in test_entry_guard_parse_from_state_partial_failure() local 613 tor_free(mem_op_hex_tmp); in test_entry_guard_parse_from_state_partial_failure()
|
H A D | test_nodelist.c | 462 char *mem_op_hex_tmp = NULL; in test_nodelist_nodefamily_lookup() local 491 tor_free(mem_op_hex_tmp); in test_nodelist_nodefamily_lookup()
|
H A D | test_dir.c | 1206 char *mem_op_hex_tmp = NULL; in test_dir_parse_router_list() local 1301 tor_free(mem_op_hex_tmp); in test_dir_parse_router_list() 1369 char *mem_op_hex_tmp = NULL; in test_dir_load_routers() local 1431 tor_free(mem_op_hex_tmp); in test_dir_load_routers() 1520 char *mem_op_hex_tmp = NULL; in test_dir_load_extrainfo() local 1586 tor_free(mem_op_hex_tmp); in test_dir_load_extrainfo() 1953 char *mem_op_hex_tmp = NULL; in test_dir_split_fps() local 2065 tor_free(mem_op_hex_tmp); in test_dir_split_fps()
|