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