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