LCOV - code coverage report
Current view: top level - tests/unit - test_auth.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 99.2 % 602 597
Test Date: 2026-04-20 19:54:22 Functions: 100.0 % 42 42

Function Name Sort by function name Hit count Sort by function hit count
build_dh_gen_ok 4
build_dh_gen_response 2
build_res_pq 5
build_res_pq_fp_count 1
build_server_dh_params_ok 6
build_unenc_response 23
parse_dh_with_g 4
test_auth 1
test_auth_key_gen_full_flow 1
test_auth_key_gen_null_args 1
test_init 19
test_parse_dh_accepts_g_3 1
test_parse_dh_nonce_mismatch 1
test_parse_dh_rejects_g_1 1
test_parse_dh_rejects_g_42 1
test_parse_dh_rejects_g_8 1
test_parse_dh_success 1
test_parse_dh_wrong_constructor 1
test_pq_factorize_invalid 1
test_pq_factorize_larger 1
test_pq_factorize_mtproto_sized 1
test_pq_factorize_null 1
test_pq_factorize_product_of_large_primes 1
test_pq_factorize_rejects_wide_factors 1
test_pq_factorize_simple 1
test_pq_factorize_small_primes 1
test_pq_factorize_unequal_primes 1
test_req_dh_factorizes_pq 1
test_req_dh_sends_correct_tl 1
test_req_pq_fp_count_exceeds_cap 1
test_req_pq_fp_count_within_cap 1
test_req_pq_no_fingerprint 1
test_req_pq_parses_respq 1
test_req_pq_sends_correct_tl 1
test_req_pq_wrong_constructor 1
test_req_pq_wrong_nonce 1
test_set_client_dh_gen_fail 1
test_set_client_dh_gen_ok 1
test_set_client_dh_gen_retry 1
test_set_client_dh_rejects_bad_new_nonce_hash 1
test_set_client_dh_salt_computation 1
test_set_client_dh_sends_tl 1

Generated by: LCOV version 2.0-1