tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

files / src / test


ModeNameSize
-rw-r--r--.may_include2L
-rw-r--r--bench.c962L
-rwxr-xr-xbt_test.py59L
-rw-r--r--cgo_vectors.inc651L
-rw-r--r--compression_bomb.h864L
-rw-r--r--ed25519_exts_ref.py269L
-rw-r--r--ed25519_vectors.inc172L
-rw-r--r--example_extrainfo.inc384L
-rw-r--r--example_extrainfo.template182L
-rw-r--r--failing_routerdescs.inc1535L
-rw-r--r--failing_routerdescs.template812L
-rw-r--r--fakechans.h25L
-rw-r--r--fakecircs.c98L
-rw-r--r--fakecircs.h17L
-rwxr-xr-xfuzz_static_testcases.sh27L
-rw-r--r--hs_build_address.py51L
-rw-r--r--hs_indexes.py75L
-rw-r--r--hs_ntor_ref.py435L
-rw-r--r--hs_test_helpers.c460L
-rw-r--r--hs_test_helpers.h37L
-rw-r--r--include.am462L
-rw-r--r--log_test_helpers.c261L
-rw-r--r--log_test_helpers.h115L
-rwxr-xr-xntor_ref.py413L
-rwxr-xr-xntor_v3_ref.py308L
-rw-r--r--ope_ref.py45L
-rw-r--r--opts_test_helpers.c38L
-rw-r--r--opts_test_helpers.h22L
-rw-r--r--prob_distr_mpfr_ref.c64L
-rw-r--r--ptr_helpers.c50L
-rw-r--r--ptr_helpers.h23L
-rw-r--r--resolve_test_helpers.c85L
-rw-r--r--resolve_test_helpers.h18L
-rw-r--r--rng_test_helpers.c259L
-rw-r--r--rng_test_helpers.h25L
-rw-r--r--rust_supp.txt1L
-rw-r--r--slow_ed25519.py119L
-rw-r--r--slownacl_curve25519.py122L
-rw-r--r--sr_commit_calc_ref.py56L
-rw-r--r--sr_srv_calc_ref.py76L
-rw-r--r--test-memwipe.c230L
-rwxr-xr-xtest-network.sh91L
-rw-r--r--test-process.c85L
-rw-r--r--test-timers.c147L
-rw-r--r--test.c719L
-rw-r--r--test.h232L
-rw-r--r--test_accounting.c102L
-rw-r--r--test_addr.c1827L
-rw-r--r--test_address.c1405L
-rw-r--r--test_address_set.c285L
-rw-r--r--test_bridges.c706L
-rwxr-xr-xtest_bt.sh13L
-rw-r--r--test_bt_cl.c131L
-rw-r--r--test_btrack.c129L
-rw-r--r--test_buffers.c887L
-rw-r--r--test_bwmgt.c466L
-rw-r--r--test_cell_formats.c1616L
-rw-r--r--test_cell_queue.c147L
-rw-r--r--test_channel.c1629L
-rw-r--r--test_channelpadding.c1097L
-rw-r--r--test_channeltls.c341L
-rw-r--r--test_checkdir.c151L
-rw-r--r--test_circuitbuild.c1998L
-rw-r--r--test_circuitlist.c494L
-rw-r--r--test_circuitmux.c480L
-rw-r--r--test_circuitmux_ewma.c228L
-rw-r--r--test_circuitpadding.c3160L
-rw-r--r--test_circuitstats.c187L
-rw-r--r--test_circuituse.c310L
-rwxr-xr-xtest_cmdline.sh65L
-rw-r--r--test_compat_libevent.c185L
-rw-r--r--test_config.c7060L
-rw-r--r--test_conflux_cell.c65L
-rw-r--r--test_conflux_pool.c1351L
-rw-r--r--test_confmgr.c499L
-rw-r--r--test_confparse.c1091L
-rw-r--r--test_congestion_control.c390L
-rw-r--r--test_connection.c1014L
-rw-r--r--test_connection.h18L
-rw-r--r--test_conscache.c340L
-rw-r--r--test_consdiff.c1217L
-rw-r--r--test_consdiffmgr.c921L
-rw-r--r--test_containers.c1391L
-rw-r--r--test_controller.c2076L
-rw-r--r--test_controller_events.c755L
-rw-r--r--test_crypto.c3506L
-rw-r--r--test_crypto_cgo.c647L
-rw-r--r--test_crypto_ope.c154L
-rw-r--r--test_crypto_openssl.c101L
-rw-r--r--test_crypto_rng.c332L
-rw-r--r--test_crypto_slow.c758L
-rw-r--r--test_data.c202L
-rw-r--r--test_descriptors.inc431L
-rw-r--r--test_dir.c7511L
-rw-r--r--test_dir_common.c438L
-rw-r--r--test_dir_common.h55L
-rw-r--r--test_dir_handle_get.c2796L
-rw-r--r--test_dirauth_ports.c152L
-rw-r--r--test_dirvote.c671L
-rw-r--r--test_dispatch.c278L
-rw-r--r--test_dns.c825L
-rw-r--r--test_dos.c577L
-rw-r--r--test_entryconn.c793L
-rw-r--r--test_entrynodes.c3296L
-rw-r--r--test_extorport.c537L
-rw-r--r--test_geoip.c585L
-rw-r--r--test_guardfraction.c424L
-rw-r--r--test_handles.c98L
-rw-r--r--test_helpers.c571L
-rw-r--r--test_helpers.h51L
-rw-r--r--test_hs_cache.c777L
-rw-r--r--test_hs_cell.c223L
-rw-r--r--test_hs_client.c1480L
-rw-r--r--test_hs_common.c1949L
-rw-r--r--test_hs_config.c466L
-rw-r--r--test_hs_control.c893L
-rw-r--r--test_hs_descriptor.c977L
-rw-r--r--test_hs_descriptor.inc224L
-rw-r--r--test_hs_dos.c182L
-rw-r--r--test_hs_intropoint.c990L
-rw-r--r--test_hs_metrics.c102L
-rw-r--r--test_hs_ntor.c115L
-rwxr-xr-xtest_hs_ntor.sh11L
-rw-r--r--test_hs_ntor_cl.c259L
-rw-r--r--test_hs_ob.c269L
-rw-r--r--test_hs_pow.c500L
-rw-r--r--test_hs_pow_slow.c273L
-rw-r--r--test_hs_service.c2819L
-rw-r--r--test_include.py196L
-rwxr-xr-xtest_include.sh114L
-rwxr-xr-xtest_key_expiration.sh226L
-rwxr-xr-xtest_keygen.sh524L
-rw-r--r--test_keypin.c256L
-rw-r--r--test_link_handshake.c1557L
-rw-r--r--test_logging.c189L
-rw-r--r--test_mainloop.c383L
-rw-r--r--test_metrics.c417L
-rw-r--r--test_microdesc.c994L
-rw-r--r--test_namemap.c174L
-rw-r--r--test_netinfo.c48L
-rw-r--r--test_nodelist.c1443L
-rwxr-xr-xtest_ntor.sh9L
-rw-r--r--test_ntor_cl.c172L
-rw-r--r--test_ntor_v3.c317L
-rw-r--r--test_oom.c362L
-rw-r--r--test_oos.c459L
-rw-r--r--test_options.c4259L
-rw-r--r--test_options_act.c272L
-rw-r--r--test_parsecommon.c636L
-rwxr-xr-xtest_parseconf.sh661L
-rw-r--r--test_pem.c152L
-rw-r--r--test_periodic_event.c364L
-rw-r--r--test_policy.c2691L
-rw-r--r--test_prob_distr.c1406L
-rw-r--r--test_process.c669L
-rw-r--r--test_process_descs.c89L
-rw-r--r--test_process_slow.c365L
-rw-r--r--test_procmon.c55L
-rw-r--r--test_proto_haproxy.c66L
-rw-r--r--test_proto_http.c238L
-rw-r--r--test_proto_misc.c265L
-rw-r--r--test_protover.c860L
-rw-r--r--test_pt.c734L
-rw-r--r--test_ptr_slow.c106L
-rw-r--r--test_pubsub_build.c578L
-rw-r--r--test_pubsub_msg.c305L
-rw-r--r--test_rebind.py151L
-rwxr-xr-xtest_rebind.sh72L
-rw-r--r--test_relay.c388L
-rw-r--r--test_relaycell.c1061L
-rw-r--r--test_relaycrypt.c199L
-rw-r--r--test_replay.c391L
-rw-r--r--test_rng.c59L
-rw-r--r--test_router.c598L
-rw-r--r--test_routerkeys.c837L
-rw-r--r--test_routerlist.c799L
-rw-r--r--test_routerset.c2252L
-rw-r--r--test_sandbox.c415L
-rw-r--r--test_scheduler.c1279L
-rw-r--r--test_sendme.c332L
-rw-r--r--test_shared_random.c1692L
-rw-r--r--test_slow.c29L
-rw-r--r--test_socks.c1193L
-rw-r--r--test_statefile.c56L
-rw-r--r--test_stats.c948L
-rw-r--r--test_status.c954L
-rw-r--r--test_storagedir.c376L
-rw-r--r--test_switch_id.c249L
-rwxr-xr-xtest_switch_id.sh32L
-rw-r--r--test_threads.c312L
-rw-r--r--test_token_bucket.c152L
-rw-r--r--test_tortls.c518L
-rw-r--r--test_tortls.h14L
-rw-r--r--test_tortls_openssl.c1745L
-rw-r--r--test_util.c7067L
-rw-r--r--test_util_format.c419L
-rw-r--r--test_util_process.c82L
-rw-r--r--test_voting_flags.c190L
-rw-r--r--test_voting_schedule.c64L
-rw-r--r--test_workqueue.c455L
-rwxr-xr-xtest_workqueue_cancel.sh4L
-rwxr-xr-xtest_workqueue_efd.sh4L
-rwxr-xr-xtest_workqueue_efd2.sh4L
-rwxr-xr-xtest_workqueue_pipe.sh4L
-rwxr-xr-xtest_workqueue_pipe2.sh4L
-rwxr-xr-xtest_workqueue_socketpair.sh4L
-rw-r--r--test_x509.c205L
-rwxr-xr-xtest_zero_length_keys.sh44L
-rw-r--r--testing_common.c432L
-rw-r--r--testing_rsakeys.c547L
-rwxr-xr-xunittest_part1.sh3L
-rwxr-xr-xunittest_part2.sh3L
-rwxr-xr-xunittest_part3.sh3L
-rwxr-xr-xunittest_part4.sh3L
-rwxr-xr-xunittest_part5.sh3L
-rwxr-xr-xunittest_part6.sh3L
-rwxr-xr-xunittest_part7.sh3L
-rwxr-xr-xunittest_part8.sh3L
-rw-r--r--vote_descriptors.inc100L
-rwxr-xr-xzero_length_keys.sh127L
d---------conf_examples/-
d---------conf_failures/-
d---------fuzz/-