xref: /freebsd/contrib/libfido2/fuzz/functions.txt (revision 357378bbdedf24ce2b90e9bd831af4a9db3ec70a)
1File '/libfido2/src/aes256.c':
2Name                         Regions    Miss   Cover     Lines    Miss   Cover
3--------------------------------------------------------------------------------------------------------
4aes256_cbc_enc                     4       0 100.00%         4       0 100.00%
5aes256_cbc_dec                     4       0 100.00%         4       0 100.00%
6aes256_gcm_enc                     1       0 100.00%         3       0 100.00%
7aes256_gcm_dec                     1       0 100.00%         3       0 100.00%
8aes256.c:aes256_cbc_fips          26       1  96.15%        42       4  90.48%
9aes256.c:aes256_cbc               29       1  96.55%        36       3  91.67%
10aes256.c:aes256_cbc_proto1         1       0 100.00%         5       0 100.00%
11aes256.c:aes256_gcm               52       1  98.08%        60       4  93.33%
12--------------------------------------------------------------------------------------------------------
13TOTAL                            118       3  97.46%       157      11  92.99%
14
15File '/libfido2/src/assert.c':
16Name                                  Regions    Miss   Cover     Lines    Miss   Cover
17-----------------------------------------------------------------------------------------------------------------
18fido_dev_get_assert                        40       0 100.00%        35       0 100.00%
19fido_check_flags                           13       0 100.00%        15       0 100.00%
20fido_get_signed_hash                       20       1  95.00%        34       3  91.18%
21fido_assert_verify                         50       4  92.00%        70       7  90.00%
22fido_assert_set_clientdata                 12      12   0.00%        11      11   0.00%
23fido_assert_set_clientdata_hash             8       0 100.00%         6       0 100.00%
24fido_assert_set_hmac_salt                  10       0 100.00%         6       0 100.00%
25fido_assert_set_hmac_secret                12      12   0.00%         7       7   0.00%
26fido_assert_set_rp                         12       0 100.00%        11       0 100.00%
27fido_assert_set_winhello_appid              2       2   0.00%         5       5   0.00%
28fido_assert_allow_cred                     13       2  84.62%        22       3  86.36%
29fido_assert_empty_allow_list                2       0 100.00%         5       0 100.00%
30fido_assert_set_extensions                 14       0 100.00%        10       0 100.00%
31fido_assert_set_options                     8       8   0.00%         5       5   0.00%
32fido_assert_set_up                          2       0 100.00%         4       0 100.00%
33fido_assert_set_uv                          2       0 100.00%         4       0 100.00%
34fido_assert_clientdata_hash_ptr             1       0 100.00%         3       0 100.00%
35fido_assert_clientdata_hash_len             1       0 100.00%         3       0 100.00%
36fido_assert_new                             1       0 100.00%         3       0 100.00%
37fido_assert_reset_tx                        1       0 100.00%        13       0 100.00%
38fido_assert_reset_rx                        4       0 100.00%        20       0 100.00%
39fido_assert_free                            6       0 100.00%         9       0 100.00%
40fido_assert_count                           1       0 100.00%         3       0 100.00%
41fido_assert_rp_id                           1       0 100.00%         3       0 100.00%
42fido_assert_flags                           4       0 100.00%         5       0 100.00%
43fido_assert_sigcount                        4       0 100.00%         5       0 100.00%
44fido_assert_authdata_ptr                    4       0 100.00%         5       0 100.00%
45fido_assert_authdata_len                    4       0 100.00%         5       0 100.00%
46fido_assert_authdata_raw_ptr                4       0 100.00%         5       0 100.00%
47fido_assert_authdata_raw_len                4       0 100.00%         5       0 100.00%
48fido_assert_sig_ptr                         4       0 100.00%         5       0 100.00%
49fido_assert_sig_len                         4       0 100.00%         5       0 100.00%
50fido_assert_id_ptr                          4       0 100.00%         5       0 100.00%
51fido_assert_id_len                          4       0 100.00%         5       0 100.00%
52fido_assert_user_id_ptr                     4       0 100.00%         5       0 100.00%
53fido_assert_user_id_len                     4       0 100.00%         5       0 100.00%
54fido_assert_user_icon                       4       0 100.00%         5       0 100.00%
55fido_assert_user_name                       4       0 100.00%         5       0 100.00%
56fido_assert_user_display_name               4       0 100.00%         5       0 100.00%
57fido_assert_hmac_secret_ptr                 4       0 100.00%         5       0 100.00%
58fido_assert_hmac_secret_len                 4       0 100.00%         5       0 100.00%
59fido_assert_largeblob_key_ptr               4       0 100.00%         5       0 100.00%
60fido_assert_largeblob_key_len               4       0 100.00%         5       0 100.00%
61fido_assert_blob_ptr                        4       0 100.00%         5       0 100.00%
62fido_assert_blob_len                        4       0 100.00%         5       0 100.00%
63fido_assert_set_authdata                   28       0 100.00%        33       0 100.00%
64fido_assert_set_authdata_raw               28       0 100.00%        32       0 100.00%
65fido_assert_set_sig                        14       0 100.00%         7       0 100.00%
66fido_assert_set_count                      10       0 100.00%        17       0 100.00%
67assert.c:fido_dev_get_assert_wait          21       0 100.00%        14       0 100.00%
68assert.c:fido_dev_get_assert_tx            56       2  96.43%        62       5  91.94%
69assert.c:fido_dev_get_assert_rx            27       0 100.00%        36       0 100.00%
70assert.c:adjust_assert_count               24       0 100.00%        26       0 100.00%
71assert.c:parse_assert_reply                15       0 100.00%        28       0 100.00%
72assert.c:fido_get_next_assert_tx            8       0 100.00%         8       0 100.00%
73assert.c:fido_get_next_assert_rx           23       2  91.30%        29       5  82.76%
74assert.c:decrypt_hmac_secrets               9       0 100.00%        15       0 100.00%
75assert.c:get_es256_hash                    16       0 100.00%        17       0 100.00%
76assert.c:get_es384_hash                    16       0 100.00%        17       0 100.00%
77assert.c:get_eddsa_hash                     6       0 100.00%         9       0 100.00%
78assert.c:check_extensions                   5       0 100.00%         9       0 100.00%
79assert.c:fido_assert_reset_extattr          1       0 100.00%         5       0 100.00%
80assert.c:fido_assert_clean_authdata         1       0 100.00%         6       0 100.00%
81-----------------------------------------------------------------------------------------------------------------
82TOTAL                                     628      45  92.83%       782      51  93.48%
83
84File '/libfido2/src/authkey.c':
85Name                                  Regions    Miss   Cover     Lines    Miss   Cover
86-----------------------------------------------------------------------------------------------------------------
87fido_dev_authkey                            1       0 100.00%         3       0 100.00%
88authkey.c:fido_dev_authkey_wait            10       0 100.00%         7       0 100.00%
89authkey.c:fido_dev_authkey_tx              19       0 100.00%        25       0 100.00%
90authkey.c:fido_dev_authkey_rx              14       0 100.00%        21       0 100.00%
91authkey.c:parse_authkey                     8       0 100.00%        10       0 100.00%
92-----------------------------------------------------------------------------------------------------------------
93TOTAL                                      52       0 100.00%        66       0 100.00%
94
95File '/libfido2/src/bio.c':
96Name                                  Regions    Miss   Cover     Lines    Miss   Cover
97-----------------------------------------------------------------------------------------------------------------
98fido_bio_dev_get_template_array             5       2  60.00%         6       1  83.33%
99fido_bio_dev_set_template_name              7       0 100.00%         6       0 100.00%
100fido_bio_dev_enroll_begin                  25       2  92.00%        31       1  96.77%
101fido_bio_dev_enroll_continue                5       2  60.00%         6       1  83.33%
102fido_bio_dev_enroll_cancel                  1       1   0.00%         4       4   0.00%
103fido_bio_dev_enroll_remove                  1       0 100.00%         4       0 100.00%
104fido_bio_dev_get_info                       1       0 100.00%         4       0 100.00%
105fido_bio_template_name                      1       0 100.00%         3       0 100.00%
106fido_bio_template_id_ptr                    1       0 100.00%         3       0 100.00%
107fido_bio_template_id_len                    1       0 100.00%         3       0 100.00%
108fido_bio_template_array_count               1       0 100.00%         3       0 100.00%
109fido_bio_template_array_new                 1       0 100.00%         3       0 100.00%
110fido_bio_template_new                       1       0 100.00%         3       0 100.00%
111fido_bio_template_array_free                6       0 100.00%         8       0 100.00%
112fido_bio_template_free                      6       0 100.00%         8       0 100.00%
113fido_bio_template_set_name                  8       0 100.00%         7       0 100.00%
114fido_bio_template_set_id                    8       0 100.00%         6       0 100.00%
115fido_bio_template                           4       0 100.00%         5       0 100.00%
116fido_bio_enroll_new                         1       0 100.00%         3       0 100.00%
117fido_bio_info_new                           1       0 100.00%         3       0 100.00%
118fido_bio_info_type                          1       0 100.00%         3       0 100.00%
119fido_bio_info_max_samples                   1       0 100.00%         3       0 100.00%
120fido_bio_enroll_free                        6       0 100.00%         8       0 100.00%
121fido_bio_info_free                          6       0 100.00%         7       0 100.00%
122fido_bio_enroll_remaining_samples           1       0 100.00%         3       0 100.00%
123fido_bio_enroll_last_status                 1       0 100.00%         3       0 100.00%
124bio.c:bio_get_template_array_wait          11       0 100.00%         7       0 100.00%
125bio.c:bio_tx                               43       0 100.00%        55       0 100.00%
126bio.c:bio_prepare_hmac                     18       0 100.00%        29       0 100.00%
127bio.c:bio_rx_template_array                19       0 100.00%        24       0 100.00%
128bio.c:bio_parse_template_array             26       1  96.15%        27       4  85.19%
129bio.c:decode_template_array                12       1  91.67%        18       3  83.33%
130bio.c:decode_template                       9       0 100.00%        15       0 100.00%
131bio.c:bio_set_template_name_wait           19       0 100.00%        20       0 100.00%
132bio.c:bio_enroll_begin_wait                17       0 100.00%        19       0 100.00%
133bio.c:bio_rx_enroll_begin                  23       0 100.00%        31       0 100.00%
134bio.c:bio_parse_enroll_status              20       0 100.00%        28       0 100.00%
135bio.c:bio_parse_template_id                 8       0 100.00%        10       0 100.00%
136bio.c:bio_enroll_continue_wait             19       0 100.00%        20       0 100.00%
137bio.c:bio_rx_enroll_continue               19       0 100.00%        25       0 100.00%
138bio.c:bio_enroll_cancel_wait               11      11   0.00%        10      10   0.00%
139bio.c:bio_enroll_remove_wait               17       0 100.00%        19       0 100.00%
140bio.c:bio_get_info_wait                    11       0 100.00%        10       0 100.00%
141bio.c:bio_rx_info                          19       0 100.00%        24       0 100.00%
142bio.c:bio_reset_info                        1       0 100.00%         4       0 100.00%
143bio.c:bio_parse_info                       20       0 100.00%        28       0 100.00%
144bio.c:bio_reset_template_array              4       0 100.00%         7       0 100.00%
145bio.c:bio_reset_template                    1       0 100.00%         5       0 100.00%
146bio.c:bio_reset_enroll                      3       0 100.00%         6       0 100.00%
147-----------------------------------------------------------------------------------------------------------------
148TOTAL                                     451      20  95.57%       587      24  95.91%
149
150File '/libfido2/src/blob.c':
151Name                                  Regions    Miss   Cover     Lines    Miss   Cover
152-----------------------------------------------------------------------------------------------------------------
153fido_blob_new                               1       0 100.00%         3       0 100.00%
154fido_blob_reset                             1       0 100.00%         4       0 100.00%
155fido_blob_set                               9       0 100.00%        15       0 100.00%
156fido_blob_append                           12       1  91.67%        20       3  85.00%
157fido_blob_free                              6       0 100.00%         8       0 100.00%
158fido_free_blob_array                        7       0 100.00%        12       0 100.00%
159fido_blob_encode                            6       0 100.00%         5       0 100.00%
160fido_blob_decode                            1       0 100.00%         3       0 100.00%
161fido_blob_is_empty                          3       0 100.00%         3       0 100.00%
162fido_blob_serialise                         7       1  85.71%        10       1  90.00%
163-----------------------------------------------------------------------------------------------------------------
164TOTAL                                      53       2  96.23%        83       4  95.18%
165
166File '/libfido2/src/buf.c':
167Name                                  Regions    Miss   Cover     Lines    Miss   Cover
168-----------------------------------------------------------------------------------------------------------------
169fido_buf_read                               4       0 100.00%         8       0 100.00%
170fido_buf_write                              4       1  75.00%         8       1  87.50%
171-----------------------------------------------------------------------------------------------------------------
172TOTAL                                       8       1  87.50%        16       1  93.75%
173
174File '/libfido2/src/cbor.c':
175Name                                   Regions    Miss   Cover     Lines    Miss   Cover
176------------------------------------------------------------------------------------------------------------------
177cbor_map_iter                               20       1  95.00%        26       4  84.62%
178cbor_array_iter                             12       0 100.00%        16       0 100.00%
179cbor_parse_reply                            27       0 100.00%        36       0 100.00%
180cbor_vector_free                             6       0 100.00%         5       0 100.00%
181cbor_bytestring_copy                        14       0 100.00%        18       0 100.00%
182cbor_string_copy                            14       0 100.00%        18       0 100.00%
183cbor_add_bytestring                         14       0 100.00%        21       0 100.00%
184cbor_add_string                             14       0 100.00%        21       0 100.00%
185cbor_add_bool                               14       0 100.00%        21       0 100.00%
186cbor_flatten_vector                         14       1  92.86%        16       1  93.75%
187cbor_build_frame                            15       0 100.00%        25       0 100.00%
188cbor_encode_rp_entity                       13       0 100.00%        11       0 100.00%
189cbor_encode_user_entity                     21       0 100.00%        15       0 100.00%
190cbor_encode_pubkey_param                    36       0 100.00%        39       0 100.00%
191cbor_encode_pubkey                          10       0 100.00%        11       0 100.00%
192cbor_encode_pubkey_list                     18       0 100.00%        19       0 100.00%
193cbor_encode_str_array                       18       0 100.00%        19       0 100.00%
194cbor_encode_cred_ext                        55       0 100.00%        50       0 100.00%
195cbor_encode_cred_opt                        13       0 100.00%        11       0 100.00%
196cbor_encode_assert_opt                      13       0 100.00%        11       0 100.00%
197cbor_encode_pin_auth                        21       1  95.24%        22       3  86.36%
198cbor_encode_pin_opt                          4       0 100.00%         8       0 100.00%
199cbor_encode_change_pin_auth                 32       1  96.88%        36       3  91.67%
200cbor_encode_assert_ext                      33       0 100.00%        32       0 100.00%
201cbor_decode_fmt                             13       0 100.00%        15       0 100.00%
202cbor_decode_pubkey                          26       1  96.15%        36       2  94.44%
203cbor_decode_cred_authdata                   31       1  96.77%        35       3  91.43%
204cbor_decode_assert_authdata                 21       1  95.24%        32       3  90.62%
205cbor_decode_attstmt                         13       0 100.00%        16       0 100.00%
206cbor_decode_uint64                           4       0 100.00%         8       0 100.00%
207cbor_decode_cred_id                          8       0 100.00%         9       0 100.00%
208cbor_decode_user                             8       0 100.00%         9       0 100.00%
209cbor_decode_rp_entity                        8       0 100.00%         9       0 100.00%
210cbor_decode_bool                            10       0 100.00%        11       0 100.00%
211cbor_build_uint                             10       1  90.00%         9       1  88.89%
212cbor_array_append                           17       0 100.00%        21       0 100.00%
213cbor_array_drop                             18       0 100.00%        17       0 100.00%
214cbor.c:ctap_check_cbor                      28       0 100.00%        26       0 100.00%
215cbor.c:check_key_type                        8       0 100.00%         7       0 100.00%
216cbor.c:cbor_add_arg                         13       0 100.00%        21       0 100.00%
217cbor.c:cbor_add_uint8                       14       0 100.00%        21       0 100.00%
218cbor.c:cbor_encode_largeblob_key_ext         6       0 100.00%         6       0 100.00%
219cbor.c:cbor_encode_hmac_secret_param        59       4  93.22%        66       8  87.88%
220cbor.c:get_cose_alg                         46       0 100.00%        45       0 100.00%
221cbor.c:find_cose_alg                        35       0 100.00%        33       0 100.00%
222cbor.c:decode_attcred                       25       0 100.00%        44       0 100.00%
223cbor.c:decode_cred_extensions               14       0 100.00%        24       0 100.00%
224cbor.c:decode_cred_extension                41       0 100.00%        45       0 100.00%
225cbor.c:decode_assert_extensions             14       0 100.00%        23       0 100.00%
226cbor.c:decode_assert_extension              19       0 100.00%        27       0 100.00%
227cbor.c:decode_attstmt_entry                 56       0 100.00%        51       0 100.00%
228cbor.c:decode_x5c                            4       0 100.00%         6       0 100.00%
229cbor.c:decode_cred_id_entry                 10       0 100.00%        19       0 100.00%
230cbor.c:decode_user_entry                    25       0 100.00%        35       0 100.00%
231cbor.c:decode_rp_entity_entry               15       0 100.00%        25       0 100.00%
232------------------------------------------------------------------------------------------------------------------
233TOTAL                                     1070      12  98.88%      1258      28  97.77%
234
235File '/libfido2/src/compress.c':
236Name                                   Regions    Miss   Cover     Lines    Miss   Cover
237------------------------------------------------------------------------------------------------------------------
238fido_compress                                1       0 100.00%         3       0 100.00%
239fido_uncompress                              6       0 100.00%         5       0 100.00%
240compress.c:rfc1951_deflate                  33       4  87.88%        47       6  87.23%
241compress.c:rfc1950_inflate                  27       2  92.59%        22       4  81.82%
242compress.c:rfc1951_inflate                  38       8  78.95%        45      14  68.89%
243------------------------------------------------------------------------------------------------------------------
244TOTAL                                      105      14  86.67%       122      24  80.33%
245
246File '/libfido2/src/config.c':
247Name                                    Regions    Miss   Cover     Lines    Miss   Cover
248-------------------------------------------------------------------------------------------------------------------
249fido_dev_enable_entattest                     1       0 100.00%         4       0 100.00%
250fido_dev_toggle_always_uv                     1       0 100.00%         4       0 100.00%
251fido_dev_set_pin_minlen                       1       0 100.00%         4       0 100.00%
252fido_dev_force_pin_change                     1       0 100.00%         4       0 100.00%
253fido_dev_set_pin_minlen_rpid                  6       0 100.00%        15       0 100.00%
254config.c:config_enable_entattest_wait         6       0 100.00%         7       0 100.00%
255config.c:config_tx                           39       0 100.00%        49       0 100.00%
256config.c:config_prepare_hmac                 10       0 100.00%        21       0 100.00%
257config.c:config_toggle_always_uv_wait         6       0 100.00%         7       0 100.00%
258config.c:config_pin_minlen                    5       0 100.00%         7       0 100.00%
259config.c:config_pin_minlen_tx                36       0 100.00%        32       0 100.00%
260-------------------------------------------------------------------------------------------------------------------
261TOTAL                                       112       0 100.00%       154       0 100.00%
262
263File '/libfido2/src/cred.c':
264Name                                    Regions    Miss   Cover     Lines    Miss   Cover
265-------------------------------------------------------------------------------------------------------------------
266fido_dev_make_cred                           12       0 100.00%        10       0 100.00%
267fido_check_rp_id                              4       0 100.00%        11       0 100.00%
268fido_cred_verify                             59       2  96.61%        75       4  94.67%
269fido_cred_verify_self                        60       4  93.33%        87       7  91.95%
270fido_cred_new                                 1       0 100.00%         3       0 100.00%
271fido_cred_reset_tx                            1       0 100.00%        18       0 100.00%
272fido_cred_reset_rx                            1       0 100.00%         7       0 100.00%
273fido_cred_free                                6       0 100.00%         9       0 100.00%
274fido_cred_set_authdata                       23       0 100.00%        28       0 100.00%
275fido_cred_set_authdata_raw                   25       0 100.00%        29       0 100.00%
276fido_cred_set_id                              6       0 100.00%         5       0 100.00%
277fido_cred_set_x509                            6       0 100.00%         5       0 100.00%
278fido_cred_set_sig                             6       0 100.00%         5       0 100.00%
279fido_cred_set_attstmt                        20       0 100.00%        23       0 100.00%
280fido_cred_exclude                            14       2  85.71%        19       3  84.21%
281fido_cred_empty_exclude_list                  2       0 100.00%         5       0 100.00%
282fido_cred_set_clientdata                     12      12   0.00%        11      11   0.00%
283fido_cred_set_clientdata_hash                 8       0 100.00%         6       0 100.00%
284fido_cred_set_rp                             18       0 100.00%        22       0 100.00%
285fido_cred_set_user                           32       0 100.00%        41       0 100.00%
286fido_cred_set_extensions                     16       0 100.00%        10       0 100.00%
287fido_cred_set_options                         8       8   0.00%         5       5   0.00%
288fido_cred_set_rk                              2       0 100.00%         4       0 100.00%
289fido_cred_set_uv                              2       0 100.00%         4       0 100.00%
290fido_cred_set_prot                           21       0 100.00%        14       0 100.00%
291fido_cred_set_pin_minlen                      7       0 100.00%         8       0 100.00%
292fido_cred_set_blob                           13       0 100.00%         8       0 100.00%
293fido_cred_set_fmt                            20       4  80.00%        12       2  83.33%
294fido_cred_set_type                           23       2  91.30%         9       1  88.89%
295fido_cred_type                                1       0 100.00%         3       0 100.00%
296fido_cred_flags                               1       0 100.00%         3       0 100.00%
297fido_cred_sigcount                            1       0 100.00%         3       0 100.00%
298fido_cred_clientdata_hash_ptr                 1       0 100.00%         3       0 100.00%
299fido_cred_clientdata_hash_len                 1       0 100.00%         3       0 100.00%
300fido_cred_x5c_ptr                             1       0 100.00%         3       0 100.00%
301fido_cred_x5c_len                             1       0 100.00%         3       0 100.00%
302fido_cred_sig_ptr                             1       0 100.00%         3       0 100.00%
303fido_cred_sig_len                             1       0 100.00%         3       0 100.00%
304fido_cred_authdata_ptr                        1       0 100.00%         3       0 100.00%
305fido_cred_authdata_len                        1       0 100.00%         3       0 100.00%
306fido_cred_authdata_raw_ptr                    1       0 100.00%         3       0 100.00%
307fido_cred_authdata_raw_len                    1       0 100.00%         3       0 100.00%
308fido_cred_attstmt_ptr                         1       0 100.00%         3       0 100.00%
309fido_cred_attstmt_len                         1       0 100.00%         3       0 100.00%
310fido_cred_pubkey_ptr                         11       0 100.00%        21       0 100.00%
311fido_cred_pubkey_len                         11       0 100.00%        21       0 100.00%
312fido_cred_id_ptr                              1       0 100.00%         3       0 100.00%
313fido_cred_id_len                              1       0 100.00%         3       0 100.00%
314fido_cred_aaguid_ptr                          1       0 100.00%         3       0 100.00%
315fido_cred_aaguid_len                          1       0 100.00%         3       0 100.00%
316fido_cred_prot                                1       0 100.00%         3       0 100.00%
317fido_cred_pin_minlen                          1       0 100.00%         3       0 100.00%
318fido_cred_fmt                                 1       0 100.00%         3       0 100.00%
319fido_cred_rp_id                               1       0 100.00%         3       0 100.00%
320fido_cred_rp_name                             1       0 100.00%         3       0 100.00%
321fido_cred_user_name                           1       0 100.00%         3       0 100.00%
322fido_cred_display_name                        1       0 100.00%         3       0 100.00%
323fido_cred_user_id_ptr                         1       0 100.00%         3       0 100.00%
324fido_cred_user_id_len                         1       0 100.00%         3       0 100.00%
325fido_cred_largeblob_key_ptr                   1       0 100.00%         3       0 100.00%
326fido_cred_largeblob_key_len                   1       0 100.00%         3       0 100.00%
327cred.c:fido_dev_make_cred_wait               10       0 100.00%         7       0 100.00%
328cred.c:fido_dev_make_cred_tx                 64       0 100.00%        70       0 100.00%
329cred.c:fido_dev_make_cred_rx                 29       0 100.00%        32       0 100.00%
330cred.c:parse_makecred_reply                  14       0 100.00%        27       0 100.00%
331cred.c:check_extensions                       2       0 100.00%         6       0 100.00%
332cred.c:get_signed_hash_u2f                   27       0 100.00%        27       0 100.00%
333cred.c:verify_attstmt                        25       2  92.00%        43       6  86.05%
334cred.c:fido_cred_clean_authdata               1       0 100.00%         8       0 100.00%
335cred.c:fido_cred_clean_attstmt                1       0 100.00%         8       0 100.00%
336-------------------------------------------------------------------------------------------------------------------
337TOTAL                                       653      36  94.49%       853      39  95.43%
338
339File '/libfido2/src/credman.c':
340Name                                    Regions    Miss   Cover     Lines    Miss   Cover
341-------------------------------------------------------------------------------------------------------------------
342fido_credman_get_dev_metadata                 1       0 100.00%         4       0 100.00%
343fido_credman_get_dev_rk                       1       0 100.00%         4       0 100.00%
344fido_credman_del_dev_rk                       1       0 100.00%         4       0 100.00%
345fido_credman_get_dev_rp                       1       0 100.00%         4       0 100.00%
346fido_credman_set_dev_rk                       1       0 100.00%         4       0 100.00%
347fido_credman_rk_new                           1       0 100.00%         3       0 100.00%
348fido_credman_rk_free                          6       1  83.33%         8       1  87.50%
349fido_credman_rk_count                         1       0 100.00%         3       0 100.00%
350fido_credman_rk                               4       0 100.00%         5       0 100.00%
351fido_credman_metadata_new                     1       0 100.00%         3       0 100.00%
352fido_credman_metadata_free                    6       1  83.33%         7       1  85.71%
353fido_credman_rk_existing                      1       0 100.00%         3       0 100.00%
354fido_credman_rk_remaining                     1       0 100.00%         3       0 100.00%
355fido_credman_rp_new                           1       0 100.00%         3       0 100.00%
356fido_credman_rp_free                          6       1  83.33%         8       1  87.50%
357fido_credman_rp_count                         1       0 100.00%         3       0 100.00%
358fido_credman_rp_id                            4       0 100.00%         5       0 100.00%
359fido_credman_rp_name                          4       0 100.00%         5       0 100.00%
360fido_credman_rp_id_hash_len                   4       0 100.00%         5       0 100.00%
361fido_credman_rp_id_hash_ptr                   4       0 100.00%         5       0 100.00%
362credman.c:credman_get_metadata_wait          11       0 100.00%         8       0 100.00%
363credman.c:credman_tx                         36       0 100.00%        50       0 100.00%
364credman.c:credman_prepare_hmac               31       1  96.77%        50       2  96.00%
365credman.c:credman_rx_metadata                19       0 100.00%        24       0 100.00%
366credman.c:credman_parse_metadata              9       0 100.00%        17       0 100.00%
367credman.c:credman_get_rk_wait                27       0 100.00%        23       0 100.00%
368credman.c:credman_rx_rk                      27       0 100.00%        35       0 100.00%
369credman.c:credman_parse_rk_count             16       0 100.00%        20       0 100.00%
370credman.c:credman_grow_array                 17       2  88.24%        21       5  76.19%
371credman.c:credman_parse_rk                   23       0 100.00%        31       0 100.00%
372credman.c:credman_rx_next_rk                 23       2  91.30%        29       5  82.76%
373credman.c:credman_del_rk_wait                16       0 100.00%        15       0 100.00%
374credman.c:credman_get_rp_wait                23       0 100.00%        15       0 100.00%
375credman.c:credman_rx_rp                      27       0 100.00%        35       0 100.00%
376credman.c:credman_parse_rp_count             16       0 100.00%        20       0 100.00%
377credman.c:credman_parse_rp                    9       0 100.00%        17       0 100.00%
378credman.c:credman_rx_next_rp                 23       2  91.30%        29       5  82.76%
379credman.c:credman_set_dev_rk_wait            11       0 100.00%         8       0 100.00%
380credman.c:credman_reset_rk                    4       0 100.00%         9       0 100.00%
381credman.c:credman_reset_rp                    4       0 100.00%        12       0 100.00%
382-------------------------------------------------------------------------------------------------------------------
383TOTAL                                       422      10  97.63%       557      20  96.41%
384
385File '/libfido2/src/dev.c':
386Name                                    Regions    Miss   Cover     Lines    Miss   Cover
387-------------------------------------------------------------------------------------------------------------------
388fido_dev_info_manifest                        2       0 100.00%        11       0 100.00%
389fido_dev_open_with_info                       5       5   0.00%         6       6   0.00%
390fido_dev_open                                13       4  69.23%        16       6  62.50%
391fido_dev_close                                9       2  77.78%         8       1  87.50%
392fido_dev_set_sigmask                         18      18   0.00%        11      11   0.00%
393fido_dev_cancel                              11       0 100.00%         8       0 100.00%
394fido_dev_set_io_functions                    18       4  77.78%        14       6  57.14%
395fido_dev_set_transport_functions              6       2  66.67%         9       3  66.67%
396fido_dev_io_handle                            1       1   0.00%         3       3   0.00%
397fido_init                                     8       1  87.50%         5       0 100.00%
398fido_dev_new                                  5       0 100.00%        14       0 100.00%
399fido_dev_new_with_info                       10      10   0.00%        16      16   0.00%
400fido_dev_free                                 6       0 100.00%         8       0 100.00%
401fido_dev_protocol                             1       0 100.00%         3       0 100.00%
402fido_dev_major                                1       0 100.00%         3       0 100.00%
403fido_dev_minor                                1       0 100.00%         3       0 100.00%
404fido_dev_build                                1       0 100.00%         3       0 100.00%
405fido_dev_flags                                1       0 100.00%         3       0 100.00%
406fido_dev_is_fido2                             2       0 100.00%         3       0 100.00%
407fido_dev_is_winhello                          2       2   0.00%         3       3   0.00%
408fido_dev_supports_pin                         3       0 100.00%         3       0 100.00%
409fido_dev_has_pin                              2       0 100.00%         3       0 100.00%
410fido_dev_supports_cred_prot                   2       0 100.00%         3       0 100.00%
411fido_dev_supports_credman                     2       0 100.00%         3       0 100.00%
412fido_dev_supports_uv                          3       0 100.00%         3       0 100.00%
413fido_dev_has_uv                               2       0 100.00%         3       0 100.00%
414fido_dev_supports_permissions                 2       0 100.00%         3       0 100.00%
415fido_dev_force_u2f                            2       0 100.00%         4       0 100.00%
416fido_dev_force_fido2                          2       2   0.00%         3       3   0.00%
417fido_dev_get_pin_protocol                    11       0 100.00%         7       0 100.00%
418fido_dev_maxmsgsize                           1       0 100.00%         3       0 100.00%
419fido_dev_set_timeout                          6       2  66.67%         6       1  83.33%
420dev.c:run_manifest                           10       0 100.00%        13       0 100.00%
421dev.c:fido_dev_open_wait                     10       0 100.00%         7       0 100.00%
422dev.c:fido_dev_open_tx                       56      11  80.36%        56      20  64.29%
423dev.c:set_random_report_len                  11       0 100.00%         6       0 100.00%
424dev.c:fido_dev_open_rx                       36       1  97.22%        53       1  98.11%
425dev.c:fido_dev_set_flags                      1       0 100.00%         5       0 100.00%
426dev.c:fido_dev_set_extension_flags            7       0 100.00%         7       0 100.00%
427dev.c:fido_dev_set_option_flags              31       0 100.00%        20       0 100.00%
428dev.c:fido_dev_set_protocol_flags            11       0 100.00%        17       0 100.00%
429-------------------------------------------------------------------------------------------------------------------
430TOTAL                                       332      65  80.42%       378      80  78.84%
431
432File '/libfido2/src/ecdh.c':
433Name                                    Regions    Miss   Cover     Lines    Miss   Cover
434-------------------------------------------------------------------------------------------------------------------
435fido_do_ecdh                                 29       0 100.00%        36       0 100.00%
436ecdh.c:do_ecdh                               37       0 100.00%        44       0 100.00%
437ecdh.c:kdf                                   19       1  94.74%        28       2  92.86%
438ecdh.c:hkdf_sha256                           32       1  96.88%        38       3  92.11%
439-------------------------------------------------------------------------------------------------------------------
440TOTAL                                       117       2  98.29%       146       5  96.58%
441
442File '/libfido2/src/eddsa.c':
443Name                                    Regions    Miss   Cover     Lines    Miss   Cover
444-------------------------------------------------------------------------------------------------------------------
445eddsa_pk_decode                               8       0 100.00%         9       0 100.00%
446eddsa_pk_new                                  1       0 100.00%         3       0 100.00%
447eddsa_pk_free                                 6       0 100.00%         7       0 100.00%
448eddsa_pk_from_ptr                            10       0 100.00%        12       0 100.00%
449eddsa_pk_to_EVP_PKEY                          3       0 100.00%         7       0 100.00%
450eddsa_pk_from_EVP_PKEY                       18       2  88.89%        12       1  91.67%
451eddsa_verify_sig                             19       2  89.47%        30       6  80.00%
452eddsa_pk_verify_sig                           7       1  85.71%        13       2  84.62%
453eddsa.c:decode_pubkey_point                   8       0 100.00%        11       0 100.00%
454eddsa.c:decode_coord                          8       0 100.00%        10       0 100.00%
455-------------------------------------------------------------------------------------------------------------------
456TOTAL                                        88       5  94.32%       114       9  92.11%
457
458File '/libfido2/src/err.c':
459Name                                    Regions    Miss   Cover     Lines    Miss   Cover
460-------------------------------------------------------------------------------------------------------------------
461fido_strerr                                 122      10  91.80%       126      10  92.06%
462-------------------------------------------------------------------------------------------------------------------
463TOTAL                                       122      10  91.80%       126      10  92.06%
464
465File '/libfido2/src/es256.c':
466Name                                    Regions    Miss   Cover     Lines    Miss   Cover
467-------------------------------------------------------------------------------------------------------------------
468es256_pk_decode                               8       0 100.00%         9       0 100.00%
469es256_pk_encode                              56       0 100.00%        48       0 100.00%
470es256_sk_new                                  1       0 100.00%         3       0 100.00%
471es256_sk_free                                 6       0 100.00%         7       0 100.00%
472es256_pk_new                                  1       0 100.00%         3       0 100.00%
473es256_pk_free                                 6       0 100.00%         7       0 100.00%
474es256_pk_from_ptr                            15       0 100.00%        17       0 100.00%
475es256_pk_set_x                                1       0 100.00%         4       0 100.00%
476es256_pk_set_y                                1       0 100.00%         4       0 100.00%
477es256_sk_create                              39       0 100.00%        40       0 100.00%
478es256_pk_to_EVP_PKEY                         42       0 100.00%        53       0 100.00%
479es256_pk_from_EC_KEY                         42       2  95.24%        47       4  91.49%
480es256_pk_from_EVP_PKEY                        8       0 100.00%         7       0 100.00%
481es256_sk_to_EVP_PKEY                         28       0 100.00%        39       0 100.00%
482es256_derive_pk                              25       0 100.00%        29       0 100.00%
483es256_verify_sig                             12       2  83.33%        19       5  73.68%
484es256_pk_verify_sig                           7       1  85.71%        13       2  84.62%
485es256.c:decode_pubkey_point                   9       0 100.00%        13       0 100.00%
486es256.c:decode_coord                          8       0 100.00%        10       0 100.00%
487-------------------------------------------------------------------------------------------------------------------
488TOTAL                                       315       5  98.41%       372      11  97.04%
489
490File '/libfido2/src/es384.c':
491Name                                    Regions    Miss   Cover     Lines    Miss   Cover
492-------------------------------------------------------------------------------------------------------------------
493es384_pk_decode                               8       0 100.00%         9       0 100.00%
494es384_pk_new                                  1       0 100.00%         3       0 100.00%
495es384_pk_free                                 6       0 100.00%         7       0 100.00%
496es384_pk_from_ptr                            15       0 100.00%        17       0 100.00%
497es384_pk_to_EVP_PKEY                         42       0 100.00%        53       0 100.00%
498es384_pk_from_EC_KEY                         42       2  95.24%        47       4  91.49%
499es384_pk_from_EVP_PKEY                        8       0 100.00%         7       0 100.00%
500es384_verify_sig                             12       2  83.33%        19       5  73.68%
501es384_pk_verify_sig                           7       1  85.71%        13       2  84.62%
502es384.c:decode_pubkey_point                   9       0 100.00%        13       0 100.00%
503es384.c:decode_coord                          8       0 100.00%        10       0 100.00%
504-------------------------------------------------------------------------------------------------------------------
505TOTAL                                       158       5  96.84%       198      11  94.44%
506
507File '/libfido2/src/extern.h':
508Name                                    Regions    Miss   Cover     Lines    Miss   Cover
509-------------------------------------------------------------------------------------------------------------------
510
511File '/libfido2/src/fallthrough.h':
512Name                                    Regions    Miss   Cover     Lines    Miss   Cover
513-------------------------------------------------------------------------------------------------------------------
514
515File '/libfido2/src/fido.h':
516Name                                    Regions    Miss   Cover     Lines    Miss   Cover
517-------------------------------------------------------------------------------------------------------------------
518
519File '/libfido2/src/hid.c':
520Name                                    Regions    Miss   Cover     Lines    Miss   Cover
521-------------------------------------------------------------------------------------------------------------------
522fido_hid_get_usage                           13       0 100.00%        22       0 100.00%
523fido_hid_get_report_len                      19       0 100.00%        27       0 100.00%
524fido_dev_info_new                             1       0 100.00%         3       0 100.00%
525fido_dev_info_free                            9       0 100.00%         9       0 100.00%
526fido_dev_info_ptr                             1       0 100.00%         3       0 100.00%
527fido_dev_info_set                            26       2  92.31%        30       3  90.00%
528fido_dev_info_path                            1       0 100.00%         3       0 100.00%
529fido_dev_info_vendor                          1       0 100.00%         3       0 100.00%
530fido_dev_info_product                         1       0 100.00%         3       0 100.00%
531fido_dev_info_manufacturer_string             1       0 100.00%         3       0 100.00%
532fido_dev_info_product_string                  1       0 100.00%         3       0 100.00%
533hid.c:get_key_len                             6       0 100.00%        12       0 100.00%
534hid.c:get_key_val                             6       0 100.00%        18       0 100.00%
535hid.c:fido_dev_info_reset                     1       0 100.00%         6       0 100.00%
536-------------------------------------------------------------------------------------------------------------------
537TOTAL                                        87       2  97.70%       145       3  97.93%
538
539File '/libfido2/src/hid_linux.c':
540Name                                    Regions    Miss   Cover     Lines    Miss   Cover
541-------------------------------------------------------------------------------------------------------------------
542fido_hid_manifest                            35       4  88.57%        41       2  95.12%
543fido_hid_open                                33      33   0.00%        51      51   0.00%
544fido_hid_close                                3       3   0.00%         6       6   0.00%
545fido_hid_set_sigmask                          2       2   0.00%         6       6   0.00%
546fido_hid_read                                15      15   0.00%        21      21   0.00%
547fido_hid_write                               12      12   0.00%        17      17   0.00%
548fido_hid_report_in_len                        1       1   0.00%         4       4   0.00%
549fido_hid_report_out_len                       1       1   0.00%         4       4   0.00%
550hid_linux.c:copy_info                        34       0 100.00%        44       0 100.00%
551hid_linux.c:is_fido                          15       1  93.33%        16       1  93.75%
552hid_linux.c:get_parent_attr                   6       0 100.00%         9       0 100.00%
553hid_linux.c:parse_uevent                     12       0 100.00%        24       0 100.00%
554hid_linux.c:get_usb_attr                      1       0 100.00%         3       0 100.00%
555hid_linux.c:get_report_descriptor            14       1  92.86%        17       3  82.35%
556-------------------------------------------------------------------------------------------------------------------
557TOTAL                                       184      73  60.33%       263     115  56.27%
558
559File '/libfido2/src/hid_unix.c':
560Name                                    Regions    Miss   Cover     Lines    Miss   Cover
561-------------------------------------------------------------------------------------------------------------------
562fido_hid_unix_open                           18      11  38.89%        22      14  36.36%
563fido_hid_unix_wait                           11      10   9.09%        21      12  42.86%
564-------------------------------------------------------------------------------------------------------------------
565TOTAL                                        29      21  27.59%        43      26  39.53%
566
567File '/libfido2/src/info.c':
568Name                                    Regions    Miss   Cover     Lines    Miss   Cover
569-------------------------------------------------------------------------------------------------------------------
570fido_dev_get_cbor_info_wait                  10       0 100.00%         7       0 100.00%
571fido_dev_get_cbor_info                        1       0 100.00%         4       0 100.00%
572fido_cbor_info_new                            4       0 100.00%         7       0 100.00%
573fido_cbor_info_reset                          1       0 100.00%        10       0 100.00%
574fido_cbor_info_free                           6       0 100.00%         8       0 100.00%
575fido_cbor_info_versions_ptr                   1       0 100.00%         3       0 100.00%
576fido_cbor_info_versions_len                   1       0 100.00%         3       0 100.00%
577fido_cbor_info_extensions_ptr                 1       0 100.00%         3       0 100.00%
578fido_cbor_info_extensions_len                 1       0 100.00%         3       0 100.00%
579fido_cbor_info_transports_ptr                 1       0 100.00%         3       0 100.00%
580fido_cbor_info_transports_len                 1       0 100.00%         3       0 100.00%
581fido_cbor_info_aaguid_ptr                     1       0 100.00%         3       0 100.00%
582fido_cbor_info_aaguid_len                     1       0 100.00%         3       0 100.00%
583fido_cbor_info_options_name_ptr               1       0 100.00%         3       0 100.00%
584fido_cbor_info_options_value_ptr              1       0 100.00%         3       0 100.00%
585fido_cbor_info_options_len                    1       0 100.00%         3       0 100.00%
586fido_cbor_info_maxcredbloblen                 1       0 100.00%         3       0 100.00%
587fido_cbor_info_maxmsgsiz                      1       0 100.00%         3       0 100.00%
588fido_cbor_info_maxcredcntlst                  1       0 100.00%         3       0 100.00%
589fido_cbor_info_maxcredidlen                   1       0 100.00%         3       0 100.00%
590fido_cbor_info_maxlargeblob                   1       0 100.00%         3       0 100.00%
591fido_cbor_info_fwversion                      1       0 100.00%         3       0 100.00%
592fido_cbor_info_minpinlen                      1       0 100.00%         3       0 100.00%
593fido_cbor_info_maxrpid_minpinlen              1       0 100.00%         3       0 100.00%
594fido_cbor_info_uv_attempts                    1       0 100.00%         3       0 100.00%
595fido_cbor_info_uv_modality                    1       0 100.00%         3       0 100.00%
596fido_cbor_info_rk_remaining                   1       0 100.00%         3       0 100.00%
597fido_cbor_info_protocols_ptr                  1       0 100.00%         3       0 100.00%
598fido_cbor_info_protocols_len                  1       0 100.00%         3       0 100.00%
599fido_cbor_info_algorithm_count                1       0 100.00%         3       0 100.00%
600fido_cbor_info_algorithm_type                 4       0 100.00%         5       0 100.00%
601fido_cbor_info_algorithm_cose                 4       0 100.00%         5       0 100.00%
602fido_cbor_info_new_pin_required               1       0 100.00%         3       0 100.00%
603fido_cbor_info_certs_name_ptr                 1       0 100.00%         3       0 100.00%
604fido_cbor_info_certs_value_ptr                1       0 100.00%         3       0 100.00%
605fido_cbor_info_certs_len                      1       0 100.00%         3       0 100.00%
606info.c:fido_dev_get_cbor_info_tx              8       0 100.00%         9       0 100.00%
607info.c:fido_dev_get_cbor_info_rx             14       0 100.00%        21       0 100.00%
608info.c:parse_reply_element                   32       0 100.00%        59       0 100.00%
609info.c:decode_string_array                   12       0 100.00%        17       0 100.00%
610info.c:decode_string                          4       0 100.00%        10       0 100.00%
611info.c:decode_aaguid                          8       0 100.00%        10       0 100.00%
612info.c:decode_options                        11       0 100.00%        15       0 100.00%
613info.c:decode_option                          7       0 100.00%        15       0 100.00%
614info.c:decode_protocols                      12       0 100.00%        17       0 100.00%
615info.c:decode_protocol                        6       0 100.00%        12       0 100.00%
616info.c:decode_algorithms                     12       0 100.00%        17       0 100.00%
617info.c:decode_algorithm                       9       0 100.00%        17       0 100.00%
618info.c:decode_algorithm_entry                20       0 100.00%        27       0 100.00%
619info.c:decode_certs                          11       0 100.00%        15       0 100.00%
620info.c:decode_cert                            7       0 100.00%        15       0 100.00%
621-------------------------------------------------------------------------------------------------------------------
622TOTAL                                       232       0 100.00%       409       0 100.00%
623
624File '/libfido2/src/io.c':
625Name                                    Regions    Miss   Cover     Lines    Miss   Cover
626-------------------------------------------------------------------------------------------------------------------
627fido_tx                                      14       0 100.00%        11       0 100.00%
628fido_rx                                      13       1  92.31%        14       3  78.57%
629fido_rx_cbor_status                          16       0 100.00%        19       0 100.00%
630io.c:transport_tx                             7       0 100.00%        10       0 100.00%
631io.c:tx_empty                                 9       0 100.00%        14       0 100.00%
632io.c:tx_pkt                                   7       0 100.00%        10       0 100.00%
633io.c:tx                                      13       0 100.00%        19       0 100.00%
634io.c:tx_preamble                             17       1  94.12%        20       1  95.00%
635io.c:tx_frame                                16       1  93.75%        18       1  94.44%
636io.c:transport_rx                             7       0 100.00%        10       0 100.00%
637io.c:rx                                      40       2  95.00%        52       2  96.15%
638io.c:rx_preamble                             23       2  91.30%        22       5  77.27%
639io.c:rx_frame                                11       0 100.00%        11       0 100.00%
640-------------------------------------------------------------------------------------------------------------------
641TOTAL                                       193       7  96.37%       230      12  94.78%
642
643File '/libfido2/src/iso7816.c':
644Name                                    Regions    Miss   Cover     Lines    Miss   Cover
645-------------------------------------------------------------------------------------------------------------------
646iso7816_new                                   4       0 100.00%        16       0 100.00%
647iso7816_free                                  6       0 100.00%         7       0 100.00%
648iso7816_add                                   6       1  83.33%         8       1  87.50%
649iso7816_ptr                                   1       0 100.00%         3       0 100.00%
650iso7816_len                                   1       0 100.00%         4       0 100.00%
651-------------------------------------------------------------------------------------------------------------------
652TOTAL                                        18       1  94.44%        38       1  97.37%
653
654File '/libfido2/src/largeblob.c':
655Name                                    Regions    Miss   Cover     Lines    Miss   Cover
656-------------------------------------------------------------------------------------------------------------------
657fido_dev_largeblob_get                       26       2  92.31%        38       4  89.47%
658fido_dev_largeblob_set                       27       0 100.00%        36       0 100.00%
659fido_dev_largeblob_remove                    12       0 100.00%        18       0 100.00%
660fido_dev_largeblob_get_array                 15       2  86.67%        27       4  85.19%
661fido_dev_largeblob_set_array                 14       0 100.00%        19       0 100.00%
662largeblob.c:largeblob_get_array              32       0 100.00%        36       0 100.00%
663largeblob.c:get_chunklen                     10       1  90.00%         9       1  88.89%
664largeblob.c:largeblob_get_tx                 19       0 100.00%        24       0 100.00%
665largeblob.c:largeblob_get_rx                 26       0 100.00%        30       0 100.00%
666largeblob.c:parse_largeblob_reply             8       0 100.00%         9       0 100.00%
667largeblob.c:largeblob_array_check             7       0 100.00%        16       0 100.00%
668largeblob.c:largeblob_array_digest           10       0 100.00%         9       0 100.00%
669largeblob.c:largeblob_array_load             14       2  85.71%        19       7  63.16%
670largeblob.c:largeblob_array_lookup           25       0 100.00%        33       0 100.00%
671largeblob.c:largeblob_decode                 16       2  87.50%        16       6  62.50%
672largeblob.c:largeblob_do_decode              27       3  88.89%        30       7  76.67%
673largeblob.c:largeblob_decrypt                15       0 100.00%        24       0 100.00%
674largeblob.c:largeblob_aad                     1       0 100.00%        10       0 100.00%
675largeblob.c:largeblob_reset                   1       0 100.00%         5       0 100.00%
676largeblob.c:largeblob_encode                 16       0 100.00%        21       0 100.00%
677largeblob.c:largeblob_new                     1       0 100.00%         3       0 100.00%
678largeblob.c:largeblob_seal                   20       0 100.00%        32       0 100.00%
679largeblob.c:largeblob_get_nonce               8       0 100.00%        16       0 100.00%
680largeblob.c:largeblob_free                    6       0 100.00%         8       0 100.00%
681largeblob.c:largeblob_add                    27       2  92.59%        35       3  91.43%
682largeblob.c:largeblob_drop                   21       0 100.00%        27       0 100.00%
683largeblob.c:largeblob_set_array              54       2  96.30%        61       4  93.44%
684largeblob.c:largeblob_get_uv_token           19       0 100.00%        23       0 100.00%
685largeblob.c:largeblob_set_tx                 35       0 100.00%        36       0 100.00%
686largeblob.c:prepare_hmac                     13       2  84.62%        23       7  69.57%
687-------------------------------------------------------------------------------------------------------------------
688TOTAL                                       525      18  96.57%       693      43  93.80%
689
690File '/libfido2/src/log.c':
691Name                                    Regions    Miss   Cover     Lines    Miss   Cover
692-------------------------------------------------------------------------------------------------------------------
693fido_log_init                                 1       0 100.00%         4       0 100.00%
694fido_log_debug                                6       1  83.33%         8       1  87.50%
695fido_log_xxd                                 16       1  93.75%        24       1  95.83%
696fido_log_error                                8       2  75.00%        11       2  81.82%
697fido_set_log_handler                          3       0 100.00%         4       0 100.00%
698log.c:log_on_stderr                           1       1   0.00%         3       3   0.00%
699log.c:do_log                                  4       0 100.00%         9       0 100.00%
700-------------------------------------------------------------------------------------------------------------------
701TOTAL                                        39       5  87.18%        63       7  88.89%
702
703File '/libfido2/src/netlink.c':
704Name                                    Regions    Miss   Cover     Lines    Miss   Cover
705-------------------------------------------------------------------------------------------------------------------
706fido_nl_power_nfc                            18       0 100.00%        24       0 100.00%
707fido_nl_get_nfc_target                       17       0 100.00%        31       0 100.00%
708fido_nl_free                                 10       2  80.00%         9       2  77.78%
709fido_nl_new                                  16       1  93.75%        26       3  88.46%
710set_netlink_io_functions                      1       0 100.00%         4       0 100.00%
711netlink.c:nlmsg_new                           8       0 100.00%        15       0 100.00%
712netlink.c:nlmsg_set_genl                      1       0 100.00%         7       0 100.00%
713netlink.c:nlmsg_write                         6       1  83.33%         7       1  85.71%
714netlink.c:nlmsg_set_u32                       1       0 100.00%         3       0 100.00%
715netlink.c:nlmsg_setattr                      15       1  93.33%        17       0 100.00%
716netlink.c:nlmsg_tx                           10       1  90.00%        13       3  76.92%
717netlink.c:nlmsg_ptr                           1       0 100.00%         3       0 100.00%
718netlink.c:nlmsg_len                           1       0 100.00%         3       0 100.00%
719netlink.c:nlmsg_rx                           11       2  81.82%        17       6  64.71%
720netlink.c:nl_parse_reply                     20       0 100.00%        28       0 100.00%
721netlink.c:nlmsg_from_buf                     15       0 100.00%        17       0 100.00%
722netlink.c:nlmsg_type                          1       0 100.00%         3       0 100.00%
723netlink.c:nlmsg_get_status                    8       0 100.00%         8       0 100.00%
724netlink.c:nlmsg_read                          6       0 100.00%         7       0 100.00%
725netlink.c:nlmsg_get_genl                      6       0 100.00%         7       0 100.00%
726netlink.c:nlmsg_iter                          6       0 100.00%        13       0 100.00%
727netlink.c:nlmsg_getattr                       1       0 100.00%         3       0 100.00%
728netlink.c:nla_from_buf                       17       0 100.00%        21       0 100.00%
729netlink.c:nl_nfc_poll                        18       0 100.00%        25       0 100.00%
730netlink.c:parse_nfc_event                    10       0 100.00%        17       0 100.00%
731netlink.c:nla_type                            1       0 100.00%         3       0 100.00%
732netlink.c:nla_get_u32                         1       0 100.00%         3       0 100.00%
733netlink.c:nla_read                            6       0 100.00%         7       0 100.00%
734netlink.c:nl_dump_nfc_target                 19       0 100.00%        31       0 100.00%
735netlink.c:parse_target                        9       0 100.00%        13       0 100.00%
736netlink.c:nl_get_nfc_family                  23       0 100.00%        33       0 100.00%
737netlink.c:nlmsg_set_u16                       1       0 100.00%         3       0 100.00%
738netlink.c:nlmsg_set_str                       1       0 100.00%         3       0 100.00%
739netlink.c:parse_family                       10       0 100.00%        17       0 100.00%
740netlink.c:nla_get_u16                         1       0 100.00%         3       0 100.00%
741netlink.c:nla_iter                            6       0 100.00%        13       0 100.00%
742netlink.c:nla_getattr                         1       0 100.00%         3       0 100.00%
743netlink.c:parse_mcastgrps                     1       0 100.00%         3       0 100.00%
744netlink.c:parse_mcastgrp                     15       0 100.00%        24       0 100.00%
745netlink.c:nla_get_str                        10       0 100.00%        11       0 100.00%
746-------------------------------------------------------------------------------------------------------------------
747TOTAL                                       329       8  97.57%       498      15  96.99%
748
749File '/libfido2/src/nfc.c':
750Name                                    Regions    Miss   Cover     Lines    Miss   Cover
751-------------------------------------------------------------------------------------------------------------------
752fido_nfc_tx                                  28       0 100.00%        43       0 100.00%
753fido_nfc_rx                                   8       0 100.00%        13       0 100.00%
754nfc_is_fido                                  13       1  92.31%        21       3  85.71%
755fido_is_nfc                                   3       0 100.00%         3       0 100.00%
756fido_dev_set_nfc                              4       1  75.00%        18       3  83.33%
757nfc.c:nfc_do_tx                              20       0 100.00%        25       0 100.00%
758nfc.c:tx_short_apdu                          14       0 100.00%        32       0 100.00%
759nfc.c:rx_init                                25       0 100.00%        27       0 100.00%
760nfc.c:rx_cbor                                 4       0 100.00%         6       0 100.00%
761nfc.c:rx_msg                                 18       2  88.89%        23       6  73.91%
762nfc.c:rx_apdu                                14       1  92.86%        22       3  86.36%
763nfc.c:tx_get_response                         4       0 100.00%        11       0 100.00%
764-------------------------------------------------------------------------------------------------------------------
765TOTAL                                       155       5  96.77%       244      15  93.85%
766
767File '/libfido2/src/nfc_linux.c':
768Name                                    Regions    Miss   Cover     Lines    Miss   Cover
769-------------------------------------------------------------------------------------------------------------------
770fido_nfc_manifest                            35       7  80.00%        45      15  66.67%
771fido_nfc_open                                20       3  85.00%        23       4  82.61%
772fido_nfc_close                                1       1   0.00%         4       4   0.00%
773fido_nfc_set_sigmask                          2       2   0.00%         6       6   0.00%
774fido_nfc_read                                14      14   0.00%        30      30   0.00%
775fido_nfc_write                               12      12   0.00%        18      18   0.00%
776nfc_linux.c:copy_info                        39      22  43.59%        44      16  63.64%
777nfc_linux.c:get_usb_attr                      1       1   0.00%         3       3   0.00%
778nfc_linux.c:get_parent_attr                   6       6   0.00%         9       9   0.00%
779nfc_linux.c:sysnum_from_syspath              15       0 100.00%        17       0 100.00%
780nfc_linux.c:nfc_new                           6       0 100.00%        11       0 100.00%
781nfc_linux.c:nfc_target_connect                9       9   0.00%        21      21   0.00%
782nfc_linux.c:nfc_free                         12       0 100.00%        11       0 100.00%
783-------------------------------------------------------------------------------------------------------------------
784TOTAL                                       172      77  55.23%       242     126  47.93%
785
786File '/libfido2/src/pcsc.c':
787Name                                    Regions    Miss   Cover     Lines    Miss   Cover
788-------------------------------------------------------------------------------------------------------------------
789fido_pcsc_manifest                           51       0 100.00%        55       0 100.00%
790fido_pcsc_open                               32       0 100.00%        43       0 100.00%
791fido_pcsc_close                               6       0 100.00%         9       0 100.00%
792fido_pcsc_read                                8       0 100.00%        16       0 100.00%
793fido_pcsc_write                               8       0 100.00%        22       0 100.00%
794fido_pcsc_tx                                  1       0 100.00%         3       0 100.00%
795fido_pcsc_rx                                  1       0 100.00%         3       0 100.00%
796fido_is_pcsc                                  3       0 100.00%         3       0 100.00%
797fido_dev_set_pcsc                             4       1  75.00%        18       3  83.33%
798pcsc.c:list_readers                          24       0 100.00%        24       0 100.00%
799pcsc.c:copy_info                             30       0 100.00%        41       0 100.00%
800pcsc.c:get_reader                            25       0 100.00%        28       0 100.00%
801pcsc.c:prepare_io_request                    11       0 100.00%        17       0 100.00%
802-------------------------------------------------------------------------------------------------------------------
803TOTAL                                       204       1  99.51%       282       3  98.94%
804
805File '/libfido2/src/pin.c':
806Name                                      Regions    Miss   Cover     Lines    Miss   Cover
807---------------------------------------------------------------------------------------------------------------------
808fido_sha256                                     7       0 100.00%        10       0 100.00%
809fido_dev_get_uv_token                           1       0 100.00%         3       0 100.00%
810fido_dev_set_pin                                1       0 100.00%         4       0 100.00%
811fido_dev_get_retry_count                        1       0 100.00%         4       0 100.00%
812fido_dev_get_uv_retry_count                     1       0 100.00%         4       0 100.00%
813cbor_add_uv_params                             17       0 100.00%        23       0 100.00%
814pin.c:uv_token_wait                            14       2  85.71%        12       1  91.67%
815pin.c:ctap21_uv_token_tx                       49       0 100.00%        53       0 100.00%
816pin.c:pin_sha256_enc                           19       0 100.00%        24       0 100.00%
817pin.c:encode_uv_permission                     20       1  95.00%        19       3  84.21%
818pin.c:ctap20_uv_token_tx                       37       0 100.00%        45       0 100.00%
819pin.c:uv_token_rx                              27       0 100.00%        34       0 100.00%
820pin.c:parse_uv_token                            8       0 100.00%        10       0 100.00%
821pin.c:fido_dev_set_pin_wait                    21       0 100.00%        24       0 100.00%
822pin.c:fido_dev_change_pin_tx                   45       0 100.00%        56       0 100.00%
823pin.c:pin_pad64_enc                            15       0 100.00%        21       0 100.00%
824pin.c:pad64                                    18       0 100.00%        20       0 100.00%
825pin.c:fido_dev_set_pin_tx                      33       0 100.00%        41       0 100.00%
826pin.c:fido_dev_get_pin_retry_count_wait        10       0 100.00%         7       0 100.00%
827pin.c:fido_dev_get_retry_count_tx              19       0 100.00%        23       0 100.00%
828pin.c:fido_dev_get_pin_retry_count_rx          19       0 100.00%        24       0 100.00%
829pin.c:parse_pin_retry_count                     1       0 100.00%         3       0 100.00%
830pin.c:parse_retry_count                        13       0 100.00%        16       0 100.00%
831pin.c:fido_dev_get_uv_retry_count_wait         10       0 100.00%         7       0 100.00%
832pin.c:fido_dev_get_uv_retry_count_rx           19       0 100.00%        24       0 100.00%
833pin.c:parse_uv_retry_count                      1       0 100.00%         3       0 100.00%
834---------------------------------------------------------------------------------------------------------------------
835TOTAL                                         426       3  99.30%       514       4  99.22%
836
837File '/libfido2/src/random.c':
838Name                                      Regions    Miss   Cover     Lines    Miss   Cover
839---------------------------------------------------------------------------------------------------------------------
840fido_get_random                                 6       0 100.00%         6       0 100.00%
841---------------------------------------------------------------------------------------------------------------------
842TOTAL                                           6       0 100.00%         6       0 100.00%
843
844File '/libfido2/src/reset.c':
845Name                                      Regions    Miss   Cover     Lines    Miss   Cover
846---------------------------------------------------------------------------------------------------------------------
847fido_dev_reset                                  1       0 100.00%         4       0 100.00%
848reset.c:fido_dev_reset_wait                    15       0 100.00%        11       0 100.00%
849reset.c:fido_dev_reset_tx                       8       0 100.00%         8       0 100.00%
850---------------------------------------------------------------------------------------------------------------------
851TOTAL                                          24       0 100.00%        23       0 100.00%
852
853File '/libfido2/src/rs1.c':
854Name                                      Regions    Miss   Cover     Lines    Miss   Cover
855---------------------------------------------------------------------------------------------------------------------
856rs1_verify_sig                                 20       2  90.00%        30       6  80.00%
857rs1.c:rs1_get_EVP_MD                            1       0 100.00%         3       0 100.00%
858rs1.c:rs1_free_EVP_MD                           1       0 100.00%         3       0 100.00%
859---------------------------------------------------------------------------------------------------------------------
860TOTAL                                          22       2  90.91%        36       6  83.33%
861
862File '/libfido2/src/rs256.c':
863Name                                      Regions    Miss   Cover     Lines    Miss   Cover
864---------------------------------------------------------------------------------------------------------------------
865rs256_pk_decode                                 8       0 100.00%         9       0 100.00%
866rs256_pk_new                                    1       0 100.00%         3       0 100.00%
867rs256_pk_free                                   6       0 100.00%         7       0 100.00%
868rs256_pk_from_ptr                              10       0 100.00%        12       0 100.00%
869rs256_pk_to_EVP_PKEY                           35       0 100.00%        43       0 100.00%
870rs256_pk_from_RSA                              32       6  81.25%        26       9  65.38%
871rs256_pk_from_EVP_PKEY                          8       0 100.00%         7       0 100.00%
872rs256_verify_sig                               20       2  90.00%        30       5  83.33%
873rs256_pk_verify_sig                             7       1  85.71%        13       2  84.62%
874rs256.c:decode_rsa_pubkey                       9       0 100.00%        13       0 100.00%
875rs256.c:decode_bignum                           8       0 100.00%        10       0 100.00%
876rs256.c:rs256_get_EVP_MD                        1       0 100.00%         3       0 100.00%
877rs256.c:rs256_free_EVP_MD                       1       0 100.00%         3       0 100.00%
878---------------------------------------------------------------------------------------------------------------------
879TOTAL                                         146       9  93.84%       179      16  91.06%
880
881File '/libfido2/src/time.c':
882Name                                      Regions    Miss   Cover     Lines    Miss   Cover
883---------------------------------------------------------------------------------------------------------------------
884fido_time_now                                   4       0 100.00%         7       0 100.00%
885fido_time_delta                                23       1  95.65%        23       0 100.00%
886time.c:timespec_to_ms                          16       2  87.50%        13       2  84.62%
887---------------------------------------------------------------------------------------------------------------------
888TOTAL                                          43       3  93.02%        43       2  95.35%
889
890File '/libfido2/src/touch.c':
891Name                                      Regions    Miss   Cover     Lines    Miss   Cover
892---------------------------------------------------------------------------------------------------------------------
893fido_dev_get_touch_begin                       50       0 100.00%        59       0 100.00%
894fido_dev_get_touch_status                      17       0 100.00%        20       0 100.00%
895---------------------------------------------------------------------------------------------------------------------
896TOTAL                                          67       0 100.00%        79       0 100.00%
897
898File '/libfido2/src/tpm.c':
899Name                                      Regions    Miss   Cover     Lines    Miss   Cover
900---------------------------------------------------------------------------------------------------------------------
901fido_get_signed_hash_tpm                       25       0 100.00%        39       0 100.00%
902tpm.c:check_es256_pubarea                      19       0 100.00%        30       0 100.00%
903tpm.c:bswap_es256_pubarea                       1       0 100.00%        12       0 100.00%
904tpm.c:check_rs256_pubarea                      17       0 100.00%        28       0 100.00%
905tpm.c:bswap_rs256_pubarea                       1       0 100.00%        10       0 100.00%
906tpm.c:check_sha1_certinfo                      15       0 100.00%        38       0 100.00%
907tpm.c:get_signed_sha1                          17       0 100.00%        19       0 100.00%
908tpm.c:get_signed_name                           7       0 100.00%        10       0 100.00%
909tpm.c:bswap_sha1_certinfo                       1       0 100.00%         8       0 100.00%
910---------------------------------------------------------------------------------------------------------------------
911TOTAL                                         103       0 100.00%       194       0 100.00%
912
913File '/libfido2/src/types.c':
914Name                                      Regions    Miss   Cover     Lines    Miss   Cover
915---------------------------------------------------------------------------------------------------------------------
916fido_str_array_free                             4       0 100.00%         7       0 100.00%
917fido_opt_array_free                             4       0 100.00%         9       0 100.00%
918fido_byte_array_free                            1       0 100.00%         5       0 100.00%
919fido_algo_free                                  1       0 100.00%         5       0 100.00%
920fido_algo_array_free                            4       0 100.00%         7       0 100.00%
921fido_cert_array_free                            4       0 100.00%         9       0 100.00%
922fido_str_array_pack                            11       0 100.00%        14       0 100.00%
923---------------------------------------------------------------------------------------------------------------------
924TOTAL                                          29       0 100.00%        56       0 100.00%
925
926File '/libfido2/src/u2f.c':
927Name                                      Regions    Miss   Cover     Lines    Miss   Cover
928---------------------------------------------------------------------------------------------------------------------
929u2f_register                                   76       0 100.00%        81       0 100.00%
930u2f_authenticate                               33       0 100.00%        37       0 100.00%
931u2f_get_touch_begin                            37       0 100.00%        45       0 100.00%
932u2f_get_touch_status                           26       0 100.00%        36       0 100.00%
933u2f.c:key_lookup                               51       0 100.00%        65       0 100.00%
934u2f.c:send_dummy_register                      37       0 100.00%        45       0 100.00%
935u2f.c:delay_ms                                 13       1  92.31%        15       3  80.00%
936u2f.c:parse_register_reply                     49       0 100.00%        62       0 100.00%
937u2f.c:x5c_get                                  21       1  95.24%        26       3  88.46%
938u2f.c:sig_get                                   6       0 100.00%        10       0 100.00%
939u2f.c:encode_cred_attstmt                      45       0 100.00%        52       0 100.00%
940u2f.c:encode_cred_authdata                     33       2  93.94%        61       6  90.16%
941u2f.c:cbor_blob_from_ec_point                  22       0 100.00%        31       0 100.00%
942u2f.c:u2f_authenticate_single                  32       0 100.00%        43       0 100.00%
943u2f.c:do_auth                                  56       0 100.00%        67       0 100.00%
944u2f.c:parse_auth_reply                         23       0 100.00%        23       0 100.00%
945u2f.c:authdata_fake                            12       0 100.00%        27       0 100.00%
946---------------------------------------------------------------------------------------------------------------------
947TOTAL                                         572       4  99.30%       726      12  98.35%
948
949File '/libfido2/src/util.c':
950Name                                      Regions    Miss   Cover     Lines    Miss   Cover
951---------------------------------------------------------------------------------------------------------------------
952fido_to_uint64                                 14       1  92.86%        14       1  92.86%
953---------------------------------------------------------------------------------------------------------------------
954TOTAL                                          14       1  92.86%        14       1  92.86%
955