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