Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | static unsigned char *HKDF(const EVP_MD *evp_md, | - |
6 | const unsigned char *salt, size_t salt_len, | - |
7 | const unsigned char *key, size_t key_len, | - |
8 | const unsigned char *info, size_t info_len, | - |
9 | unsigned char *okm, size_t okm_len); | - |
10 | | - |
11 | static unsigned char *HKDF_Extract(const EVP_MD *evp_md, | - |
12 | const unsigned char *salt, size_t salt_len, | - |
13 | const unsigned char *key, size_t key_len, | - |
14 | unsigned char *prk, size_t *prk_len); | - |
15 | | - |
16 | static unsigned char *HKDF_Expand(const EVP_MD *evp_md, | - |
17 | const unsigned char *prk, size_t prk_len, | - |
18 | const unsigned char *info, size_t info_len, | - |
19 | unsigned char *okm, size_t okm_len); | - |
20 | | - |
21 | typedef struct { | - |
22 | int mode; | - |
23 | const EVP_MD *md; | - |
24 | unsigned char *salt; | - |
25 | size_t salt_len; | - |
26 | unsigned char *key; | - |
27 | size_t key_len; | - |
28 | unsigned char info[1024]; | - |
29 | size_t info_len; | - |
30 | } HKDF_PKEY_CTX; | - |
31 | | - |
32 | static int pkey_hkdf_init(EVP_PKEY_CTX *ctx) | - |
33 | { | - |
34 | HKDF_PKEY_CTX *kctx; | - |
35 | | - |
36 | if ((TRUE | never evaluated | FALSE | evaluated 32250 times by 1 test |
kctx = CRYPTO_zalloc(sizeof(*kctx), __FILE__, 51)) == TRUE | never evaluated | FALSE | evaluated 32250 times by 1 test |
| 0-32250 |
37 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 32250 times by 1 test |
| 0-32250 |
38 | ) { | - |
39 | ERR_put_error(52,(108),((1|64)),__FILE__,52); | - |
40 | return never executed: return 0; 0;never executed: return 0; | 0 |
41 | } | - |
42 | | - |
43 | ctx->data = kctx; | - |
44 | | - |
45 | returnexecuted 32250 times by 1 test: return 1; 1;executed 32250 times by 1 test: return 1; | 32250 |
46 | } | - |
47 | | - |
48 | static void pkey_hkdf_cleanup(EVP_PKEY_CTX *ctx) | - |
49 | { | - |
50 | HKDF_PKEY_CTX *kctx = ctx->data; | - |
51 | CRYPTO_clear_free(kctx->salt, kctx->salt_len, __FILE__, 64); | - |
52 | CRYPTO_clear_free(kctx->key, kctx->key_len, __FILE__, 65); | - |
53 | OPENSSL_cleanse(kctx->info, kctx->info_len); | - |
54 | CRYPTO_free(kctx, __FILE__, 67); | - |
55 | }executed 32250 times by 1 test: end of block | 32250 |
56 | | - |
57 | static int pkey_hkdf_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) | - |
58 | { | - |
59 | HKDF_PKEY_CTX *kctx = ctx->data; | - |
60 | | - |
61 | switch (type) { | - |
62 | caseexecuted 32249 times by 1 test: case (0x1000 + 3): (0x1000 + 3):executed 32249 times by 1 test: case (0x1000 + 3): | 32249 |
63 | if (p2 == TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
| 0-32249 |
64 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
| 0-32249 |
65 | ) | - |
66 | return never executed: return 0; 0;never executed: return 0; | 0 |
67 | | - |
68 | kctx->md = p2; | - |
69 | returnexecuted 32249 times by 1 test: return 1; 1;executed 32249 times by 1 test: return 1; | 32249 |
70 | | - |
71 | caseexecuted 32238 times by 1 test: case (0x1000 + 7): (0x1000 + 7):executed 32238 times by 1 test: case (0x1000 + 7): | 32238 |
72 | kctx->mode = p1; | - |
73 | returnexecuted 32238 times by 1 test: return 1; 1;executed 32238 times by 1 test: return 1; | 32238 |
74 | | - |
75 | caseexecuted 4481 times by 1 test: case (0x1000 + 4): (0x1000 + 4):executed 4481 times by 1 test: case (0x1000 + 4): | 4481 |
76 | if (p1 == 0TRUE | evaluated 1571 times by 1 test | FALSE | evaluated 2910 times by 1 test |
|| p2 == TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
| 0-2910 |
77 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
| 0-2910 |
78 | ) | - |
79 | returnexecuted 1571 times by 1 test: return 1; 1;executed 1571 times by 1 test: return 1; | 1571 |
80 | | - |
81 | if (p1 < 0TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
) | 0-2910 |
82 | return never executed: return 0; 0;never executed: return 0; | 0 |
83 | | - |
84 | if (kctx->salt != TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
| 0-2910 |
85 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
| 0-2910 |
86 | ) | - |
87 | CRYPTO_clear_free(kctx->salt, kctx->salt_len, __FILE__, 94); never executed: CRYPTO_clear_free(kctx->salt, kctx->salt_len, __FILE__, 94); | 0 |
88 | | - |
89 | kctx->salt = CRYPTO_memdup((p2), p1, __FILE__, 96); | - |
90 | if (kctx->salt == TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
| 0-2910 |
91 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 2910 times by 1 test |
| 0-2910 |
92 | ) | - |
93 | return never executed: return 0; 0;never executed: return 0; | 0 |
94 | | - |
95 | kctx->salt_len = p1; | - |
96 | returnexecuted 2910 times by 1 test: return 1; 1;executed 2910 times by 1 test: return 1; | 2910 |
97 | | - |
98 | caseexecuted 32249 times by 1 test: case (0x1000 + 5): (0x1000 + 5):executed 32249 times by 1 test: case (0x1000 + 5): | 32249 |
99 | if (p1 < 0TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
) | 0-32249 |
100 | return never executed: return 0; 0;never executed: return 0; | 0 |
101 | | - |
102 | if (kctx->key != TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
| 0-32249 |
103 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
| 0-32249 |
104 | ) | - |
105 | CRYPTO_clear_free(kctx->key, kctx->key_len, __FILE__, 108); never executed: CRYPTO_clear_free(kctx->key, kctx->key_len, __FILE__, 108); | 0 |
106 | | - |
107 | kctx->key = CRYPTO_memdup((p2), p1, __FILE__, 110); | - |
108 | if (kctx->key == TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
| 0-32249 |
109 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 32249 times by 1 test |
| 0-32249 |
110 | ) | - |
111 | return never executed: return 0; 0;never executed: return 0; | 0 |
112 | | - |
113 | kctx->key_len = p1; | - |
114 | returnexecuted 32249 times by 1 test: return 1; 1;executed 32249 times by 1 test: return 1; | 32249 |
115 | | - |
116 | caseexecuted 27780 times by 1 test: case (0x1000 + 6): (0x1000 + 6):executed 27780 times by 1 test: case (0x1000 + 6): | 27780 |
117 | if (p1 == 0TRUE | evaluated 10 times by 1 test | FALSE | evaluated 27770 times by 1 test |
|| p2 == TRUE | never evaluated | FALSE | evaluated 27770 times by 1 test |
| 0-27770 |
118 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 27770 times by 1 test |
| 0-27770 |
119 | ) | - |
120 | returnexecuted 10 times by 1 test: return 1; 1;executed 10 times by 1 test: return 1; | 10 |
121 | | - |
122 | if (p1 < 0TRUE | never evaluated | FALSE | evaluated 27770 times by 1 test |
|| p1 > (int)(1024 - kctx->info_len)TRUE | never evaluated | FALSE | evaluated 27770 times by 1 test |
) | 0-27770 |
123 | return never executed: return 0; 0;never executed: return 0; | 0 |
124 | | - |
125 | memcpy(kctx->info + kctx->info_len, p2, p1); | - |
126 | kctx->info_len += p1; | - |
127 | returnexecuted 27770 times by 1 test: return 1; 1;executed 27770 times by 1 test: return 1; | 27770 |
128 | | - |
129 | default never executed: default: :never executed: default: | 0 |
130 | return never executed: return -2; -2;never executed: return -2; | 0 |
131 | | - |
132 | } | - |
133 | } | - |
134 | | - |
135 | static int pkey_hkdf_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, | - |
136 | const char *value) | - |
137 | { | - |
138 | if ( | - |
139 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
140 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
141 | ) && __builtin_constant_p (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
142 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
143 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
144 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
145 | ), __s2_len = __builtin_strlen (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
146 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
147 | ), (!((size_t)(const void *)((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
148 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
149 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
150 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
151 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
152 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
153 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
154 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
155 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
156 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
157 | , TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
158 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
159 | ) : (__builtin_constant_p (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
160 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
161 | ) && ((size_t)(const void *)((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
162 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
163 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
164 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
165 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
166 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
167 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
168 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
169 | ) && ((size_t)(const void *)((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
170 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
171 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
172 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
173 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
174 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
175 | , TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
176 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
177 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
178 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
179 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
180 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
181 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
182 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
183 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
184 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
185 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
186 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-86 |
187 | ))[3] - __s2[3]);TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
188 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
189 | ) && ((size_t)(const void *)((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
190 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
191 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
192 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
193 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
194 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
195 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
196 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
197 | ) && ((size_t)(const void *)((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
198 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
199 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
200 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
201 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
202 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
203 | , TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
204 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
205 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
206 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
207 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
208 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
209 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
210 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
211 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
212 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
213 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "mode" ))[3] - __s2[3]); TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
214 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "mode" ))[3] - __s2[3]); | 0-86 |
215 | ))[3] - __s2[3]);TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "mode" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 0-86 |
216 | typeTRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
217 | , TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
218 | "mode"TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
219 | )))); }) TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
| 15-86 |
220 | == 0TRUE | evaluated 15 times by 1 test | FALSE | evaluated 86 times by 1 test |
) { | 15-86 |
221 | int mode; | - |
222 | | - |
223 | if ( | - |
224 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
225 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
226 | ) && __builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
227 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
228 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
229 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
230 | ), __s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
231 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
232 | ), (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
233 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
234 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
235 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
236 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
237 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
238 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
239 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
240 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
241 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
242 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
243 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
244 | ) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
245 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
246 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
247 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
248 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
249 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
250 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
251 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
252 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
253 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
254 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
255 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
256 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
257 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
258 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
259 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
260 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
261 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
262 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
263 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
264 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
265 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
266 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
267 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
268 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
269 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
270 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
271 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); | 0-14 |
272 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
273 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
274 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
275 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
276 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
277 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
278 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
279 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
280 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
281 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
282 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
283 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
284 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
285 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
286 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
287 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
288 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
289 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
290 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
291 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
292 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
293 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
294 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
295 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
296 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
297 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
298 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "EXTRACT_AND_EXPAND" ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
299 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "EXTRACT_AND_EXPAND" ))[3] - __s2[3]); | 0-14 |
300 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "EXTRACT_AND_EXPAND" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 0-14 |
301 | valueTRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
302 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
303 | "EXTRACT_AND_EXPAND"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
304 | )))); }) TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
| 1-14 |
305 | == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 14 times by 1 test |
) | 1-14 |
306 | mode = 0;executed 1 time by 1 test: mode = 0; | 1 |
307 | else if ( | - |
308 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
309 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
310 | ) && __builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
311 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
312 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
313 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
314 | ), __s2_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
315 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
316 | ), (!((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
317 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
318 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
319 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
320 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
321 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
322 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
323 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
324 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
325 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
326 | , TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
327 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
328 | ) : (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
329 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
330 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
331 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
332 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
333 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
334 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
335 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
336 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
337 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
338 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
339 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
340 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
341 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
342 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
343 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
344 | , TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
345 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
346 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
347 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
348 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
349 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
350 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
351 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
352 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
353 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
354 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
355 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); | 0-7 |
356 | ))[3] - __s2[3]);TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
357 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
358 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
359 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
360 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
361 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
362 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
363 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
364 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
365 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
366 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
367 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
368 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
369 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
370 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
371 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
372 | , TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
373 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
374 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
375 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
376 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
377 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
378 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
379 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
380 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
381 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
382 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "EXTRACT_ONLY" ))[3] - __s2[3]); TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
383 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "EXTRACT_ONLY" ))[3] - __s2[3]); | 0-7 |
384 | ))[3] - __s2[3]);TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "EXTRACT_ONLY" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 0-7 |
385 | valueTRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
386 | , TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
387 | "EXTRACT_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
388 | )))); }) TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7 |
389 | == 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 7 times by 1 test |
) | 7 |
390 | mode = 1;executed 7 times by 1 test: mode = 1; | 7 |
391 | else if ( | - |
392 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
393 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
394 | ) && __builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
395 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
396 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
397 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
398 | ), __s2_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
399 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
400 | ), (!((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
401 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
402 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
403 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
404 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
405 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
406 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
407 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
408 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
409 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
410 | , TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
411 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
412 | ) : (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
413 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
414 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
415 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
416 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
417 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
418 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
419 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
420 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
421 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
422 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
423 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
424 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
425 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
426 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
427 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
428 | , TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
429 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
430 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
431 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
432 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
433 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
434 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
435 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
436 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
437 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
438 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
439 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); | 0-7 |
440 | ))[3] - __s2[3]);TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( value ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
441 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
442 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
443 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
444 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
445 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
446 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
447 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
448 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
449 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
450 | ) && ((size_t)(const void *)((TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
451 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
452 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
453 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
454 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
455 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
456 | , TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
457 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
458 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
459 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
460 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
461 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
462 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
463 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
464 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
465 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
466 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "EXPAND_ONLY" ))[3] - __s2[3]); TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
467 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "EXPAND_ONLY" ))[3] - __s2[3]); | 0-7 |
468 | ))[3] - __s2[3]);TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "EXPAND_ONLY" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
469 | valueTRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
470 | , TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
471 | "EXPAND_ONLY"TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
472 | )))); }) TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-7 |
473 | == 0TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
) | 0-7 |
474 | mode = 2;executed 7 times by 1 test: mode = 2; | 7 |
475 | else | - |
476 | return never executed: return 0; 0;never executed: return 0; | 0 |
477 | | - |
478 | returnexecuted 15 times by 1 test: return EVP_PKEY_CTX_ctrl(ctx, -1, (1<<10), (0x1000 + 7), mode, ((void *)0) ); EVP_PKEY_CTX_ctrl(ctx, -1, (1<<10), (0x1000 + 7), mode, executed 15 times by 1 test: return EVP_PKEY_CTX_ctrl(ctx, -1, (1<<10), (0x1000 + 7), mode, ((void *)0) ); | 15 |
479 | ((void *)0)executed 15 times by 1 test: return EVP_PKEY_CTX_ctrl(ctx, -1, (1<<10), (0x1000 + 7), mode, ((void *)0) ); | 15 |
480 | );executed 15 times by 1 test: return EVP_PKEY_CTX_ctrl(ctx, -1, (1<<10), (0x1000 + 7), mode, ((void *)0) ); | 15 |
481 | } | - |
482 | | - |
483 | if ( | - |
484 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
485 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
486 | ) && __builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
487 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
488 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
489 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
490 | ), __s2_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
491 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
492 | ), (!((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
493 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
494 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
495 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
496 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
497 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
498 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
499 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
500 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
501 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
502 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
503 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
504 | ) : (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
505 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
506 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
507 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
508 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
509 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
510 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
511 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
512 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
513 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
514 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
515 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
516 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
517 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
518 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
519 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
520 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
521 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
522 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
523 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
524 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
525 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
526 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
527 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
528 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
529 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
530 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
531 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-61 |
532 | ))[3] - __s2[3]);TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
533 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
534 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
535 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
536 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
537 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
538 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
539 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
540 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
541 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
542 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
543 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
544 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
545 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
546 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
547 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
548 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
549 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
550 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
551 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
552 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
553 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
554 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 86 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-86 |
555 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
556 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | evaluated 25 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 25 times by 1 test | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
557 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
558 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | evaluated 25 times by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "md" ))[3] - __s2[3]); TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
559 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "md" ))[3] - __s2[3]); | 0-61 |
560 | ))[3] - __s2[3]);TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "md" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 0-61 |
561 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
562 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
563 | "md"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
564 | )))); }) TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
| 25-61 |
565 | == 0TRUE | evaluated 25 times by 1 test | FALSE | evaluated 61 times by 1 test |
) | 25-61 |
566 | returnexecuted 25 times by 1 test: return EVP_PKEY_CTX_md(ctx, (1<<10), (0x1000 + 3), value); EVP_PKEY_CTX_md(ctx, (1<<10),executed 25 times by 1 test: return EVP_PKEY_CTX_md(ctx, (1<<10), (0x1000 + 3), value); | 25 |
567 | (0x1000 + 3), value);executed 25 times by 1 test: return EVP_PKEY_CTX_md(ctx, (1<<10), (0x1000 + 3), value); | 25 |
568 | | - |
569 | if ( | - |
570 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
571 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
572 | ) && __builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
573 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
574 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
575 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
576 | ), __s2_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
577 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
578 | ), (!((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
579 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
580 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
581 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
582 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
583 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
584 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
585 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
586 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
587 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
588 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
589 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
590 | ) : (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
591 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
592 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
593 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
594 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
595 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
596 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
597 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
598 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
599 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
600 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
601 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
602 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
603 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
604 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
605 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
606 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
607 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
608 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
609 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
610 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
611 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
612 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
613 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
614 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
615 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
616 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
617 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-51 |
618 | ))[3] - __s2[3]);TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
619 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
620 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
621 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
622 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
623 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
624 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
625 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
626 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
627 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
628 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
629 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
630 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
631 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
632 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
633 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
634 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
635 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
636 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
637 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
638 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
639 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
640 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
641 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
642 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
643 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
644 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "salt" ))[3] - __s2[3]); TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
645 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "salt" ))[3] - __s2[3]); | 0-51 |
646 | ))[3] - __s2[3]);TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "salt" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 0-51 |
647 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
648 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
649 | "salt"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
650 | )))); }) TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
| 10-51 |
651 | == 0TRUE | evaluated 10 times by 1 test | FALSE | evaluated 51 times by 1 test |
) | 10-51 |
652 | returnexecuted 10 times by 1 test: return EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 4), value); EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 4), value);executed 10 times by 1 test: return EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 4), value); | 10 |
653 | | - |
654 | if ( | - |
655 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
656 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
657 | ) && __builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
658 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
659 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
660 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
661 | ), __s2_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
662 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
663 | ), (!((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
664 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
665 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
666 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
667 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
668 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
669 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
670 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
671 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
672 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
673 | , TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
674 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
675 | ) : (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
676 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
677 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
678 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
679 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
680 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
681 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
682 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
683 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
684 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
685 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
686 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
687 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
688 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
689 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
690 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
691 | , TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
692 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
693 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
694 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
695 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
696 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
697 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
698 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
699 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
700 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
701 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
702 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-43 |
703 | ))[3] - __s2[3]);TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
704 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
705 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
706 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
707 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
708 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
709 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
710 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
711 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
712 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
713 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
714 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
715 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
716 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
717 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
718 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
719 | , TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
720 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
721 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
722 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
723 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
724 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
725 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
726 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
727 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
728 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
729 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "hexsalt" ))[3] - __s2[3]); TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
730 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "hexsalt" ))[3] - __s2[3]); | 0-43 |
731 | ))[3] - __s2[3]);TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "hexsalt" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 0-43 |
732 | typeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
733 | , TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
734 | "hexsalt"TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
735 | )))); }) TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
| 8-43 |
736 | == 0TRUE | evaluated 8 times by 1 test | FALSE | evaluated 43 times by 1 test |
) | 8-43 |
737 | returnexecuted 8 times by 1 test: return EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 4), value); EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 4), value);executed 8 times by 1 test: return EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 4), value); | 8 |
738 | | - |
739 | if ( | - |
740 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
741 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
742 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
743 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
744 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
745 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
746 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
747 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
748 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
749 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
750 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
751 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
752 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
753 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
754 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
755 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
756 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
757 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
758 | , TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
759 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
760 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
761 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
762 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
763 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
764 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
765 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
766 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
767 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
768 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
769 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
770 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
771 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
772 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
773 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
774 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
775 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
776 | , TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
777 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
778 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
779 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
780 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
781 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
782 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
783 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
784 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
785 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
786 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
787 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-43 |
788 | ))[3] - __s2[3]);TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
789 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
790 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
791 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
792 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
793 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
794 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
795 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
796 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
797 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
798 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
799 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
800 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
801 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
802 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
803 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
804 | , TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
805 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
806 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
807 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
808 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
809 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
810 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 43 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
811 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
812 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
813 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
814 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "key" ))[3] - __s2[3]); TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
815 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "key" ))[3] - __s2[3]); | 0-43 |
816 | ))[3] - __s2[3]);TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "key" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
817 | typeTRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
818 | , TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
819 | "key"TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
820 | )))); }) TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
| 0-43 |
821 | == 0TRUE | never evaluated | FALSE | evaluated 43 times by 1 test |
) | 0-43 |
822 | return never executed: return EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 5), value); EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 5), value);never executed: return EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 5), value); | 0 |
823 | | - |
824 | if ( | - |
825 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
826 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
827 | ) && __builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
828 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
829 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
830 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
831 | ), __s2_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
832 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
833 | ), (!((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
834 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
835 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
836 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
837 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
838 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
839 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
840 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
841 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
842 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
843 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
844 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
845 | ) : (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
846 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
847 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
848 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
849 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
850 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
851 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
852 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
853 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
854 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
855 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
856 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
857 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
858 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
859 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
860 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
861 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
862 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
863 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
864 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
865 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
866 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
867 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
868 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
869 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
870 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
871 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
872 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-25 |
873 | ))[3] - __s2[3]);TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
874 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
875 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
876 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
877 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
878 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
879 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
880 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
881 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
882 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
883 | ) && ((size_t)(const void *)((TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
884 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
885 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
886 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
887 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
888 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
889 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
890 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
891 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
892 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
893 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
894 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
895 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
896 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
897 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
898 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
899 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "hexkey" ))[3] - __s2[3]); TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
900 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "hexkey" ))[3] - __s2[3]); | 0-25 |
901 | ))[3] - __s2[3]);TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "hexkey" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 0-25 |
902 | typeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
903 | , TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
904 | "hexkey"TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
905 | )))); }) TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-25 |
906 | == 0TRUE | evaluated 25 times by 1 test | FALSE | evaluated 18 times by 1 test |
) | 18-25 |
907 | returnexecuted 25 times by 1 test: return EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 5), value); EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 5), value);executed 25 times by 1 test: return EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 5), value); | 25 |
908 | | - |
909 | if ( | - |
910 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
911 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
912 | ) && __builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
913 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
914 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
915 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
916 | ), __s2_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
917 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
918 | ), (!((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
919 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
920 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
921 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
922 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
923 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
924 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
925 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
926 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
927 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
928 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
929 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
930 | ) : (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
931 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
932 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
933 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
934 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
935 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
936 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
937 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
938 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
939 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
940 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
941 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
942 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
943 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
944 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
945 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
946 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
947 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
948 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
949 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
950 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
951 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
952 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
953 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
954 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
955 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
956 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
957 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-10 |
958 | ))[3] - __s2[3]);TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
959 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
960 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
961 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
962 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
963 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
964 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
965 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
966 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
967 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
968 | ) && ((size_t)(const void *)((TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
969 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
970 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
971 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
972 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
973 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
974 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
975 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
976 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
977 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
978 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
979 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
980 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
981 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
982 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
983 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
984 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "info" ))[3] - __s2[3]); TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
985 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "info" ))[3] - __s2[3]); | 0-10 |
986 | ))[3] - __s2[3]);TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "info" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 0-10 |
987 | typeTRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
988 | , TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
989 | "info"TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
990 | )))); }) TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-10 |
991 | == 0TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 1 test |
) | 8-10 |
992 | returnexecuted 10 times by 1 test: return EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 6), value); EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 6), value);executed 10 times by 1 test: return EVP_PKEY_CTX_str2ctrl(ctx, (0x1000 + 6), value); | 10 |
993 | | - |
994 | if ( | - |
995 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
996 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
997 | ) && __builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
998 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
999 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1000 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1001 | ), __s2_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1002 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1003 | ), (!((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1004 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1005 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1006 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1007 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1008 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1009 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1010 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1011 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1012 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1013 | , TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1014 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1015 | ) : (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1016 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1017 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1018 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1019 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1020 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1021 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1022 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1023 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1024 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1025 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1026 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1027 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1028 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1029 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1030 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1031 | , TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1032 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1033 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1034 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1035 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1036 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1037 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1038 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1039 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1040 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1041 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1042 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); | 0-8 |
1043 | ))[3] - __s2[3]);TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( type ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1044 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1045 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1046 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1047 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1048 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1049 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1050 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1051 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1052 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1053 | ) && ((size_t)(const void *)((TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1054 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1055 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1056 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1057 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1058 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1059 | , TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1060 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1061 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1062 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1063 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1064 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1065 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1066 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1067 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1068 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1069 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "hexinfo" ))[3] - __s2[3]); TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1070 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "hexinfo" ))[3] - __s2[3]); | 0-8 |
1071 | ))[3] - __s2[3]);TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "hexinfo" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1072 | typeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1073 | , TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1074 | "hexinfo"TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1075 | )))); }) TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
1076 | == 0TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) | 0-8 |
1077 | returnexecuted 8 times by 1 test: return EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 6), value); EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 6), value);executed 8 times by 1 test: return EVP_PKEY_CTX_hex2ctrl(ctx, (0x1000 + 6), value); | 8 |
1078 | | - |
1079 | ERR_put_error(52,(103),(103),__FILE__,174); | - |
1080 | return never executed: return -2; -2;never executed: return -2; | 0 |
1081 | } | - |
1082 | | - |
1083 | static int pkey_hkdf_derive(EVP_PKEY_CTX *ctx, unsigned char *key, | - |
1084 | size_t *keylen) | - |
1085 | { | - |
1086 | HKDF_PKEY_CTX *kctx = ctx->data; | - |
1087 | | - |
1088 | if (kctx->md == TRUE | evaluated 1 time by 1 test | FALSE | evaluated 32249 times by 1 test |
| 1-32249 |
1089 | ((void *)0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 32249 times by 1 test |
| 1-32249 |
1090 | ) { | - |
1091 | ERR_put_error(52,(102),(105),__FILE__,184); | - |
1092 | returnexecuted 1 time by 1 test: return 0; 0;executed 1 time by 1 test: return 0; | 1 |
1093 | } | - |
1094 | if (kctx->key == TRUE | evaluated 1 time by 1 test | FALSE | evaluated 32248 times by 1 test |
| 1-32248 |
1095 | ((void *)0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 32248 times by 1 test |
| 1-32248 |
1096 | ) { | - |
1097 | ERR_put_error(52,(102),(104),__FILE__,188); | - |
1098 | returnexecuted 1 time by 1 test: return 0; 0;executed 1 time by 1 test: return 0; | 1 |
1099 | } | - |
1100 | | - |
1101 | switch (kctx->mode) { | - |
1102 | caseexecuted 11 times by 1 test: case 0: 0:executed 11 times by 1 test: case 0: | 11 |
1103 | returnexecuted 11 times by 1 test: return HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key,executed 11 times by 1 test: return HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 11 |
1104 | kctx->key_len, kctx->info, kctx->info_len, key,executed 11 times by 1 test: return HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 11 |
1105 | *keylen) != executed 11 times by 1 test: return HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 11 |
1106 | ((void *)0)executed 11 times by 1 test: return HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 11 |
1107 | ;executed 11 times by 1 test: return HKDF(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 11 |
1108 | | - |
1109 | caseexecuted 4469 times by 1 test: case 1: 1:executed 4469 times by 1 test: case 1: | 4469 |
1110 | if (key == TRUE | never evaluated | FALSE | evaluated 4469 times by 1 test |
| 0-4469 |
1111 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 4469 times by 1 test |
| 0-4469 |
1112 | ) { | - |
1113 | *keylen = EVP_MD_size(kctx->md); | - |
1114 | return never executed: return 1; 1;never executed: return 1; | 0 |
1115 | } | - |
1116 | returnexecuted 4469 times by 1 test: return HKDF_Extract(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, key, keylen) != ((void *)0) ; HKDF_Extract(kctx->md, kctx->salt, kctx->salt_len, kctx->key,executed 4469 times by 1 test: return HKDF_Extract(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, key, keylen) != ((void *)0) ; | 4469 |
1117 | kctx->key_len, key, keylen) != executed 4469 times by 1 test: return HKDF_Extract(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, key, keylen) != ((void *)0) ; | 4469 |
1118 | ((void *)0)executed 4469 times by 1 test: return HKDF_Extract(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, key, keylen) != ((void *)0) ; | 4469 |
1119 | ;executed 4469 times by 1 test: return HKDF_Extract(kctx->md, kctx->salt, kctx->salt_len, kctx->key, kctx->key_len, key, keylen) != ((void *)0) ; | 4469 |
1120 | | - |
1121 | caseexecuted 27768 times by 1 test: case 2: 2:executed 27768 times by 1 test: case 2: | 27768 |
1122 | returnexecuted 27768 times by 1 test: return HKDF_Expand(kctx->md, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; HKDF_Expand(kctx->md, kctx->key, kctx->key_len, kctx->info,executed 27768 times by 1 test: return HKDF_Expand(kctx->md, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 27768 |
1123 | kctx->info_len, key, *keylen) != executed 27768 times by 1 test: return HKDF_Expand(kctx->md, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 27768 |
1124 | ((void *)0)executed 27768 times by 1 test: return HKDF_Expand(kctx->md, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 27768 |
1125 | ;executed 27768 times by 1 test: return HKDF_Expand(kctx->md, kctx->key, kctx->key_len, kctx->info, kctx->info_len, key, *keylen) != ((void *)0) ; | 27768 |
1126 | | - |
1127 | default never executed: default: :never executed: default: | 0 |
1128 | return never executed: return 0; 0;never executed: return 0; | 0 |
1129 | } | - |
1130 | } | - |
1131 | | - |
1132 | const EVP_PKEY_METHOD hkdf_pkey_meth = { | - |
1133 | 1036, | - |
1134 | 0, | - |
1135 | pkey_hkdf_init, | - |
1136 | 0, | - |
1137 | pkey_hkdf_cleanup, | - |
1138 | | - |
1139 | 0, 0, | - |
1140 | 0, 0, | - |
1141 | | - |
1142 | 0, | - |
1143 | 0, | - |
1144 | | - |
1145 | 0, | - |
1146 | 0, | - |
1147 | | - |
1148 | 0, 0, | - |
1149 | | - |
1150 | 0, 0, 0, 0, | - |
1151 | | - |
1152 | 0, 0, | - |
1153 | | - |
1154 | 0, 0, | - |
1155 | | - |
1156 | 0, | - |
1157 | pkey_hkdf_derive, | - |
1158 | pkey_hkdf_ctrl, | - |
1159 | pkey_hkdf_ctrl_str | - |
1160 | }; | - |
1161 | | - |
1162 | static unsigned char *HKDF(const EVP_MD *evp_md, | - |
1163 | const unsigned char *salt, size_t salt_len, | - |
1164 | const unsigned char *key, size_t key_len, | - |
1165 | const unsigned char *info, size_t info_len, | - |
1166 | unsigned char *okm, size_t okm_len) | - |
1167 | { | - |
1168 | unsigned char prk[64]; | - |
1169 | unsigned char *ret; | - |
1170 | size_t prk_len; | - |
1171 | | - |
1172 | if (!HKDF_Extract(evp_md, salt, salt_len, key, key_len, prk, &prk_len)TRUE | never evaluated | FALSE | evaluated 11 times by 1 test |
) | 0-11 |
1173 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
1174 | ((void *)0) never executed: return ((void *)0) ; | 0 |
1175 | ; never executed: return ((void *)0) ; | 0 |
1176 | | - |
1177 | ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, okm, okm_len); | - |
1178 | OPENSSL_cleanse(prk, sizeof(prk)); | - |
1179 | | - |
1180 | returnexecuted 11 times by 1 test: return ret; ret;executed 11 times by 1 test: return ret; | 11 |
1181 | } | - |
1182 | | - |
1183 | static unsigned char *HKDF_Extract(const EVP_MD *evp_md, | - |
1184 | const unsigned char *salt, size_t salt_len, | - |
1185 | const unsigned char *key, size_t key_len, | - |
1186 | unsigned char *prk, size_t *prk_len) | - |
1187 | { | - |
1188 | unsigned int tmp_len; | - |
1189 | | - |
1190 | if (!HMAC(evp_md, salt, salt_len, key, key_len, prk, &tmp_len)TRUE | never evaluated | FALSE | evaluated 4480 times by 1 test |
) | 0-4480 |
1191 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
1192 | ((void *)0) never executed: return ((void *)0) ; | 0 |
1193 | ; never executed: return ((void *)0) ; | 0 |
1194 | | - |
1195 | *prk_len = tmp_len; | - |
1196 | returnexecuted 4480 times by 1 test: return prk; prk;executed 4480 times by 1 test: return prk; | 4480 |
1197 | } | - |
1198 | | - |
1199 | static unsigned char *HKDF_Expand(const EVP_MD *evp_md, | - |
1200 | const unsigned char *prk, size_t prk_len, | - |
1201 | const unsigned char *info, size_t info_len, | - |
1202 | unsigned char *okm, size_t okm_len) | - |
1203 | { | - |
1204 | HMAC_CTX *hmac; | - |
1205 | unsigned char *ret = | - |
1206 | ((void *)0) | - |
1207 | ; | - |
1208 | | - |
1209 | unsigned int i; | - |
1210 | | - |
1211 | unsigned char prev[64]; | - |
1212 | | - |
1213 | size_t done_len = 0, dig_len = EVP_MD_size(evp_md); | - |
1214 | | - |
1215 | size_t n = okm_len / dig_len; | - |
1216 | if (okm_len % dig_lenTRUE | evaluated 10801 times by 1 test | FALSE | evaluated 16978 times by 1 test |
) | 10801-16978 |
1217 | n++;executed 10801 times by 1 test: n++; | 10801 |
1218 | | - |
1219 | if (n > 255TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
|| okm == TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
| 0-27779 |
1220 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
| 0-27779 |
1221 | ) | - |
1222 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
1223 | ((void *)0) never executed: return ((void *)0) ; | 0 |
1224 | ; never executed: return ((void *)0) ; | 0 |
1225 | | - |
1226 | if ((TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
hmac = HMAC_CTX_new()) == TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
| 0-27779 |
1227 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
| 0-27779 |
1228 | ) | - |
1229 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
1230 | ((void *)0) never executed: return ((void *)0) ; | 0 |
1231 | ; never executed: return ((void *)0) ; | 0 |
1232 | | - |
1233 | if (!HMAC_Init_ex(hmac, prk, prk_len, evp_md, TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
| 0-27779 |
1234 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
| 0-27779 |
1235 | )TRUE | never evaluated | FALSE | evaluated 27779 times by 1 test |
) | 0-27779 |
1236 | goto never executed: goto err; err;never executed: goto err; | 0 |
1237 | | - |
1238 | for (i = 1; i <= nTRUE | evaluated 27831 times by 1 test | FALSE | evaluated 27779 times by 1 test |
; i++) { | 27779-27831 |
1239 | size_t copy_len; | - |
1240 | const unsigned char ctr = i; | - |
1241 | | - |
1242 | if (i > 1TRUE | evaluated 52 times by 1 test | FALSE | evaluated 27779 times by 1 test |
) { | 52-27779 |
1243 | if (!HMAC_Init_ex(hmac, TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
1244 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
1245 | , 0, TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
1246 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
1247 | , TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
1248 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
| 0-52 |
1249 | )TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
) | 0-52 |
1250 | goto never executed: goto err; err;never executed: goto err; | 0 |
1251 | | - |
1252 | if (!HMAC_Update(hmac, prev, dig_len)TRUE | never evaluated | FALSE | evaluated 52 times by 1 test |
) | 0-52 |
1253 | goto never executed: goto err; err;never executed: goto err; | 0 |
1254 | }executed 52 times by 1 test: end of block | 52 |
1255 | | - |
1256 | if (!HMAC_Update(hmac, info, info_len)TRUE | never evaluated | FALSE | evaluated 27831 times by 1 test |
) | 0-27831 |
1257 | goto never executed: goto err; err;never executed: goto err; | 0 |
1258 | | - |
1259 | if (!HMAC_Update(hmac, &ctr, 1)TRUE | never evaluated | FALSE | evaluated 27831 times by 1 test |
) | 0-27831 |
1260 | goto never executed: goto err; err;never executed: goto err; | 0 |
1261 | | - |
1262 | if (!HMAC_Final(hmac, prev, TRUE | never evaluated | FALSE | evaluated 27831 times by 1 test |
| 0-27831 |
1263 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 27831 times by 1 test |
| 0-27831 |
1264 | )TRUE | never evaluated | FALSE | evaluated 27831 times by 1 test |
) | 0-27831 |
1265 | goto never executed: goto err; err;never executed: goto err; | 0 |
1266 | | - |
1267 | copy_len = (TRUE | evaluated 10801 times by 1 test | FALSE | evaluated 17030 times by 1 test |
done_len + dig_len > okm_len)TRUE | evaluated 10801 times by 1 test | FALSE | evaluated 17030 times by 1 test |
? | 10801-17030 |
1268 | okm_len - done_len : | - |
1269 | dig_len; | - |
1270 | | - |
1271 | memcpy(okm + done_len, prev, copy_len); | - |
1272 | | - |
1273 | done_len += copy_len; | - |
1274 | }executed 27831 times by 1 test: end of block | 27831 |
1275 | ret = okm; | - |
1276 | | - |
1277 | err:code before this statement executed 27779 times by 1 test: err: | 27779 |
1278 | OPENSSL_cleanse(prev, sizeof(prev)); | - |
1279 | HMAC_CTX_free(hmac); | - |
1280 | returnexecuted 27779 times by 1 test: return ret; ret;executed 27779 times by 1 test: return ret; | 27779 |
1281 | } | - |
| | |