| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/s3_lib.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||
| 3 | SSL_CIPHER ssl3_ciphers[] = { | - | ||||||||||||||||||||||||
| 4 | - | |||||||||||||||||||||||||
| 5 | - | |||||||||||||||||||||||||
| 6 | - | |||||||||||||||||||||||||
| 7 | { | - | ||||||||||||||||||||||||
| 8 | .valid = 1, | - | ||||||||||||||||||||||||
| 9 | .name = "NULL-MD5", | - | ||||||||||||||||||||||||
| 10 | .id = 0x03000001, | - | ||||||||||||||||||||||||
| 11 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 12 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 13 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 14 | .algorithm_mac = 0x00000001L, | - | ||||||||||||||||||||||||
| 15 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 16 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 17 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 18 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 19 | .alg_bits = 0, | - | ||||||||||||||||||||||||
| 20 | }, | - | ||||||||||||||||||||||||
| 21 | - | |||||||||||||||||||||||||
| 22 | - | |||||||||||||||||||||||||
| 23 | { | - | ||||||||||||||||||||||||
| 24 | .valid = 1, | - | ||||||||||||||||||||||||
| 25 | .name = "NULL-SHA", | - | ||||||||||||||||||||||||
| 26 | .id = 0x03000002, | - | ||||||||||||||||||||||||
| 27 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 28 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 29 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 30 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 31 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 32 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 33 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 34 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 35 | .alg_bits = 0, | - | ||||||||||||||||||||||||
| 36 | }, | - | ||||||||||||||||||||||||
| 37 | - | |||||||||||||||||||||||||
| 38 | - | |||||||||||||||||||||||||
| 39 | { | - | ||||||||||||||||||||||||
| 40 | .valid = 1, | - | ||||||||||||||||||||||||
| 41 | .name = "RC4-MD5", | - | ||||||||||||||||||||||||
| 42 | .id = 0x03000004, | - | ||||||||||||||||||||||||
| 43 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 44 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 45 | .algorithm_enc = 0x00000004L, | - | ||||||||||||||||||||||||
| 46 | .algorithm_mac = 0x00000001L, | - | ||||||||||||||||||||||||
| 47 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 48 | .algo_strength = 0x00000020L, | - | ||||||||||||||||||||||||
| 49 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 50 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 51 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 52 | }, | - | ||||||||||||||||||||||||
| 53 | - | |||||||||||||||||||||||||
| 54 | - | |||||||||||||||||||||||||
| 55 | { | - | ||||||||||||||||||||||||
| 56 | .valid = 1, | - | ||||||||||||||||||||||||
| 57 | .name = "RC4-SHA", | - | ||||||||||||||||||||||||
| 58 | .id = 0x03000005, | - | ||||||||||||||||||||||||
| 59 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 60 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 61 | .algorithm_enc = 0x00000004L, | - | ||||||||||||||||||||||||
| 62 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 63 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 64 | .algo_strength = 0x00000020L, | - | ||||||||||||||||||||||||
| 65 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 66 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 67 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 68 | }, | - | ||||||||||||||||||||||||
| 69 | - | |||||||||||||||||||||||||
| 70 | - | |||||||||||||||||||||||||
| 71 | { | - | ||||||||||||||||||||||||
| 72 | .valid = 1, | - | ||||||||||||||||||||||||
| 73 | .name = "DES-CBC3-SHA", | - | ||||||||||||||||||||||||
| 74 | .id = 0x0300000A, | - | ||||||||||||||||||||||||
| 75 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 76 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 77 | .algorithm_enc = 0x00000002L, | - | ||||||||||||||||||||||||
| 78 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 79 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 80 | .algo_strength = 0x00000040L, | - | ||||||||||||||||||||||||
| 81 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 82 | .strength_bits = 112, | - | ||||||||||||||||||||||||
| 83 | .alg_bits = 168, | - | ||||||||||||||||||||||||
| 84 | }, | - | ||||||||||||||||||||||||
| 85 | - | |||||||||||||||||||||||||
| 86 | - | |||||||||||||||||||||||||
| 87 | - | |||||||||||||||||||||||||
| 88 | - | |||||||||||||||||||||||||
| 89 | - | |||||||||||||||||||||||||
| 90 | - | |||||||||||||||||||||||||
| 91 | { | - | ||||||||||||||||||||||||
| 92 | .valid = 1, | - | ||||||||||||||||||||||||
| 93 | .name = "EDH-RSA-DES-CBC3-SHA", | - | ||||||||||||||||||||||||
| 94 | .id = 0x03000016, | - | ||||||||||||||||||||||||
| 95 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 96 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 97 | .algorithm_enc = 0x00000002L, | - | ||||||||||||||||||||||||
| 98 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 99 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 100 | .algo_strength = 0x00000040L, | - | ||||||||||||||||||||||||
| 101 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 102 | .strength_bits = 112, | - | ||||||||||||||||||||||||
| 103 | .alg_bits = 168, | - | ||||||||||||||||||||||||
| 104 | }, | - | ||||||||||||||||||||||||
| 105 | - | |||||||||||||||||||||||||
| 106 | - | |||||||||||||||||||||||||
| 107 | { | - | ||||||||||||||||||||||||
| 108 | .valid = 1, | - | ||||||||||||||||||||||||
| 109 | .name = "ADH-RC4-MD5", | - | ||||||||||||||||||||||||
| 110 | .id = 0x03000018, | - | ||||||||||||||||||||||||
| 111 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 112 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 113 | .algorithm_enc = 0x00000004L, | - | ||||||||||||||||||||||||
| 114 | .algorithm_mac = 0x00000001L, | - | ||||||||||||||||||||||||
| 115 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 116 | .algo_strength = 0x00000020L, | - | ||||||||||||||||||||||||
| 117 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 118 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 119 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 120 | }, | - | ||||||||||||||||||||||||
| 121 | - | |||||||||||||||||||||||||
| 122 | - | |||||||||||||||||||||||||
| 123 | { | - | ||||||||||||||||||||||||
| 124 | .valid = 1, | - | ||||||||||||||||||||||||
| 125 | .name = "ADH-DES-CBC3-SHA", | - | ||||||||||||||||||||||||
| 126 | .id = 0x0300001B, | - | ||||||||||||||||||||||||
| 127 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 128 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 129 | .algorithm_enc = 0x00000002L, | - | ||||||||||||||||||||||||
| 130 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 131 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 132 | .algo_strength = 0x00000040L, | - | ||||||||||||||||||||||||
| 133 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 134 | .strength_bits = 112, | - | ||||||||||||||||||||||||
| 135 | .alg_bits = 168, | - | ||||||||||||||||||||||||
| 136 | }, | - | ||||||||||||||||||||||||
| 137 | - | |||||||||||||||||||||||||
| 138 | - | |||||||||||||||||||||||||
| 139 | - | |||||||||||||||||||||||||
| 140 | - | |||||||||||||||||||||||||
| 141 | - | |||||||||||||||||||||||||
| 142 | - | |||||||||||||||||||||||||
| 143 | { | - | ||||||||||||||||||||||||
| 144 | .valid = 1, | - | ||||||||||||||||||||||||
| 145 | .name = "AES128-SHA", | - | ||||||||||||||||||||||||
| 146 | .id = 0x0300002F, | - | ||||||||||||||||||||||||
| 147 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 148 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 149 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 150 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 151 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 152 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 153 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 154 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 155 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 156 | }, | - | ||||||||||||||||||||||||
| 157 | - | |||||||||||||||||||||||||
| 158 | - | |||||||||||||||||||||||||
| 159 | { | - | ||||||||||||||||||||||||
| 160 | .valid = 1, | - | ||||||||||||||||||||||||
| 161 | .name = "DHE-RSA-AES128-SHA", | - | ||||||||||||||||||||||||
| 162 | .id = 0x03000033, | - | ||||||||||||||||||||||||
| 163 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 164 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 165 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 166 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 167 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 168 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 169 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 170 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 171 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 172 | }, | - | ||||||||||||||||||||||||
| 173 | - | |||||||||||||||||||||||||
| 174 | - | |||||||||||||||||||||||||
| 175 | { | - | ||||||||||||||||||||||||
| 176 | .valid = 1, | - | ||||||||||||||||||||||||
| 177 | .name = "ADH-AES128-SHA", | - | ||||||||||||||||||||||||
| 178 | .id = 0x03000034, | - | ||||||||||||||||||||||||
| 179 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 180 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 181 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 182 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 183 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 184 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 185 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 186 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 187 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 188 | }, | - | ||||||||||||||||||||||||
| 189 | - | |||||||||||||||||||||||||
| 190 | - | |||||||||||||||||||||||||
| 191 | { | - | ||||||||||||||||||||||||
| 192 | .valid = 1, | - | ||||||||||||||||||||||||
| 193 | .name = "AES256-SHA", | - | ||||||||||||||||||||||||
| 194 | .id = 0x03000035, | - | ||||||||||||||||||||||||
| 195 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 196 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 197 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 198 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 199 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 200 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 201 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 202 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 203 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 204 | }, | - | ||||||||||||||||||||||||
| 205 | - | |||||||||||||||||||||||||
| 206 | - | |||||||||||||||||||||||||
| 207 | { | - | ||||||||||||||||||||||||
| 208 | .valid = 1, | - | ||||||||||||||||||||||||
| 209 | .name = "DHE-RSA-AES256-SHA", | - | ||||||||||||||||||||||||
| 210 | .id = 0x03000039, | - | ||||||||||||||||||||||||
| 211 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 212 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 213 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 214 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 215 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 216 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 217 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 218 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 219 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 220 | }, | - | ||||||||||||||||||||||||
| 221 | - | |||||||||||||||||||||||||
| 222 | - | |||||||||||||||||||||||||
| 223 | { | - | ||||||||||||||||||||||||
| 224 | .valid = 1, | - | ||||||||||||||||||||||||
| 225 | .name = "ADH-AES256-SHA", | - | ||||||||||||||||||||||||
| 226 | .id = 0x0300003A, | - | ||||||||||||||||||||||||
| 227 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 228 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 229 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 230 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 231 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 232 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 233 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 234 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 235 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 236 | }, | - | ||||||||||||||||||||||||
| 237 | - | |||||||||||||||||||||||||
| 238 | - | |||||||||||||||||||||||||
| 239 | - | |||||||||||||||||||||||||
| 240 | { | - | ||||||||||||||||||||||||
| 241 | .valid = 1, | - | ||||||||||||||||||||||||
| 242 | .name = "NULL-SHA256", | - | ||||||||||||||||||||||||
| 243 | .id = 0x0300003B, | - | ||||||||||||||||||||||||
| 244 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 245 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 246 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 247 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 248 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 249 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 250 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 251 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 252 | .alg_bits = 0, | - | ||||||||||||||||||||||||
| 253 | }, | - | ||||||||||||||||||||||||
| 254 | - | |||||||||||||||||||||||||
| 255 | - | |||||||||||||||||||||||||
| 256 | { | - | ||||||||||||||||||||||||
| 257 | .valid = 1, | - | ||||||||||||||||||||||||
| 258 | .name = "AES128-SHA256", | - | ||||||||||||||||||||||||
| 259 | .id = 0x0300003C, | - | ||||||||||||||||||||||||
| 260 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 261 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 262 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 263 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 264 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 265 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 266 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 267 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 268 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 269 | }, | - | ||||||||||||||||||||||||
| 270 | - | |||||||||||||||||||||||||
| 271 | - | |||||||||||||||||||||||||
| 272 | { | - | ||||||||||||||||||||||||
| 273 | .valid = 1, | - | ||||||||||||||||||||||||
| 274 | .name = "AES256-SHA256", | - | ||||||||||||||||||||||||
| 275 | .id = 0x0300003D, | - | ||||||||||||||||||||||||
| 276 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 277 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 278 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 279 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 280 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 281 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 282 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 283 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 284 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 285 | }, | - | ||||||||||||||||||||||||
| 286 | - | |||||||||||||||||||||||||
| 287 | - | |||||||||||||||||||||||||
| 288 | - | |||||||||||||||||||||||||
| 289 | - | |||||||||||||||||||||||||
| 290 | - | |||||||||||||||||||||||||
| 291 | { | - | ||||||||||||||||||||||||
| 292 | .valid = 1, | - | ||||||||||||||||||||||||
| 293 | .name = "CAMELLIA128-SHA", | - | ||||||||||||||||||||||||
| 294 | .id = 0x03000041, | - | ||||||||||||||||||||||||
| 295 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 296 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 297 | .algorithm_enc = 0x00000080L, | - | ||||||||||||||||||||||||
| 298 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 299 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 300 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 301 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 302 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 303 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 304 | }, | - | ||||||||||||||||||||||||
| 305 | - | |||||||||||||||||||||||||
| 306 | - | |||||||||||||||||||||||||
| 307 | { | - | ||||||||||||||||||||||||
| 308 | .valid = 1, | - | ||||||||||||||||||||||||
| 309 | .name = "DHE-RSA-CAMELLIA128-SHA", | - | ||||||||||||||||||||||||
| 310 | .id = 0x03000045, | - | ||||||||||||||||||||||||
| 311 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 312 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 313 | .algorithm_enc = 0x00000080L, | - | ||||||||||||||||||||||||
| 314 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 315 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 316 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 317 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 318 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 319 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 320 | }, | - | ||||||||||||||||||||||||
| 321 | - | |||||||||||||||||||||||||
| 322 | - | |||||||||||||||||||||||||
| 323 | { | - | ||||||||||||||||||||||||
| 324 | .valid = 1, | - | ||||||||||||||||||||||||
| 325 | .name = "ADH-CAMELLIA128-SHA", | - | ||||||||||||||||||||||||
| 326 | .id = 0x03000046, | - | ||||||||||||||||||||||||
| 327 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 328 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 329 | .algorithm_enc = 0x00000080L, | - | ||||||||||||||||||||||||
| 330 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 331 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 332 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 333 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 334 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 335 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 336 | }, | - | ||||||||||||||||||||||||
| 337 | - | |||||||||||||||||||||||||
| 338 | - | |||||||||||||||||||||||||
| 339 | - | |||||||||||||||||||||||||
| 340 | - | |||||||||||||||||||||||||
| 341 | { | - | ||||||||||||||||||||||||
| 342 | .valid = 1, | - | ||||||||||||||||||||||||
| 343 | .name = "DHE-RSA-AES128-SHA256", | - | ||||||||||||||||||||||||
| 344 | .id = 0x03000067, | - | ||||||||||||||||||||||||
| 345 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 346 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 347 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 348 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 349 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 350 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 351 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 352 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 353 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 354 | }, | - | ||||||||||||||||||||||||
| 355 | - | |||||||||||||||||||||||||
| 356 | - | |||||||||||||||||||||||||
| 357 | { | - | ||||||||||||||||||||||||
| 358 | .valid = 1, | - | ||||||||||||||||||||||||
| 359 | .name = "DHE-RSA-AES256-SHA256", | - | ||||||||||||||||||||||||
| 360 | .id = 0x0300006B, | - | ||||||||||||||||||||||||
| 361 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 362 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 363 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 364 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 365 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 366 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 367 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 368 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 369 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 370 | }, | - | ||||||||||||||||||||||||
| 371 | - | |||||||||||||||||||||||||
| 372 | - | |||||||||||||||||||||||||
| 373 | { | - | ||||||||||||||||||||||||
| 374 | .valid = 1, | - | ||||||||||||||||||||||||
| 375 | .name = "ADH-AES128-SHA256", | - | ||||||||||||||||||||||||
| 376 | .id = 0x0300006C, | - | ||||||||||||||||||||||||
| 377 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 378 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 379 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 380 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 381 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 382 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 383 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 384 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 385 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 386 | }, | - | ||||||||||||||||||||||||
| 387 | - | |||||||||||||||||||||||||
| 388 | - | |||||||||||||||||||||||||
| 389 | { | - | ||||||||||||||||||||||||
| 390 | .valid = 1, | - | ||||||||||||||||||||||||
| 391 | .name = "ADH-AES256-SHA256", | - | ||||||||||||||||||||||||
| 392 | .id = 0x0300006D, | - | ||||||||||||||||||||||||
| 393 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 394 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 395 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 396 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 397 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 398 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 399 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 400 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 401 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 402 | }, | - | ||||||||||||||||||||||||
| 403 | - | |||||||||||||||||||||||||
| 404 | - | |||||||||||||||||||||||||
| 405 | - | |||||||||||||||||||||||||
| 406 | - | |||||||||||||||||||||||||
| 407 | { | - | ||||||||||||||||||||||||
| 408 | .valid = 1, | - | ||||||||||||||||||||||||
| 409 | .name = "GOST2001-GOST89-GOST89", | - | ||||||||||||||||||||||||
| 410 | .id = 0x3000081, | - | ||||||||||||||||||||||||
| 411 | .algorithm_mkey = 0x00000200L, | - | ||||||||||||||||||||||||
| 412 | .algorithm_auth = 0x00000200L, | - | ||||||||||||||||||||||||
| 413 | .algorithm_enc = 0x00000200L, | - | ||||||||||||||||||||||||
| 414 | .algorithm_mac = 0x00000008L, | - | ||||||||||||||||||||||||
| 415 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 416 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 417 | .algorithm2 = 0x040|(0x040 << 10)| | - | ||||||||||||||||||||||||
| 418 | 0x04, | - | ||||||||||||||||||||||||
| 419 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 420 | .alg_bits = 256 | - | ||||||||||||||||||||||||
| 421 | }, | - | ||||||||||||||||||||||||
| 422 | - | |||||||||||||||||||||||||
| 423 | - | |||||||||||||||||||||||||
| 424 | { | - | ||||||||||||||||||||||||
| 425 | .valid = 1, | - | ||||||||||||||||||||||||
| 426 | .name = "GOST2001-NULL-GOST94", | - | ||||||||||||||||||||||||
| 427 | .id = 0x3000083, | - | ||||||||||||||||||||||||
| 428 | .algorithm_mkey = 0x00000200L, | - | ||||||||||||||||||||||||
| 429 | .algorithm_auth = 0x00000200L, | - | ||||||||||||||||||||||||
| 430 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 431 | .algorithm_mac = 0x00000004L, | - | ||||||||||||||||||||||||
| 432 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 433 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 434 | .algorithm2 = 0x040|(0x040 << 10), | - | ||||||||||||||||||||||||
| 435 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 436 | .alg_bits = 0 | - | ||||||||||||||||||||||||
| 437 | }, | - | ||||||||||||||||||||||||
| 438 | - | |||||||||||||||||||||||||
| 439 | - | |||||||||||||||||||||||||
| 440 | - | |||||||||||||||||||||||||
| 441 | - | |||||||||||||||||||||||||
| 442 | - | |||||||||||||||||||||||||
| 443 | { | - | ||||||||||||||||||||||||
| 444 | .valid = 1, | - | ||||||||||||||||||||||||
| 445 | .name = "CAMELLIA256-SHA", | - | ||||||||||||||||||||||||
| 446 | .id = 0x03000084, | - | ||||||||||||||||||||||||
| 447 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 448 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 449 | .algorithm_enc = 0x00000100L, | - | ||||||||||||||||||||||||
| 450 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 451 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 452 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 453 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 454 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 455 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 456 | }, | - | ||||||||||||||||||||||||
| 457 | - | |||||||||||||||||||||||||
| 458 | - | |||||||||||||||||||||||||
| 459 | { | - | ||||||||||||||||||||||||
| 460 | .valid = 1, | - | ||||||||||||||||||||||||
| 461 | .name = "DHE-RSA-CAMELLIA256-SHA", | - | ||||||||||||||||||||||||
| 462 | .id = 0x03000088, | - | ||||||||||||||||||||||||
| 463 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 464 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 465 | .algorithm_enc = 0x00000100L, | - | ||||||||||||||||||||||||
| 466 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 467 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 468 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 469 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 470 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 471 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 472 | }, | - | ||||||||||||||||||||||||
| 473 | - | |||||||||||||||||||||||||
| 474 | - | |||||||||||||||||||||||||
| 475 | { | - | ||||||||||||||||||||||||
| 476 | .valid = 1, | - | ||||||||||||||||||||||||
| 477 | .name = "ADH-CAMELLIA256-SHA", | - | ||||||||||||||||||||||||
| 478 | .id = 0x03000089, | - | ||||||||||||||||||||||||
| 479 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 480 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 481 | .algorithm_enc = 0x00000100L, | - | ||||||||||||||||||||||||
| 482 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 483 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 484 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 485 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 486 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 487 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 488 | }, | - | ||||||||||||||||||||||||
| 489 | - | |||||||||||||||||||||||||
| 490 | - | |||||||||||||||||||||||||
| 491 | - | |||||||||||||||||||||||||
| 492 | - | |||||||||||||||||||||||||
| 493 | - | |||||||||||||||||||||||||
| 494 | - | |||||||||||||||||||||||||
| 495 | - | |||||||||||||||||||||||||
| 496 | { | - | ||||||||||||||||||||||||
| 497 | .valid = 1, | - | ||||||||||||||||||||||||
| 498 | .name = "AES128-GCM-SHA256", | - | ||||||||||||||||||||||||
| 499 | .id = 0x0300009C, | - | ||||||||||||||||||||||||
| 500 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 501 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 502 | .algorithm_enc = 0x00000400L, | - | ||||||||||||||||||||||||
| 503 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 504 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 505 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 506 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 507 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 508 | (1 << 22), | - | ||||||||||||||||||||||||
| 509 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 510 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 511 | }, | - | ||||||||||||||||||||||||
| 512 | - | |||||||||||||||||||||||||
| 513 | - | |||||||||||||||||||||||||
| 514 | { | - | ||||||||||||||||||||||||
| 515 | .valid = 1, | - | ||||||||||||||||||||||||
| 516 | .name = "AES256-GCM-SHA384", | - | ||||||||||||||||||||||||
| 517 | .id = 0x0300009D, | - | ||||||||||||||||||||||||
| 518 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 519 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 520 | .algorithm_enc = 0x00000800L, | - | ||||||||||||||||||||||||
| 521 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 522 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 523 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 524 | .algorithm2 = 0x100|(0x100 << 10)| | - | ||||||||||||||||||||||||
| 525 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 526 | (1 << 22), | - | ||||||||||||||||||||||||
| 527 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 528 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 529 | }, | - | ||||||||||||||||||||||||
| 530 | - | |||||||||||||||||||||||||
| 531 | - | |||||||||||||||||||||||||
| 532 | { | - | ||||||||||||||||||||||||
| 533 | .valid = 1, | - | ||||||||||||||||||||||||
| 534 | .name = "DHE-RSA-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||
| 535 | .id = 0x0300009E, | - | ||||||||||||||||||||||||
| 536 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 537 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 538 | .algorithm_enc = 0x00000400L, | - | ||||||||||||||||||||||||
| 539 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 540 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 541 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 542 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 543 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 544 | (1 << 22), | - | ||||||||||||||||||||||||
| 545 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 546 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 547 | }, | - | ||||||||||||||||||||||||
| 548 | - | |||||||||||||||||||||||||
| 549 | - | |||||||||||||||||||||||||
| 550 | { | - | ||||||||||||||||||||||||
| 551 | .valid = 1, | - | ||||||||||||||||||||||||
| 552 | .name = "DHE-RSA-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||
| 553 | .id = 0x0300009F, | - | ||||||||||||||||||||||||
| 554 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 555 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 556 | .algorithm_enc = 0x00000800L, | - | ||||||||||||||||||||||||
| 557 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 558 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 559 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 560 | .algorithm2 = 0x100|(0x100 << 10)| | - | ||||||||||||||||||||||||
| 561 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 562 | (1 << 22), | - | ||||||||||||||||||||||||
| 563 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 564 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 565 | }, | - | ||||||||||||||||||||||||
| 566 | - | |||||||||||||||||||||||||
| 567 | - | |||||||||||||||||||||||||
| 568 | { | - | ||||||||||||||||||||||||
| 569 | .valid = 1, | - | ||||||||||||||||||||||||
| 570 | .name = "ADH-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||
| 571 | .id = 0x030000A6, | - | ||||||||||||||||||||||||
| 572 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 573 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 574 | .algorithm_enc = 0x00000400L, | - | ||||||||||||||||||||||||
| 575 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 576 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 577 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 578 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 579 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 580 | (1 << 22), | - | ||||||||||||||||||||||||
| 581 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 582 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 583 | }, | - | ||||||||||||||||||||||||
| 584 | - | |||||||||||||||||||||||||
| 585 | - | |||||||||||||||||||||||||
| 586 | { | - | ||||||||||||||||||||||||
| 587 | .valid = 1, | - | ||||||||||||||||||||||||
| 588 | .name = "ADH-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||
| 589 | .id = 0x030000A7, | - | ||||||||||||||||||||||||
| 590 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 591 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 592 | .algorithm_enc = 0x00000800L, | - | ||||||||||||||||||||||||
| 593 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 594 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 595 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 596 | .algorithm2 = 0x100|(0x100 << 10)| | - | ||||||||||||||||||||||||
| 597 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 598 | (1 << 22), | - | ||||||||||||||||||||||||
| 599 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 600 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 601 | }, | - | ||||||||||||||||||||||||
| 602 | - | |||||||||||||||||||||||||
| 603 | - | |||||||||||||||||||||||||
| 604 | - | |||||||||||||||||||||||||
| 605 | - | |||||||||||||||||||||||||
| 606 | - | |||||||||||||||||||||||||
| 607 | { | - | ||||||||||||||||||||||||
| 608 | .valid = 1, | - | ||||||||||||||||||||||||
| 609 | .name = "CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||
| 610 | .id = 0x030000BA, | - | ||||||||||||||||||||||||
| 611 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 612 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 613 | .algorithm_enc = 0x00000080L, | - | ||||||||||||||||||||||||
| 614 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 615 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 616 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 617 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 618 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 619 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 620 | }, | - | ||||||||||||||||||||||||
| 621 | - | |||||||||||||||||||||||||
| 622 | - | |||||||||||||||||||||||||
| 623 | { | - | ||||||||||||||||||||||||
| 624 | .valid = 1, | - | ||||||||||||||||||||||||
| 625 | .name = "DHE-RSA-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||
| 626 | .id = 0x030000BE, | - | ||||||||||||||||||||||||
| 627 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 628 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 629 | .algorithm_enc = 0x00000080L, | - | ||||||||||||||||||||||||
| 630 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 631 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 632 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 633 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 634 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 635 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 636 | }, | - | ||||||||||||||||||||||||
| 637 | - | |||||||||||||||||||||||||
| 638 | - | |||||||||||||||||||||||||
| 639 | { | - | ||||||||||||||||||||||||
| 640 | .valid = 1, | - | ||||||||||||||||||||||||
| 641 | .name = "ADH-CAMELLIA128-SHA256", | - | ||||||||||||||||||||||||
| 642 | .id = 0x030000BF, | - | ||||||||||||||||||||||||
| 643 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 644 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 645 | .algorithm_enc = 0x00000080L, | - | ||||||||||||||||||||||||
| 646 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 647 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 648 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 649 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 650 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 651 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 652 | }, | - | ||||||||||||||||||||||||
| 653 | - | |||||||||||||||||||||||||
| 654 | - | |||||||||||||||||||||||||
| 655 | { | - | ||||||||||||||||||||||||
| 656 | .valid = 1, | - | ||||||||||||||||||||||||
| 657 | .name = "CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||
| 658 | .id = 0x030000C0, | - | ||||||||||||||||||||||||
| 659 | .algorithm_mkey = 0x00000001L, | - | ||||||||||||||||||||||||
| 660 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 661 | .algorithm_enc = 0x00000100L, | - | ||||||||||||||||||||||||
| 662 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 663 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 664 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 665 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 666 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 667 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 668 | }, | - | ||||||||||||||||||||||||
| 669 | - | |||||||||||||||||||||||||
| 670 | - | |||||||||||||||||||||||||
| 671 | { | - | ||||||||||||||||||||||||
| 672 | .valid = 1, | - | ||||||||||||||||||||||||
| 673 | .name = "DHE-RSA-CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||
| 674 | .id = 0x030000C4, | - | ||||||||||||||||||||||||
| 675 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 676 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 677 | .algorithm_enc = 0x00000100L, | - | ||||||||||||||||||||||||
| 678 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 679 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 680 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 681 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 682 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 683 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 684 | }, | - | ||||||||||||||||||||||||
| 685 | - | |||||||||||||||||||||||||
| 686 | - | |||||||||||||||||||||||||
| 687 | { | - | ||||||||||||||||||||||||
| 688 | .valid = 1, | - | ||||||||||||||||||||||||
| 689 | .name = "ADH-CAMELLIA256-SHA256", | - | ||||||||||||||||||||||||
| 690 | .id = 0x030000C5, | - | ||||||||||||||||||||||||
| 691 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 692 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 693 | .algorithm_enc = 0x00000100L, | - | ||||||||||||||||||||||||
| 694 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 695 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 696 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 697 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 698 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 699 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 700 | }, | - | ||||||||||||||||||||||||
| 701 | - | |||||||||||||||||||||||||
| 702 | - | |||||||||||||||||||||||||
| 703 | - | |||||||||||||||||||||||||
| 704 | { | - | ||||||||||||||||||||||||
| 705 | .valid = 1, | - | ||||||||||||||||||||||||
| 706 | .name = "ECDHE-ECDSA-NULL-SHA", | - | ||||||||||||||||||||||||
| 707 | .id = 0x0300C006, | - | ||||||||||||||||||||||||
| 708 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 709 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 710 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 711 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 712 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 713 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 714 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 715 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 716 | .alg_bits = 0, | - | ||||||||||||||||||||||||
| 717 | }, | - | ||||||||||||||||||||||||
| 718 | - | |||||||||||||||||||||||||
| 719 | - | |||||||||||||||||||||||||
| 720 | { | - | ||||||||||||||||||||||||
| 721 | .valid = 1, | - | ||||||||||||||||||||||||
| 722 | .name = "ECDHE-ECDSA-RC4-SHA", | - | ||||||||||||||||||||||||
| 723 | .id = 0x0300C007, | - | ||||||||||||||||||||||||
| 724 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 725 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 726 | .algorithm_enc = 0x00000004L, | - | ||||||||||||||||||||||||
| 727 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 728 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 729 | .algo_strength = 0x00000020L, | - | ||||||||||||||||||||||||
| 730 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 731 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 732 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 733 | }, | - | ||||||||||||||||||||||||
| 734 | - | |||||||||||||||||||||||||
| 735 | - | |||||||||||||||||||||||||
| 736 | { | - | ||||||||||||||||||||||||
| 737 | .valid = 1, | - | ||||||||||||||||||||||||
| 738 | .name = "ECDHE-ECDSA-DES-CBC3-SHA", | - | ||||||||||||||||||||||||
| 739 | .id = 0x0300C008, | - | ||||||||||||||||||||||||
| 740 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 741 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 742 | .algorithm_enc = 0x00000002L, | - | ||||||||||||||||||||||||
| 743 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 744 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 745 | .algo_strength = 0x00000040L, | - | ||||||||||||||||||||||||
| 746 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 747 | .strength_bits = 112, | - | ||||||||||||||||||||||||
| 748 | .alg_bits = 168, | - | ||||||||||||||||||||||||
| 749 | }, | - | ||||||||||||||||||||||||
| 750 | - | |||||||||||||||||||||||||
| 751 | - | |||||||||||||||||||||||||
| 752 | { | - | ||||||||||||||||||||||||
| 753 | .valid = 1, | - | ||||||||||||||||||||||||
| 754 | .name = "ECDHE-ECDSA-AES128-SHA", | - | ||||||||||||||||||||||||
| 755 | .id = 0x0300C009, | - | ||||||||||||||||||||||||
| 756 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 757 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 758 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 759 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 760 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 761 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 762 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 763 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 764 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 765 | }, | - | ||||||||||||||||||||||||
| 766 | - | |||||||||||||||||||||||||
| 767 | - | |||||||||||||||||||||||||
| 768 | { | - | ||||||||||||||||||||||||
| 769 | .valid = 1, | - | ||||||||||||||||||||||||
| 770 | .name = "ECDHE-ECDSA-AES256-SHA", | - | ||||||||||||||||||||||||
| 771 | .id = 0x0300C00A, | - | ||||||||||||||||||||||||
| 772 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 773 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 774 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 775 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 776 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 777 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 778 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 779 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 780 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 781 | }, | - | ||||||||||||||||||||||||
| 782 | - | |||||||||||||||||||||||||
| 783 | - | |||||||||||||||||||||||||
| 784 | { | - | ||||||||||||||||||||||||
| 785 | .valid = 1, | - | ||||||||||||||||||||||||
| 786 | .name = "ECDHE-RSA-NULL-SHA", | - | ||||||||||||||||||||||||
| 787 | .id = 0x0300C010, | - | ||||||||||||||||||||||||
| 788 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 789 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 790 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 791 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 792 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 793 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 794 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 795 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 796 | .alg_bits = 0, | - | ||||||||||||||||||||||||
| 797 | }, | - | ||||||||||||||||||||||||
| 798 | - | |||||||||||||||||||||||||
| 799 | - | |||||||||||||||||||||||||
| 800 | { | - | ||||||||||||||||||||||||
| 801 | .valid = 1, | - | ||||||||||||||||||||||||
| 802 | .name = "ECDHE-RSA-RC4-SHA", | - | ||||||||||||||||||||||||
| 803 | .id = 0x0300C011, | - | ||||||||||||||||||||||||
| 804 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 805 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 806 | .algorithm_enc = 0x00000004L, | - | ||||||||||||||||||||||||
| 807 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 808 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 809 | .algo_strength = 0x00000020L, | - | ||||||||||||||||||||||||
| 810 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 811 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 812 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 813 | }, | - | ||||||||||||||||||||||||
| 814 | - | |||||||||||||||||||||||||
| 815 | - | |||||||||||||||||||||||||
| 816 | { | - | ||||||||||||||||||||||||
| 817 | .valid = 1, | - | ||||||||||||||||||||||||
| 818 | .name = "ECDHE-RSA-DES-CBC3-SHA", | - | ||||||||||||||||||||||||
| 819 | .id = 0x0300C012, | - | ||||||||||||||||||||||||
| 820 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 821 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 822 | .algorithm_enc = 0x00000002L, | - | ||||||||||||||||||||||||
| 823 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 824 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 825 | .algo_strength = 0x00000040L, | - | ||||||||||||||||||||||||
| 826 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 827 | .strength_bits = 112, | - | ||||||||||||||||||||||||
| 828 | .alg_bits = 168, | - | ||||||||||||||||||||||||
| 829 | }, | - | ||||||||||||||||||||||||
| 830 | - | |||||||||||||||||||||||||
| 831 | - | |||||||||||||||||||||||||
| 832 | { | - | ||||||||||||||||||||||||
| 833 | .valid = 1, | - | ||||||||||||||||||||||||
| 834 | .name = "ECDHE-RSA-AES128-SHA", | - | ||||||||||||||||||||||||
| 835 | .id = 0x0300C013, | - | ||||||||||||||||||||||||
| 836 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 837 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 838 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 839 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 840 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 841 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 842 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 843 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 844 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 845 | }, | - | ||||||||||||||||||||||||
| 846 | - | |||||||||||||||||||||||||
| 847 | - | |||||||||||||||||||||||||
| 848 | { | - | ||||||||||||||||||||||||
| 849 | .valid = 1, | - | ||||||||||||||||||||||||
| 850 | .name = "ECDHE-RSA-AES256-SHA", | - | ||||||||||||||||||||||||
| 851 | .id = 0x0300C014, | - | ||||||||||||||||||||||||
| 852 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 853 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 854 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 855 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 856 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 857 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 858 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 859 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 860 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 861 | }, | - | ||||||||||||||||||||||||
| 862 | - | |||||||||||||||||||||||||
| 863 | - | |||||||||||||||||||||||||
| 864 | { | - | ||||||||||||||||||||||||
| 865 | .valid = 1, | - | ||||||||||||||||||||||||
| 866 | .name = "AECDH-NULL-SHA", | - | ||||||||||||||||||||||||
| 867 | .id = 0x0300C015, | - | ||||||||||||||||||||||||
| 868 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 869 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 870 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 871 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 872 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 873 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 874 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 875 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 876 | .alg_bits = 0, | - | ||||||||||||||||||||||||
| 877 | }, | - | ||||||||||||||||||||||||
| 878 | - | |||||||||||||||||||||||||
| 879 | - | |||||||||||||||||||||||||
| 880 | { | - | ||||||||||||||||||||||||
| 881 | .valid = 1, | - | ||||||||||||||||||||||||
| 882 | .name = "AECDH-RC4-SHA", | - | ||||||||||||||||||||||||
| 883 | .id = 0x0300C016, | - | ||||||||||||||||||||||||
| 884 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 885 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 886 | .algorithm_enc = 0x00000004L, | - | ||||||||||||||||||||||||
| 887 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 888 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 889 | .algo_strength = 0x00000020L, | - | ||||||||||||||||||||||||
| 890 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 891 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 892 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 893 | }, | - | ||||||||||||||||||||||||
| 894 | - | |||||||||||||||||||||||||
| 895 | - | |||||||||||||||||||||||||
| 896 | { | - | ||||||||||||||||||||||||
| 897 | .valid = 1, | - | ||||||||||||||||||||||||
| 898 | .name = "AECDH-DES-CBC3-SHA", | - | ||||||||||||||||||||||||
| 899 | .id = 0x0300C017, | - | ||||||||||||||||||||||||
| 900 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 901 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 902 | .algorithm_enc = 0x00000002L, | - | ||||||||||||||||||||||||
| 903 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 904 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 905 | .algo_strength = 0x00000040L, | - | ||||||||||||||||||||||||
| 906 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 907 | .strength_bits = 112, | - | ||||||||||||||||||||||||
| 908 | .alg_bits = 168, | - | ||||||||||||||||||||||||
| 909 | }, | - | ||||||||||||||||||||||||
| 910 | - | |||||||||||||||||||||||||
| 911 | - | |||||||||||||||||||||||||
| 912 | { | - | ||||||||||||||||||||||||
| 913 | .valid = 1, | - | ||||||||||||||||||||||||
| 914 | .name = "AECDH-AES128-SHA", | - | ||||||||||||||||||||||||
| 915 | .id = 0x0300C018, | - | ||||||||||||||||||||||||
| 916 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 917 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 918 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 919 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 920 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 921 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 922 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 923 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 924 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 925 | }, | - | ||||||||||||||||||||||||
| 926 | - | |||||||||||||||||||||||||
| 927 | - | |||||||||||||||||||||||||
| 928 | { | - | ||||||||||||||||||||||||
| 929 | .valid = 1, | - | ||||||||||||||||||||||||
| 930 | .name = "AECDH-AES256-SHA", | - | ||||||||||||||||||||||||
| 931 | .id = 0x0300C019, | - | ||||||||||||||||||||||||
| 932 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 933 | .algorithm_auth = 0x00000004L, | - | ||||||||||||||||||||||||
| 934 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 935 | .algorithm_mac = 0x00000002L, | - | ||||||||||||||||||||||||
| 936 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 937 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 938 | .algorithm2 = (0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)), | - | ||||||||||||||||||||||||
| 939 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 940 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 941 | }, | - | ||||||||||||||||||||||||
| 942 | - | |||||||||||||||||||||||||
| 943 | - | |||||||||||||||||||||||||
| 944 | - | |||||||||||||||||||||||||
| 945 | - | |||||||||||||||||||||||||
| 946 | - | |||||||||||||||||||||||||
| 947 | { | - | ||||||||||||||||||||||||
| 948 | .valid = 1, | - | ||||||||||||||||||||||||
| 949 | .name = "ECDHE-ECDSA-AES128-SHA256", | - | ||||||||||||||||||||||||
| 950 | .id = 0x0300C023, | - | ||||||||||||||||||||||||
| 951 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 952 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 953 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 954 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 955 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 956 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 957 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 958 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 959 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 960 | }, | - | ||||||||||||||||||||||||
| 961 | - | |||||||||||||||||||||||||
| 962 | - | |||||||||||||||||||||||||
| 963 | { | - | ||||||||||||||||||||||||
| 964 | .valid = 1, | - | ||||||||||||||||||||||||
| 965 | .name = "ECDHE-ECDSA-AES256-SHA384", | - | ||||||||||||||||||||||||
| 966 | .id = 0x0300C024, | - | ||||||||||||||||||||||||
| 967 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 968 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 969 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 970 | .algorithm_mac = 0x00000020L, | - | ||||||||||||||||||||||||
| 971 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 972 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 973 | .algorithm2 = 0x100|(0x100 << 10), | - | ||||||||||||||||||||||||
| 974 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 975 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 976 | }, | - | ||||||||||||||||||||||||
| 977 | - | |||||||||||||||||||||||||
| 978 | - | |||||||||||||||||||||||||
| 979 | { | - | ||||||||||||||||||||||||
| 980 | .valid = 1, | - | ||||||||||||||||||||||||
| 981 | .name = "ECDHE-RSA-AES128-SHA256", | - | ||||||||||||||||||||||||
| 982 | .id = 0x0300C027, | - | ||||||||||||||||||||||||
| 983 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 984 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 985 | .algorithm_enc = 0x00000020L, | - | ||||||||||||||||||||||||
| 986 | .algorithm_mac = 0x00000010L, | - | ||||||||||||||||||||||||
| 987 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 988 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 989 | .algorithm2 = 0x080|(0x080 << 10), | - | ||||||||||||||||||||||||
| 990 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 991 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 992 | }, | - | ||||||||||||||||||||||||
| 993 | - | |||||||||||||||||||||||||
| 994 | - | |||||||||||||||||||||||||
| 995 | { | - | ||||||||||||||||||||||||
| 996 | .valid = 1, | - | ||||||||||||||||||||||||
| 997 | .name = "ECDHE-RSA-AES256-SHA384", | - | ||||||||||||||||||||||||
| 998 | .id = 0x0300C028, | - | ||||||||||||||||||||||||
| 999 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1000 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 1001 | .algorithm_enc = 0x00000040L, | - | ||||||||||||||||||||||||
| 1002 | .algorithm_mac = 0x00000020L, | - | ||||||||||||||||||||||||
| 1003 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1004 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1005 | .algorithm2 = 0x100|(0x100 << 10), | - | ||||||||||||||||||||||||
| 1006 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1007 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 1008 | }, | - | ||||||||||||||||||||||||
| 1009 | - | |||||||||||||||||||||||||
| 1010 | - | |||||||||||||||||||||||||
| 1011 | - | |||||||||||||||||||||||||
| 1012 | - | |||||||||||||||||||||||||
| 1013 | { | - | ||||||||||||||||||||||||
| 1014 | .valid = 1, | - | ||||||||||||||||||||||||
| 1015 | .name = "ECDHE-ECDSA-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||
| 1016 | .id = 0x0300C02B, | - | ||||||||||||||||||||||||
| 1017 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1018 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 1019 | .algorithm_enc = 0x00000400L, | - | ||||||||||||||||||||||||
| 1020 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1021 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1022 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1023 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 1024 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 1025 | (1 << 22), | - | ||||||||||||||||||||||||
| 1026 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 1027 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 1028 | }, | - | ||||||||||||||||||||||||
| 1029 | - | |||||||||||||||||||||||||
| 1030 | - | |||||||||||||||||||||||||
| 1031 | { | - | ||||||||||||||||||||||||
| 1032 | .valid = 1, | - | ||||||||||||||||||||||||
| 1033 | .name = "ECDHE-ECDSA-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||
| 1034 | .id = 0x0300C02C, | - | ||||||||||||||||||||||||
| 1035 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1036 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 1037 | .algorithm_enc = 0x00000800L, | - | ||||||||||||||||||||||||
| 1038 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1039 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1040 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1041 | .algorithm2 = 0x100|(0x100 << 10)| | - | ||||||||||||||||||||||||
| 1042 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 1043 | (1 << 22), | - | ||||||||||||||||||||||||
| 1044 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1045 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 1046 | }, | - | ||||||||||||||||||||||||
| 1047 | - | |||||||||||||||||||||||||
| 1048 | - | |||||||||||||||||||||||||
| 1049 | { | - | ||||||||||||||||||||||||
| 1050 | .valid = 1, | - | ||||||||||||||||||||||||
| 1051 | .name = "ECDHE-RSA-AES128-GCM-SHA256", | - | ||||||||||||||||||||||||
| 1052 | .id = 0x0300C02F, | - | ||||||||||||||||||||||||
| 1053 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1054 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 1055 | .algorithm_enc = 0x00000400L, | - | ||||||||||||||||||||||||
| 1056 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1057 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1058 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1059 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 1060 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 1061 | (1 << 22), | - | ||||||||||||||||||||||||
| 1062 | .strength_bits = 128, | - | ||||||||||||||||||||||||
| 1063 | .alg_bits = 128, | - | ||||||||||||||||||||||||
| 1064 | }, | - | ||||||||||||||||||||||||
| 1065 | - | |||||||||||||||||||||||||
| 1066 | - | |||||||||||||||||||||||||
| 1067 | { | - | ||||||||||||||||||||||||
| 1068 | .valid = 1, | - | ||||||||||||||||||||||||
| 1069 | .name = "ECDHE-RSA-AES256-GCM-SHA384", | - | ||||||||||||||||||||||||
| 1070 | .id = 0x0300C030, | - | ||||||||||||||||||||||||
| 1071 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1072 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 1073 | .algorithm_enc = 0x00000800L, | - | ||||||||||||||||||||||||
| 1074 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1075 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1076 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1077 | .algorithm2 = 0x100|(0x100 << 10)| | - | ||||||||||||||||||||||||
| 1078 | (((4 / 2) & 0xf) << 24)| | - | ||||||||||||||||||||||||
| 1079 | (1 << 22), | - | ||||||||||||||||||||||||
| 1080 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1081 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 1082 | }, | - | ||||||||||||||||||||||||
| 1083 | - | |||||||||||||||||||||||||
| 1084 | - | |||||||||||||||||||||||||
| 1085 | { | - | ||||||||||||||||||||||||
| 1086 | .valid = 1, | - | ||||||||||||||||||||||||
| 1087 | .name = "ECDHE-RSA-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||
| 1088 | .id = 0x0300CCA8, | - | ||||||||||||||||||||||||
| 1089 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1090 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 1091 | .algorithm_enc = 0x00001000L, | - | ||||||||||||||||||||||||
| 1092 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1093 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1094 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1095 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 1096 | (((12 / 2) & 0xf) << 24), | - | ||||||||||||||||||||||||
| 1097 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1098 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 1099 | }, | - | ||||||||||||||||||||||||
| 1100 | - | |||||||||||||||||||||||||
| 1101 | - | |||||||||||||||||||||||||
| 1102 | { | - | ||||||||||||||||||||||||
| 1103 | .valid = 1, | - | ||||||||||||||||||||||||
| 1104 | .name = "ECDHE-ECDSA-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||
| 1105 | .id = 0x0300CCA9, | - | ||||||||||||||||||||||||
| 1106 | .algorithm_mkey = 0x00000080L, | - | ||||||||||||||||||||||||
| 1107 | .algorithm_auth = 0x00000040L, | - | ||||||||||||||||||||||||
| 1108 | .algorithm_enc = 0x00001000L, | - | ||||||||||||||||||||||||
| 1109 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1110 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1111 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1112 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 1113 | (((12 / 2) & 0xf) << 24), | - | ||||||||||||||||||||||||
| 1114 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1115 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 1116 | }, | - | ||||||||||||||||||||||||
| 1117 | - | |||||||||||||||||||||||||
| 1118 | - | |||||||||||||||||||||||||
| 1119 | { | - | ||||||||||||||||||||||||
| 1120 | .valid = 1, | - | ||||||||||||||||||||||||
| 1121 | .name = "DHE-RSA-CHACHA20-POLY1305", | - | ||||||||||||||||||||||||
| 1122 | .id = 0x0300CCAA, | - | ||||||||||||||||||||||||
| 1123 | .algorithm_mkey = 0x00000008L, | - | ||||||||||||||||||||||||
| 1124 | .algorithm_auth = 0x00000001L, | - | ||||||||||||||||||||||||
| 1125 | .algorithm_enc = 0x00001000L, | - | ||||||||||||||||||||||||
| 1126 | .algorithm_mac = 0x00000040L, | - | ||||||||||||||||||||||||
| 1127 | .algorithm_ssl = 0x00000004L, | - | ||||||||||||||||||||||||
| 1128 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1129 | .algorithm2 = 0x080|(0x080 << 10)| | - | ||||||||||||||||||||||||
| 1130 | (((12 / 2) & 0xf) << 24), | - | ||||||||||||||||||||||||
| 1131 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1132 | .alg_bits = 256, | - | ||||||||||||||||||||||||
| 1133 | }, | - | ||||||||||||||||||||||||
| 1134 | - | |||||||||||||||||||||||||
| 1135 | - | |||||||||||||||||||||||||
| 1136 | { | - | ||||||||||||||||||||||||
| 1137 | .valid = 1, | - | ||||||||||||||||||||||||
| 1138 | .name = "GOST2012256-GOST89-GOST89", | - | ||||||||||||||||||||||||
| 1139 | .id = 0x300ff85, | - | ||||||||||||||||||||||||
| 1140 | .algorithm_mkey = 0x00000200L, | - | ||||||||||||||||||||||||
| 1141 | .algorithm_auth = 0x00000200L, | - | ||||||||||||||||||||||||
| 1142 | .algorithm_enc = 0x00000200L, | - | ||||||||||||||||||||||||
| 1143 | .algorithm_mac = 0x00000008L, | - | ||||||||||||||||||||||||
| 1144 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 1145 | .algo_strength = 0x00000080L, | - | ||||||||||||||||||||||||
| 1146 | .algorithm2 = 0x200|(0x200 << 10)| | - | ||||||||||||||||||||||||
| 1147 | 0x04, | - | ||||||||||||||||||||||||
| 1148 | .strength_bits = 256, | - | ||||||||||||||||||||||||
| 1149 | .alg_bits = 256 | - | ||||||||||||||||||||||||
| 1150 | }, | - | ||||||||||||||||||||||||
| 1151 | - | |||||||||||||||||||||||||
| 1152 | - | |||||||||||||||||||||||||
| 1153 | { | - | ||||||||||||||||||||||||
| 1154 | .valid = 1, | - | ||||||||||||||||||||||||
| 1155 | .name = "GOST2012256-NULL-STREEBOG256", | - | ||||||||||||||||||||||||
| 1156 | .id = 0x300ff87, | - | ||||||||||||||||||||||||
| 1157 | .algorithm_mkey = 0x00000200L, | - | ||||||||||||||||||||||||
| 1158 | .algorithm_auth = 0x00000200L, | - | ||||||||||||||||||||||||
| 1159 | .algorithm_enc = 0x00000010L, | - | ||||||||||||||||||||||||
| 1160 | .algorithm_mac = 0x00000080L, | - | ||||||||||||||||||||||||
| 1161 | .algorithm_ssl = 0x00000002L, | - | ||||||||||||||||||||||||
| 1162 | .algo_strength = 0x00000004L, | - | ||||||||||||||||||||||||
| 1163 | .algorithm2 = 0x200|(0x200 << 10), | - | ||||||||||||||||||||||||
| 1164 | .strength_bits = 0, | - | ||||||||||||||||||||||||
| 1165 | .alg_bits = 0 | - | ||||||||||||||||||||||||
| 1166 | }, | - | ||||||||||||||||||||||||
| 1167 | - | |||||||||||||||||||||||||
| 1168 | - | |||||||||||||||||||||||||
| 1169 | - | |||||||||||||||||||||||||
| 1170 | }; | - | ||||||||||||||||||||||||
| 1171 | - | |||||||||||||||||||||||||
| 1172 | int | - | ||||||||||||||||||||||||
| 1173 | ssl3_num_ciphers(void) | - | ||||||||||||||||||||||||
| 1174 | { | - | ||||||||||||||||||||||||
| 1175 | return executed 290 times by 13 tests: ((sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)));return ((sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)));Executed by:
executed 290 times by 13 tests: return ((sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)));Executed by:
| 290 | ||||||||||||||||||||||||
| 1176 | } | - | ||||||||||||||||||||||||
| 1177 | - | |||||||||||||||||||||||||
| 1178 | const SSL_CIPHER * | - | ||||||||||||||||||||||||
| 1179 | ssl3_get_cipher(unsigned int u) | - | ||||||||||||||||||||||||
| 1180 | { | - | ||||||||||||||||||||||||
| 1181 | if (u < (sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER))
| 0-20010 | ||||||||||||||||||||||||
| 1182 | return executed 20010 times by 13 tests: (&(ssl3_ciphers[(sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)) - 1 - u]));return (&(ssl3_ciphers[(sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)) - 1 - u]));Executed by:
executed 20010 times by 13 tests: return (&(ssl3_ciphers[(sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER)) - 1 - u]));Executed by:
| 20010 | ||||||||||||||||||||||||
| 1183 | else | - | ||||||||||||||||||||||||
| 1184 | return never executed: (return ( ((void *)0) );never executed: return ( ((void *)0) ); | 0 | ||||||||||||||||||||||||
| 1185 | ((void *)0) never executed: return ( ((void *)0) ); | 0 | ||||||||||||||||||||||||
| 1186 | ); never executed: return ( ((void *)0) ); | 0 | ||||||||||||||||||||||||
| 1187 | } | - | ||||||||||||||||||||||||
| 1188 | - | |||||||||||||||||||||||||
| 1189 | const SSL_CIPHER * | - | ||||||||||||||||||||||||
| 1190 | ssl3_get_cipher_by_id(unsigned int id) | - | ||||||||||||||||||||||||
| 1191 | { | - | ||||||||||||||||||||||||
| 1192 | const SSL_CIPHER *cp; | - | ||||||||||||||||||||||||
| 1193 | SSL_CIPHER c; | - | ||||||||||||||||||||||||
| 1194 | - | |||||||||||||||||||||||||
| 1195 | c.id = id; | - | ||||||||||||||||||||||||
| 1196 | cp = OBJ_bsearch_ssl_cipher_id(&c, ssl3_ciphers, (sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER))); | - | ||||||||||||||||||||||||
| 1197 | if (cp !=
| 52-1726 | ||||||||||||||||||||||||
| 1198 | ((void *)0)
| 52-1726 | ||||||||||||||||||||||||
| 1199 | && cp->valid == 1
| 0-1726 | ||||||||||||||||||||||||
| 1200 | return executed 1726 times by 7 tests: (cp);return (cp);Executed by:
executed 1726 times by 7 tests: return (cp);Executed by:
| 1726 | ||||||||||||||||||||||||
| 1201 | - | |||||||||||||||||||||||||
| 1202 | return executed 52 times by 1 test: (return ( ((void *)0) );Executed by:
executed 52 times by 1 test: return ( ((void *)0) );Executed by:
| 52 | ||||||||||||||||||||||||
| 1203 | ((void *)0) executed 52 times by 1 test: return ( ((void *)0) );Executed by:
| 52 | ||||||||||||||||||||||||
| 1204 | ); executed 52 times by 1 test: return ( ((void *)0) );Executed by:
| 52 | ||||||||||||||||||||||||
| 1205 | } | - | ||||||||||||||||||||||||
| 1206 | - | |||||||||||||||||||||||||
| 1207 | const SSL_CIPHER * | - | ||||||||||||||||||||||||
| 1208 | ssl3_get_cipher_by_value(uint16_t value) | - | ||||||||||||||||||||||||
| 1209 | { | - | ||||||||||||||||||||||||
| 1210 | return executed 1730 times by 6 tests: ssl3_get_cipher_by_id(0x03000000 | value);return ssl3_get_cipher_by_id(0x03000000 | value);Executed by:
executed 1730 times by 6 tests: return ssl3_get_cipher_by_id(0x03000000 | value);Executed by:
| 1730 | ||||||||||||||||||||||||
| 1211 | } | - | ||||||||||||||||||||||||
| 1212 | - | |||||||||||||||||||||||||
| 1213 | uint16_t | - | ||||||||||||||||||||||||
| 1214 | ssl3_cipher_get_value(const SSL_CIPHER *c) | - | ||||||||||||||||||||||||
| 1215 | { | - | ||||||||||||||||||||||||
| 1216 | return executed 2042 times by 6 tests: (c->id & 0x0000ffff);return (c->id & 0x0000ffff);Executed by:
executed 2042 times by 6 tests: return (c->id & 0x0000ffff);Executed by:
| 2042 | ||||||||||||||||||||||||
| 1217 | } | - | ||||||||||||||||||||||||
| 1218 | - | |||||||||||||||||||||||||
| 1219 | int | - | ||||||||||||||||||||||||
| 1220 | ssl3_pending(const SSL *s) | - | ||||||||||||||||||||||||
| 1221 | { | - | ||||||||||||||||||||||||
| 1222 | if (s->internal->rstate == 0xF1
| 0-560 | ||||||||||||||||||||||||
| 1223 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1224 | - | |||||||||||||||||||||||||
| 1225 | return executed 560 times by 1 test: ((return ((s->s3->internal)->rrec.type == 23) ? (s->s3->internal)->rrec.length : 0;Executed by:
executed 560 times by 1 test: return ((s->s3->internal)->rrec.type == 23) ? (s->s3->internal)->rrec.length : 0;Executed by:
| 70-560 | ||||||||||||||||||||||||
| 1226 | (s->s3->internal)->rrec.length : 0; executed 560 times by 1 test: return ((s->s3->internal)->rrec.type == 23) ? (s->s3->internal)->rrec.length : 0;Executed by:
| 560 | ||||||||||||||||||||||||
| 1227 | } | - | ||||||||||||||||||||||||
| 1228 | - | |||||||||||||||||||||||||
| 1229 | int | - | ||||||||||||||||||||||||
| 1230 | ssl3_handshake_msg_hdr_len(SSL *s) | - | ||||||||||||||||||||||||
| 1231 | { | - | ||||||||||||||||||||||||
| 1232 | return executed 99 times by 2 tests: ((return ((s->method->internal->version == 0xFEFF) ? 12 : 4);Executed by:
executed 99 times by 2 tests: return ((s->method->internal->version == 0xFEFF) ? 12 : 4);Executed by:
| 0-99 | ||||||||||||||||||||||||
| 1233 | 4); executed 99 times by 2 tests: return ((s->method->internal->version == 0xFEFF) ? 12 : 4);Executed by:
| 99 | ||||||||||||||||||||||||
| 1234 | } | - | ||||||||||||||||||||||||
| 1235 | - | |||||||||||||||||||||||||
| 1236 | int | - | ||||||||||||||||||||||||
| 1237 | ssl3_handshake_msg_start(SSL *s, CBB *handshake, CBB *body, uint8_t msg_type) | - | ||||||||||||||||||||||||
| 1238 | { | - | ||||||||||||||||||||||||
| 1239 | int ret = 0; | - | ||||||||||||||||||||||||
| 1240 | - | |||||||||||||||||||||||||
| 1241 | if (!CBB_init(handshake, 16384)
| 0-579 | ||||||||||||||||||||||||
| 1242 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1243 | if (!CBB_add_u8(handshake, msg_type)
| 0-579 | ||||||||||||||||||||||||
| 1244 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1245 | if ((
| 99-480 | ||||||||||||||||||||||||
| 1246 | unsigned char *data; | - | ||||||||||||||||||||||||
| 1247 | - | |||||||||||||||||||||||||
| 1248 | if (!CBB_add_space(handshake, &data, 12 -
| 0-99 | ||||||||||||||||||||||||
| 1249 | 4)
| 0-99 | ||||||||||||||||||||||||
| 1250 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1251 | } executed 99 times by 2 tests: end of blockExecuted by:
| 99 | ||||||||||||||||||||||||
| 1252 | if (!CBB_add_u24_length_prefixed(handshake, body)
| 0-579 | ||||||||||||||||||||||||
| 1253 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1254 | - | |||||||||||||||||||||||||
| 1255 | ret = 1; | - | ||||||||||||||||||||||||
| 1256 | - | |||||||||||||||||||||||||
| 1257 | err: code before this statement executed 579 times by 4 tests: err:Executed by:
| 579 | ||||||||||||||||||||||||
| 1258 | return executed 579 times by 4 tests: (ret);return (ret);Executed by:
executed 579 times by 4 tests: return (ret);Executed by:
| 579 | ||||||||||||||||||||||||
| 1259 | } | - | ||||||||||||||||||||||||
| 1260 | - | |||||||||||||||||||||||||
| 1261 | int | - | ||||||||||||||||||||||||
| 1262 | ssl3_handshake_msg_finish(SSL *s, CBB *handshake) | - | ||||||||||||||||||||||||
| 1263 | { | - | ||||||||||||||||||||||||
| 1264 | unsigned char *data = | - | ||||||||||||||||||||||||
| 1265 | ((void *)0) | - | ||||||||||||||||||||||||
| 1266 | ; | - | ||||||||||||||||||||||||
| 1267 | size_t outlen; | - | ||||||||||||||||||||||||
| 1268 | int ret = 0; | - | ||||||||||||||||||||||||
| 1269 | - | |||||||||||||||||||||||||
| 1270 | if (!CBB_finish(handshake, &data, &outlen)
| 0-579 | ||||||||||||||||||||||||
| 1271 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1272 | - | |||||||||||||||||||||||||
| 1273 | if (outlen > 0x7fffffff
| 0-579 | ||||||||||||||||||||||||
| 1274 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1275 | - | |||||||||||||||||||||||||
| 1276 | if (!BUF_MEM_grow_clean(s->internal->init_buf, outlen)
| 0-579 | ||||||||||||||||||||||||
| 1277 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1278 | - | |||||||||||||||||||||||||
| 1279 | memcpy(s->internal->init_buf->data, data, outlen); | - | ||||||||||||||||||||||||
| 1280 | - | |||||||||||||||||||||||||
| 1281 | s->internal->init_num = (int)outlen; | - | ||||||||||||||||||||||||
| 1282 | s->internal->init_off = 0; | - | ||||||||||||||||||||||||
| 1283 | - | |||||||||||||||||||||||||
| 1284 | if ((
| 99-480 | ||||||||||||||||||||||||
| 1285 | unsigned long len; | - | ||||||||||||||||||||||||
| 1286 | uint8_t msg_type; | - | ||||||||||||||||||||||||
| 1287 | CBS cbs; | - | ||||||||||||||||||||||||
| 1288 | - | |||||||||||||||||||||||||
| 1289 | CBS_init(&cbs, data, outlen); | - | ||||||||||||||||||||||||
| 1290 | if (!CBS_get_u8(&cbs, &msg_type)
| 0-99 | ||||||||||||||||||||||||
| 1291 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1292 | - | |||||||||||||||||||||||||
| 1293 | len = outlen - ssl3_handshake_msg_hdr_len(s); | - | ||||||||||||||||||||||||
| 1294 | - | |||||||||||||||||||||||||
| 1295 | dtls1_set_message_header(s, msg_type, len, 0, len); | - | ||||||||||||||||||||||||
| 1296 | dtls1_buffer_message(s, 0); | - | ||||||||||||||||||||||||
| 1297 | } executed 99 times by 2 tests: end of blockExecuted by:
| 99 | ||||||||||||||||||||||||
| 1298 | - | |||||||||||||||||||||||||
| 1299 | ret = 1; | - | ||||||||||||||||||||||||
| 1300 | - | |||||||||||||||||||||||||
| 1301 | err: code before this statement executed 579 times by 4 tests: err:Executed by:
| 579 | ||||||||||||||||||||||||
| 1302 | free(data); | - | ||||||||||||||||||||||||
| 1303 | - | |||||||||||||||||||||||||
| 1304 | return executed 579 times by 4 tests: (ret);return (ret);Executed by:
executed 579 times by 4 tests: return (ret);Executed by:
| 579 | ||||||||||||||||||||||||
| 1305 | } | - | ||||||||||||||||||||||||
| 1306 | - | |||||||||||||||||||||||||
| 1307 | int | - | ||||||||||||||||||||||||
| 1308 | ssl3_handshake_write(SSL *s) | - | ||||||||||||||||||||||||
| 1309 | { | - | ||||||||||||||||||||||||
| 1310 | return executed 579 times by 4 tests: ssl3_record_write(s, 22);return ssl3_record_write(s, 22);Executed by:
executed 579 times by 4 tests: return ssl3_record_write(s, 22);Executed by:
| 579 | ||||||||||||||||||||||||
| 1311 | } | - | ||||||||||||||||||||||||
| 1312 | - | |||||||||||||||||||||||||
| 1313 | int | - | ||||||||||||||||||||||||
| 1314 | ssl3_record_write(SSL *s, int type) | - | ||||||||||||||||||||||||
| 1315 | { | - | ||||||||||||||||||||||||
| 1316 | if ((
| 121-584 | ||||||||||||||||||||||||
| 1317 | return executed 121 times by 2 tests: dtls1_do_write(s, type);return dtls1_do_write(s, type);Executed by:
executed 121 times by 2 tests: return dtls1_do_write(s, type);Executed by:
| 121 | ||||||||||||||||||||||||
| 1318 | - | |||||||||||||||||||||||||
| 1319 | return executed 584 times by 4 tests: ssl3_do_write(s, type);return ssl3_do_write(s, type);Executed by:
executed 584 times by 4 tests: return ssl3_do_write(s, type);Executed by:
| 584 | ||||||||||||||||||||||||
| 1320 | } | - | ||||||||||||||||||||||||
| 1321 | - | |||||||||||||||||||||||||
| 1322 | int | - | ||||||||||||||||||||||||
| 1323 | ssl3_new(SSL *s) | - | ||||||||||||||||||||||||
| 1324 | { | - | ||||||||||||||||||||||||
| 1325 | if ((
| 0-202 | ||||||||||||||||||||||||
| 1326 | ((void *)0)
| 0-202 | ||||||||||||||||||||||||
| 1327 | ) | - | ||||||||||||||||||||||||
| 1328 | return never executed: (0);return (0);never executed: return (0); | 0 | ||||||||||||||||||||||||
| 1329 | if (((
| 0-202 | ||||||||||||||||||||||||
| 1330 | ((void *)0)
| 0-202 | ||||||||||||||||||||||||
| 1331 | ) { | - | ||||||||||||||||||||||||
| 1332 | free(s->s3); | - | ||||||||||||||||||||||||
| 1333 | return never executed: (0);return (0);never executed: return (0); | 0 | ||||||||||||||||||||||||
| 1334 | } | - | ||||||||||||||||||||||||
| 1335 | - | |||||||||||||||||||||||||
| 1336 | s->method->internal->ssl_clear(s); | - | ||||||||||||||||||||||||
| 1337 | - | |||||||||||||||||||||||||
| 1338 | return executed 202 times by 11 tests: (1);return (1);Executed by:
executed 202 times by 11 tests: return (1);Executed by:
| 202 | ||||||||||||||||||||||||
| 1339 | } | - | ||||||||||||||||||||||||
| 1340 | - | |||||||||||||||||||||||||
| 1341 | void | - | ||||||||||||||||||||||||
| 1342 | ssl3_free(SSL *s) | - | ||||||||||||||||||||||||
| 1343 | { | - | ||||||||||||||||||||||||
| 1344 | if (s ==
| 0-195 | ||||||||||||||||||||||||
| 1345 | ((void *)0)
| 0-195 | ||||||||||||||||||||||||
| 1346 | ) | - | ||||||||||||||||||||||||
| 1347 | return; never executed: return; | 0 | ||||||||||||||||||||||||
| 1348 | - | |||||||||||||||||||||||||
| 1349 | tls1_cleanup_key_block(s); | - | ||||||||||||||||||||||||
| 1350 | ssl3_release_read_buffer(s); | - | ||||||||||||||||||||||||
| 1351 | ssl3_release_write_buffer(s); | - | ||||||||||||||||||||||||
| 1352 | - | |||||||||||||||||||||||||
| 1353 | DH_free((s->s3->internal)->tmp.dh); | - | ||||||||||||||||||||||||
| 1354 | EC_KEY_free((s->s3->internal)->tmp.ecdh); | - | ||||||||||||||||||||||||
| 1355 | - | |||||||||||||||||||||||||
| 1356 | freezero((s->s3->internal)->tmp.x25519, 32); | - | ||||||||||||||||||||||||
| 1357 | - | |||||||||||||||||||||||||
| 1358 | sk_pop_free(((_STACK*) (1 ? ((s->s3->internal)->tmp.ca_names) : (struct stack_st_X509_NAME*)0)), ((void (*)(void *)) ((1 ? (X509_NAME_free) : (void (*)(X509_NAME *))0)))); | - | ||||||||||||||||||||||||
| 1359 | - | |||||||||||||||||||||||||
| 1360 | BIO_free((s->s3->internal)->handshake_buffer); | - | ||||||||||||||||||||||||
| 1361 | - | |||||||||||||||||||||||||
| 1362 | tls1_handshake_hash_free(s); | - | ||||||||||||||||||||||||
| 1363 | - | |||||||||||||||||||||||||
| 1364 | free((s->s3->internal)->alpn_selected); | - | ||||||||||||||||||||||||
| 1365 | - | |||||||||||||||||||||||||
| 1366 | freezero((s->s3->internal), sizeof(*(s->s3->internal))); | - | ||||||||||||||||||||||||
| 1367 | freezero(s->s3, sizeof(*s->s3)); | - | ||||||||||||||||||||||||
| 1368 | - | |||||||||||||||||||||||||
| 1369 | s->s3 = | - | ||||||||||||||||||||||||
| 1370 | ((void *)0) | - | ||||||||||||||||||||||||
| 1371 | ; | - | ||||||||||||||||||||||||
| 1372 | } executed 195 times by 11 tests: end of blockExecuted by:
| 195 | ||||||||||||||||||||||||
| 1373 | - | |||||||||||||||||||||||||
| 1374 | void | - | ||||||||||||||||||||||||
| 1375 | ssl3_clear(SSL *s) | - | ||||||||||||||||||||||||
| 1376 | { | - | ||||||||||||||||||||||||
| 1377 | struct ssl3_state_internal_st *internal; | - | ||||||||||||||||||||||||
| 1378 | unsigned char *rp, *wp; | - | ||||||||||||||||||||||||
| 1379 | size_t rlen, wlen; | - | ||||||||||||||||||||||||
| 1380 | - | |||||||||||||||||||||||||
| 1381 | tls1_cleanup_key_block(s); | - | ||||||||||||||||||||||||
| 1382 | sk_pop_free(((_STACK*) (1 ? ((s->s3->internal)->tmp.ca_names) : (struct stack_st_X509_NAME*)0)), ((void (*)(void *)) ((1 ? (X509_NAME_free) : (void (*)(X509_NAME *))0)))); | - | ||||||||||||||||||||||||
| 1383 | - | |||||||||||||||||||||||||
| 1384 | DH_free((s->s3->internal)->tmp.dh); | - | ||||||||||||||||||||||||
| 1385 | (s->s3->internal)->tmp.dh = | - | ||||||||||||||||||||||||
| 1386 | ((void *)0) | - | ||||||||||||||||||||||||
| 1387 | ; | - | ||||||||||||||||||||||||
| 1388 | EC_KEY_free((s->s3->internal)->tmp.ecdh); | - | ||||||||||||||||||||||||
| 1389 | (s->s3->internal)->tmp.ecdh = | - | ||||||||||||||||||||||||
| 1390 | ((void *)0) | - | ||||||||||||||||||||||||
| 1391 | ; | - | ||||||||||||||||||||||||
| 1392 | - | |||||||||||||||||||||||||
| 1393 | freezero((s->s3->internal)->tmp.x25519, 32); | - | ||||||||||||||||||||||||
| 1394 | (s->s3->internal)->tmp.x25519 = | - | ||||||||||||||||||||||||
| 1395 | ((void *)0) | - | ||||||||||||||||||||||||
| 1396 | ; | - | ||||||||||||||||||||||||
| 1397 | - | |||||||||||||||||||||||||
| 1398 | rp = s->s3->rbuf.buf; | - | ||||||||||||||||||||||||
| 1399 | wp = s->s3->wbuf.buf; | - | ||||||||||||||||||||||||
| 1400 | rlen = s->s3->rbuf.len; | - | ||||||||||||||||||||||||
| 1401 | wlen = s->s3->wbuf.len; | - | ||||||||||||||||||||||||
| 1402 | - | |||||||||||||||||||||||||
| 1403 | BIO_free((s->s3->internal)->handshake_buffer); | - | ||||||||||||||||||||||||
| 1404 | (s->s3->internal)->handshake_buffer = | - | ||||||||||||||||||||||||
| 1405 | ((void *)0) | - | ||||||||||||||||||||||||
| 1406 | ; | - | ||||||||||||||||||||||||
| 1407 | - | |||||||||||||||||||||||||
| 1408 | tls1_handshake_hash_free(s); | - | ||||||||||||||||||||||||
| 1409 | - | |||||||||||||||||||||||||
| 1410 | free((s->s3->internal)->alpn_selected); | - | ||||||||||||||||||||||||
| 1411 | (s->s3->internal)->alpn_selected = | - | ||||||||||||||||||||||||
| 1412 | ((void *)0) | - | ||||||||||||||||||||||||
| 1413 | ; | - | ||||||||||||||||||||||||
| 1414 | - | |||||||||||||||||||||||||
| 1415 | memset((s->s3->internal), 0, sizeof(*(s->s3->internal))); | - | ||||||||||||||||||||||||
| 1416 | internal = (s->s3->internal); | - | ||||||||||||||||||||||||
| 1417 | memset(s->s3, 0, sizeof(*s->s3)); | - | ||||||||||||||||||||||||
| 1418 | (s->s3->internal) = internal; | - | ||||||||||||||||||||||||
| 1419 | - | |||||||||||||||||||||||||
| 1420 | s->s3->rbuf.buf = rp; | - | ||||||||||||||||||||||||
| 1421 | s->s3->wbuf.buf = wp; | - | ||||||||||||||||||||||||
| 1422 | s->s3->rbuf.len = rlen; | - | ||||||||||||||||||||||||
| 1423 | s->s3->wbuf.len = wlen; | - | ||||||||||||||||||||||||
| 1424 | - | |||||||||||||||||||||||||
| 1425 | ssl_free_wbio_buffer(s); | - | ||||||||||||||||||||||||
| 1426 | - | |||||||||||||||||||||||||
| 1427 | - | |||||||||||||||||||||||||
| 1428 | (s->s3->internal)->renegotiate = 0; | - | ||||||||||||||||||||||||
| 1429 | (s->s3->internal)->total_renegotiations = 0; | - | ||||||||||||||||||||||||
| 1430 | (s->s3->internal)->num_renegotiations = 0; | - | ||||||||||||||||||||||||
| 1431 | (s->s3->internal)->in_read_app_data = 0; | - | ||||||||||||||||||||||||
| 1432 | - | |||||||||||||||||||||||||
| 1433 | s->internal->packet_length = 0; | - | ||||||||||||||||||||||||
| 1434 | s->version = 0x0301; | - | ||||||||||||||||||||||||
| 1435 | } executed 745 times by 11 tests: end of blockExecuted by:
| 745 | ||||||||||||||||||||||||
| 1436 | - | |||||||||||||||||||||||||
| 1437 | static long | - | ||||||||||||||||||||||||
| 1438 | ssl_ctrl_get_server_tmp_key(SSL *s, EVP_PKEY **pkey_tmp) | - | ||||||||||||||||||||||||
| 1439 | { | - | ||||||||||||||||||||||||
| 1440 | EVP_PKEY *pkey = | - | ||||||||||||||||||||||||
| 1441 | ((void *)0) | - | ||||||||||||||||||||||||
| 1442 | ; | - | ||||||||||||||||||||||||
| 1443 | EC_GROUP *group = | - | ||||||||||||||||||||||||
| 1444 | ((void *)0) | - | ||||||||||||||||||||||||
| 1445 | ; | - | ||||||||||||||||||||||||
| 1446 | EC_POINT *point = | - | ||||||||||||||||||||||||
| 1447 | ((void *)0) | - | ||||||||||||||||||||||||
| 1448 | ; | - | ||||||||||||||||||||||||
| 1449 | EC_KEY *ec_key = | - | ||||||||||||||||||||||||
| 1450 | ((void *)0) | - | ||||||||||||||||||||||||
| 1451 | ; | - | ||||||||||||||||||||||||
| 1452 | BIGNUM *order = | - | ||||||||||||||||||||||||
| 1453 | ((void *)0) | - | ||||||||||||||||||||||||
| 1454 | ; | - | ||||||||||||||||||||||||
| 1455 | SESS_CERT *sc; | - | ||||||||||||||||||||||||
| 1456 | int ret = 0; | - | ||||||||||||||||||||||||
| 1457 | - | |||||||||||||||||||||||||
| 1458 | *pkey_tmp = | - | ||||||||||||||||||||||||
| 1459 | ((void *)0) | - | ||||||||||||||||||||||||
| 1460 | ; | - | ||||||||||||||||||||||||
| 1461 | - | |||||||||||||||||||||||||
| 1462 | if (s->server != 0
| 0 | ||||||||||||||||||||||||
| 1463 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1464 | if (s->session ==
| 0 | ||||||||||||||||||||||||
| 1465 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1466 | || (
| 0 | ||||||||||||||||||||||||
| 1467 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1468 | ) | - | ||||||||||||||||||||||||
| 1469 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1470 | - | |||||||||||||||||||||||||
| 1471 | sc = (s->session->internal)->sess_cert; | - | ||||||||||||||||||||||||
| 1472 | - | |||||||||||||||||||||||||
| 1473 | if ((
| 0 | ||||||||||||||||||||||||
| 1474 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1475 | ) | - | ||||||||||||||||||||||||
| 1476 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1477 | - | |||||||||||||||||||||||||
| 1478 | if (sc->peer_dh_tmp !=
| 0 | ||||||||||||||||||||||||
| 1479 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1480 | ) { | - | ||||||||||||||||||||||||
| 1481 | ret = EVP_PKEY_set1_DH(pkey, sc->peer_dh_tmp); | - | ||||||||||||||||||||||||
| 1482 | } never executed: else if (sc->peer_ecdh_tmpend of block
| 0 | ||||||||||||||||||||||||
| 1483 | ret = EVP_PKEY_set1_EC_KEY(pkey, sc->peer_ecdh_tmp); | - | ||||||||||||||||||||||||
| 1484 | } never executed: else if (sc->peer_x25519_tmp != end of block
| 0 | ||||||||||||||||||||||||
| 1485 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1486 | ) { | - | ||||||||||||||||||||||||
| 1487 | - | |||||||||||||||||||||||||
| 1488 | if ((
| 0 | ||||||||||||||||||||||||
| 1489 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1490 | ) | - | ||||||||||||||||||||||||
| 1491 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1492 | if ((
| 0 | ||||||||||||||||||||||||
| 1493 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1494 | ) | - | ||||||||||||||||||||||||
| 1495 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1496 | if ((
| 0 | ||||||||||||||||||||||||
| 1497 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1498 | ) | - | ||||||||||||||||||||||||
| 1499 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1500 | if (!BN_set_bit(order, 252)
| 0 | ||||||||||||||||||||||||
| 1501 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1502 | if (!EC_GROUP_set_generator(group, point, order,
| 0 | ||||||||||||||||||||||||
| 1503 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1504 | )
| 0 | ||||||||||||||||||||||||
| 1505 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1506 | EC_GROUP_set_curve_name(group, 950); | - | ||||||||||||||||||||||||
| 1507 | if ((
| 0 | ||||||||||||||||||||||||
| 1508 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1509 | ) | - | ||||||||||||||||||||||||
| 1510 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1511 | if (!EC_KEY_set_group(ec_key, group)
| 0 | ||||||||||||||||||||||||
| 1512 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 1513 | ret = EVP_PKEY_set1_EC_KEY(pkey, ec_key); | - | ||||||||||||||||||||||||
| 1514 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1515 | - | |||||||||||||||||||||||||
| 1516 | if (ret == 1
| 0 | ||||||||||||||||||||||||
| 1517 | *pkey_tmp = pkey; | - | ||||||||||||||||||||||||
| 1518 | pkey = | - | ||||||||||||||||||||||||
| 1519 | ((void *)0) | - | ||||||||||||||||||||||||
| 1520 | ; | - | ||||||||||||||||||||||||
| 1521 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1522 | - | |||||||||||||||||||||||||
| 1523 | err: code before this statement never executed: err: | 0 | ||||||||||||||||||||||||
| 1524 | EVP_PKEY_free(pkey); | - | ||||||||||||||||||||||||
| 1525 | EC_GROUP_free(group); | - | ||||||||||||||||||||||||
| 1526 | EC_POINT_free(point); | - | ||||||||||||||||||||||||
| 1527 | EC_KEY_free(ec_key); | - | ||||||||||||||||||||||||
| 1528 | BN_free(order); | - | ||||||||||||||||||||||||
| 1529 | - | |||||||||||||||||||||||||
| 1530 | return never executed: (ret);return (ret);never executed: return (ret); | 0 | ||||||||||||||||||||||||
| 1531 | } | - | ||||||||||||||||||||||||
| 1532 | - | |||||||||||||||||||||||||
| 1533 | static int | - | ||||||||||||||||||||||||
| 1534 | _SSL_session_reused(SSL *s) | - | ||||||||||||||||||||||||
| 1535 | { | - | ||||||||||||||||||||||||
| 1536 | return executed 8 times by 1 test: s->internal->hit;return s->internal->hit;Executed by:
executed 8 times by 1 test: return s->internal->hit;Executed by:
| 8 | ||||||||||||||||||||||||
| 1537 | } | - | ||||||||||||||||||||||||
| 1538 | - | |||||||||||||||||||||||||
| 1539 | static int | - | ||||||||||||||||||||||||
| 1540 | _SSL_num_renegotiations(SSL *s) | - | ||||||||||||||||||||||||
| 1541 | { | - | ||||||||||||||||||||||||
| 1542 | return never executed: (s->s3->internal)->num_renegotiations;return (s->s3->internal)->num_renegotiations;never executed: return (s->s3->internal)->num_renegotiations; | 0 | ||||||||||||||||||||||||
| 1543 | } | - | ||||||||||||||||||||||||
| 1544 | - | |||||||||||||||||||||||||
| 1545 | static int | - | ||||||||||||||||||||||||
| 1546 | _SSL_clear_num_renegotiations(SSL *s) | - | ||||||||||||||||||||||||
| 1547 | { | - | ||||||||||||||||||||||||
| 1548 | int renegs; | - | ||||||||||||||||||||||||
| 1549 | - | |||||||||||||||||||||||||
| 1550 | renegs = (s->s3->internal)->num_renegotiations; | - | ||||||||||||||||||||||||
| 1551 | (s->s3->internal)->num_renegotiations = 0; | - | ||||||||||||||||||||||||
| 1552 | - | |||||||||||||||||||||||||
| 1553 | return never executed: renegs;return renegs;never executed: return renegs; | 0 | ||||||||||||||||||||||||
| 1554 | } | - | ||||||||||||||||||||||||
| 1555 | - | |||||||||||||||||||||||||
| 1556 | static int | - | ||||||||||||||||||||||||
| 1557 | _SSL_total_renegotiations(SSL *s) | - | ||||||||||||||||||||||||
| 1558 | { | - | ||||||||||||||||||||||||
| 1559 | return never executed: (s->s3->internal)->total_renegotiations;return (s->s3->internal)->total_renegotiations;never executed: return (s->s3->internal)->total_renegotiations; | 0 | ||||||||||||||||||||||||
| 1560 | } | - | ||||||||||||||||||||||||
| 1561 | - | |||||||||||||||||||||||||
| 1562 | static int | - | ||||||||||||||||||||||||
| 1563 | _SSL_set_tmp_dh(SSL *s, DH *dh) | - | ||||||||||||||||||||||||
| 1564 | { | - | ||||||||||||||||||||||||
| 1565 | DH *dh_tmp; | - | ||||||||||||||||||||||||
| 1566 | - | |||||||||||||||||||||||||
| 1567 | if (!ssl_cert_inst(&s->cert)
| 0 | ||||||||||||||||||||||||
| 1568 | SSL_error_internal(s, (1|64), __FILE__, 1678); | - | ||||||||||||||||||||||||
| 1569 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1570 | } | - | ||||||||||||||||||||||||
| 1571 | - | |||||||||||||||||||||||||
| 1572 | if (dh ==
| 0 | ||||||||||||||||||||||||
| 1573 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1574 | ) { | - | ||||||||||||||||||||||||
| 1575 | SSL_error_internal(s, (3|64), __FILE__, 1683); | - | ||||||||||||||||||||||||
| 1576 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1577 | } | - | ||||||||||||||||||||||||
| 1578 | - | |||||||||||||||||||||||||
| 1579 | if ((
| 0 | ||||||||||||||||||||||||
| 1580 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1581 | ) { | - | ||||||||||||||||||||||||
| 1582 | SSL_error_internal(s, 5, __FILE__, 1688); | - | ||||||||||||||||||||||||
| 1583 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1584 | } | - | ||||||||||||||||||||||||
| 1585 | - | |||||||||||||||||||||||||
| 1586 | DH_free(s->cert->dh_tmp); | - | ||||||||||||||||||||||||
| 1587 | s->cert->dh_tmp = dh_tmp; | - | ||||||||||||||||||||||||
| 1588 | - | |||||||||||||||||||||||||
| 1589 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1590 | } | - | ||||||||||||||||||||||||
| 1591 | - | |||||||||||||||||||||||||
| 1592 | static int | - | ||||||||||||||||||||||||
| 1593 | _SSL_set_dh_auto(SSL *s, int state) | - | ||||||||||||||||||||||||
| 1594 | { | - | ||||||||||||||||||||||||
| 1595 | s->cert->dh_tmp_auto = state; | - | ||||||||||||||||||||||||
| 1596 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1597 | } | - | ||||||||||||||||||||||||
| 1598 | - | |||||||||||||||||||||||||
| 1599 | static int | - | ||||||||||||||||||||||||
| 1600 | _SSL_set_tmp_ecdh(SSL *s, EC_KEY *ecdh) | - | ||||||||||||||||||||||||
| 1601 | { | - | ||||||||||||||||||||||||
| 1602 | const EC_GROUP *group; | - | ||||||||||||||||||||||||
| 1603 | int nid; | - | ||||||||||||||||||||||||
| 1604 | - | |||||||||||||||||||||||||
| 1605 | if (!ssl_cert_inst(&s->cert)
| 0 | ||||||||||||||||||||||||
| 1606 | SSL_error_internal(s, (1|64), __FILE__, 1712); | - | ||||||||||||||||||||||||
| 1607 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1608 | } | - | ||||||||||||||||||||||||
| 1609 | - | |||||||||||||||||||||||||
| 1610 | if (ecdh ==
| 0 | ||||||||||||||||||||||||
| 1611 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1612 | ) | - | ||||||||||||||||||||||||
| 1613 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1614 | if ((
| 0 | ||||||||||||||||||||||||
| 1615 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1616 | ) | - | ||||||||||||||||||||||||
| 1617 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1618 | - | |||||||||||||||||||||||||
| 1619 | nid = EC_GROUP_get_curve_name(group); | - | ||||||||||||||||||||||||
| 1620 | return never executed: SSL_set1_groups(s, &nid, 1);return SSL_set1_groups(s, &nid, 1);never executed: return SSL_set1_groups(s, &nid, 1); | 0 | ||||||||||||||||||||||||
| 1621 | } | - | ||||||||||||||||||||||||
| 1622 | - | |||||||||||||||||||||||||
| 1623 | static int | - | ||||||||||||||||||||||||
| 1624 | _SSL_set_ecdh_auto(SSL *s, int state) | - | ||||||||||||||||||||||||
| 1625 | { | - | ||||||||||||||||||||||||
| 1626 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1627 | } | - | ||||||||||||||||||||||||
| 1628 | - | |||||||||||||||||||||||||
| 1629 | static int | - | ||||||||||||||||||||||||
| 1630 | _SSL_set_tlsext_host_name(SSL *s, const char *name) | - | ||||||||||||||||||||||||
| 1631 | { | - | ||||||||||||||||||||||||
| 1632 | free(s->tlsext_hostname); | - | ||||||||||||||||||||||||
| 1633 | s->tlsext_hostname = | - | ||||||||||||||||||||||||
| 1634 | ((void *)0) | - | ||||||||||||||||||||||||
| 1635 | ; | - | ||||||||||||||||||||||||
| 1636 | - | |||||||||||||||||||||||||
| 1637 | if (name ==
| 0-6 | ||||||||||||||||||||||||
| 1638 | ((void *)0)
| 0-6 | ||||||||||||||||||||||||
| 1639 | ) | - | ||||||||||||||||||||||||
| 1640 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1641 | - | |||||||||||||||||||||||||
| 1642 | if (strlen(name) > 255
| 0-6 | ||||||||||||||||||||||||
| 1643 | SSL_error_internal(s, 319, __FILE__, 1741); | - | ||||||||||||||||||||||||
| 1644 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1645 | } | - | ||||||||||||||||||||||||
| 1646 | - | |||||||||||||||||||||||||
| 1647 | if ((
| 0-6 | ||||||||||||||||||||||||
| 1648 | (__extension__ (__builtin_constant_p (
| 0-6 | ||||||||||||||||||||||||
| 1649 | name
| 0-6 | ||||||||||||||||||||||||
| 1650 | )
| 0-6 | ||||||||||||||||||||||||
| 1651 | name
| 0-6 | ||||||||||||||||||||||||
| 1652 | ) + 1) - (size_t)(const void *)(
| 0-6 | ||||||||||||||||||||||||
| 1653 | name
| 0-6 | ||||||||||||||||||||||||
| 1654 | ) == 1)
| 0-6 | ||||||||||||||||||||||||
| 1655 | name
| 0-6 | ||||||||||||||||||||||||
| 1656 | ))[0] == '\0'
| 0-6 | ||||||||||||||||||||||||
| 1657 | name
| 0-6 | ||||||||||||||||||||||||
| 1658 | ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)
never executed: __retval = (char *) memcpy (__retval, name , __len);
| 0-6 | ||||||||||||||||||||||||
| 1659 | name
never executed: __retval = (char *) memcpy (__retval, name , __len); | 0-6 | ||||||||||||||||||||||||
| 1660 | , __len);
never executed: __retval; })) : __strdup (__retval = (char *) memcpy (__retval, name , __len);
| 0-6 | ||||||||||||||||||||||||
| 1661 | name
| 0-6 | ||||||||||||||||||||||||
| 1662 | )))
| 0-6 | ||||||||||||||||||||||||
| 1663 | ) ==
| 0-6 | ||||||||||||||||||||||||
| 1664 | ((void *)0)
| 0-6 | ||||||||||||||||||||||||
| 1665 | ) { | - | ||||||||||||||||||||||||
| 1666 | SSL_error_internal(s, (4|64), __FILE__, 1746); | - | ||||||||||||||||||||||||
| 1667 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1668 | } | - | ||||||||||||||||||||||||
| 1669 | - | |||||||||||||||||||||||||
| 1670 | return executed 6 times by 2 tests: 1;return 1;Executed by:
executed 6 times by 2 tests: return 1;Executed by:
| 6 | ||||||||||||||||||||||||
| 1671 | } | - | ||||||||||||||||||||||||
| 1672 | - | |||||||||||||||||||||||||
| 1673 | static int | - | ||||||||||||||||||||||||
| 1674 | _SSL_set_tlsext_debug_arg(SSL *s, void *arg) | - | ||||||||||||||||||||||||
| 1675 | { | - | ||||||||||||||||||||||||
| 1676 | s->internal->tlsext_debug_arg = arg; | - | ||||||||||||||||||||||||
| 1677 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1678 | } | - | ||||||||||||||||||||||||
| 1679 | - | |||||||||||||||||||||||||
| 1680 | static int | - | ||||||||||||||||||||||||
| 1681 | _SSL_set_tlsext_status_type(SSL *s, int type) | - | ||||||||||||||||||||||||
| 1682 | { | - | ||||||||||||||||||||||||
| 1683 | s->tlsext_status_type = type; | - | ||||||||||||||||||||||||
| 1684 | return executed 5 times by 2 tests: 1;return 1;Executed by:
executed 5 times by 2 tests: return 1;Executed by:
| 5 | ||||||||||||||||||||||||
| 1685 | } | - | ||||||||||||||||||||||||
| 1686 | - | |||||||||||||||||||||||||
| 1687 | static int | - | ||||||||||||||||||||||||
| 1688 | _SSL_get_tlsext_status_exts(SSL *s, struct stack_st_X509_EXTENSION **exts) | - | ||||||||||||||||||||||||
| 1689 | { | - | ||||||||||||||||||||||||
| 1690 | *exts = s->internal->tlsext_ocsp_exts; | - | ||||||||||||||||||||||||
| 1691 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1692 | } | - | ||||||||||||||||||||||||
| 1693 | - | |||||||||||||||||||||||||
| 1694 | static int | - | ||||||||||||||||||||||||
| 1695 | _SSL_set_tlsext_status_exts(SSL *s, struct stack_st_X509_EXTENSION *exts) | - | ||||||||||||||||||||||||
| 1696 | { | - | ||||||||||||||||||||||||
| 1697 | - | |||||||||||||||||||||||||
| 1698 | s->internal->tlsext_ocsp_exts = exts; | - | ||||||||||||||||||||||||
| 1699 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1700 | } | - | ||||||||||||||||||||||||
| 1701 | - | |||||||||||||||||||||||||
| 1702 | static int | - | ||||||||||||||||||||||||
| 1703 | _SSL_get_tlsext_status_ids(SSL *s, struct stack_st_OCSP_RESPID **ids) | - | ||||||||||||||||||||||||
| 1704 | { | - | ||||||||||||||||||||||||
| 1705 | *ids = s->internal->tlsext_ocsp_ids; | - | ||||||||||||||||||||||||
| 1706 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1707 | } | - | ||||||||||||||||||||||||
| 1708 | - | |||||||||||||||||||||||||
| 1709 | static int | - | ||||||||||||||||||||||||
| 1710 | _SSL_set_tlsext_status_ids(SSL *s, struct stack_st_OCSP_RESPID *ids) | - | ||||||||||||||||||||||||
| 1711 | { | - | ||||||||||||||||||||||||
| 1712 | - | |||||||||||||||||||||||||
| 1713 | s->internal->tlsext_ocsp_ids = ids; | - | ||||||||||||||||||||||||
| 1714 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1715 | } | - | ||||||||||||||||||||||||
| 1716 | - | |||||||||||||||||||||||||
| 1717 | static int | - | ||||||||||||||||||||||||
| 1718 | _SSL_get_tlsext_status_ocsp_resp(SSL *s, unsigned char **resp) | - | ||||||||||||||||||||||||
| 1719 | { | - | ||||||||||||||||||||||||
| 1720 | *resp = s->internal->tlsext_ocsp_resp; | - | ||||||||||||||||||||||||
| 1721 | return executed 4 times by 1 test: s->internal->tlsext_ocsp_resplen;return s->internal->tlsext_ocsp_resplen;Executed by:
executed 4 times by 1 test: return s->internal->tlsext_ocsp_resplen;Executed by:
| 4 | ||||||||||||||||||||||||
| 1722 | } | - | ||||||||||||||||||||||||
| 1723 | - | |||||||||||||||||||||||||
| 1724 | static int | - | ||||||||||||||||||||||||
| 1725 | _SSL_set_tlsext_status_ocsp_resp(SSL *s, unsigned char *resp, int resp_len) | - | ||||||||||||||||||||||||
| 1726 | { | - | ||||||||||||||||||||||||
| 1727 | free(s->internal->tlsext_ocsp_resp); | - | ||||||||||||||||||||||||
| 1728 | s->internal->tlsext_ocsp_resp = resp; | - | ||||||||||||||||||||||||
| 1729 | s->internal->tlsext_ocsp_resplen = resp_len; | - | ||||||||||||||||||||||||
| 1730 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1731 | } | - | ||||||||||||||||||||||||
| 1732 | - | |||||||||||||||||||||||||
| 1733 | int | - | ||||||||||||||||||||||||
| 1734 | SSL_set1_groups(SSL *s, const int *groups, size_t groups_len) | - | ||||||||||||||||||||||||
| 1735 | { | - | ||||||||||||||||||||||||
| 1736 | return never executed: tls1_set_groups(&s->internal->tlsext_supportedgroups,return tls1_set_groups(&s->internal->tlsext_supportedgroups, &s->internal->tlsext_supportedgroups_length, groups, groups_len);never executed: return tls1_set_groups(&s->internal->tlsext_supportedgroups, &s->internal->tlsext_supportedgroups_length, groups, groups_len); | 0 | ||||||||||||||||||||||||
| 1737 | &s->internal->tlsext_supportedgroups_length, groups, groups_len); never executed: return tls1_set_groups(&s->internal->tlsext_supportedgroups, &s->internal->tlsext_supportedgroups_length, groups, groups_len); | 0 | ||||||||||||||||||||||||
| 1738 | } | - | ||||||||||||||||||||||||
| 1739 | - | |||||||||||||||||||||||||
| 1740 | int | - | ||||||||||||||||||||||||
| 1741 | SSL_set1_groups_list(SSL *s, const char *groups) | - | ||||||||||||||||||||||||
| 1742 | { | - | ||||||||||||||||||||||||
| 1743 | return never executed: tls1_set_groups_list(&s->internal->tlsext_supportedgroups,return tls1_set_groups_list(&s->internal->tlsext_supportedgroups, &s->internal->tlsext_supportedgroups_length, groups);never executed: return tls1_set_groups_list(&s->internal->tlsext_supportedgroups, &s->internal->tlsext_supportedgroups_length, groups); | 0 | ||||||||||||||||||||||||
| 1744 | &s->internal->tlsext_supportedgroups_length, groups); never executed: return tls1_set_groups_list(&s->internal->tlsext_supportedgroups, &s->internal->tlsext_supportedgroups_length, groups); | 0 | ||||||||||||||||||||||||
| 1745 | } | - | ||||||||||||||||||||||||
| 1746 | - | |||||||||||||||||||||||||
| 1747 | long | - | ||||||||||||||||||||||||
| 1748 | ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) | - | ||||||||||||||||||||||||
| 1749 | { | - | ||||||||||||||||||||||||
| 1750 | switch (cmd) { | - | ||||||||||||||||||||||||
| 1751 | case executed 8 times by 1 test: 8:case 8:Executed by:
executed 8 times by 1 test: case 8:Executed by:
| 8 | ||||||||||||||||||||||||
| 1752 | return executed 8 times by 1 test: _SSL_session_reused(s);return _SSL_session_reused(s);Executed by:
executed 8 times by 1 test: return _SSL_session_reused(s);Executed by:
| 8 | ||||||||||||||||||||||||
| 1753 | - | |||||||||||||||||||||||||
| 1754 | case never executed: 10:case 10:never executed: case 10: | 0 | ||||||||||||||||||||||||
| 1755 | return never executed: _SSL_num_renegotiations(s);return _SSL_num_renegotiations(s);never executed: return _SSL_num_renegotiations(s); | 0 | ||||||||||||||||||||||||
| 1756 | - | |||||||||||||||||||||||||
| 1757 | case never executed: 11:case 11:never executed: case 11: | 0 | ||||||||||||||||||||||||
| 1758 | return never executed: _SSL_clear_num_renegotiations(s);return _SSL_clear_num_renegotiations(s);never executed: return _SSL_clear_num_renegotiations(s); | 0 | ||||||||||||||||||||||||
| 1759 | - | |||||||||||||||||||||||||
| 1760 | case never executed: 12:case 12:never executed: case 12: | 0 | ||||||||||||||||||||||||
| 1761 | return never executed: _SSL_total_renegotiations(s);return _SSL_total_renegotiations(s);never executed: return _SSL_total_renegotiations(s); | 0 | ||||||||||||||||||||||||
| 1762 | - | |||||||||||||||||||||||||
| 1763 | case never executed: 3:case 3:never executed: case 3: | 0 | ||||||||||||||||||||||||
| 1764 | return never executed: _SSL_set_tmp_dh(s, parg);return _SSL_set_tmp_dh(s, parg);never executed: return _SSL_set_tmp_dh(s, parg); | 0 | ||||||||||||||||||||||||
| 1765 | - | |||||||||||||||||||||||||
| 1766 | case never executed: 6:case 6:never executed: case 6: | 0 | ||||||||||||||||||||||||
| 1767 | SSL_error_internal(s, (2|64), __FILE__, 1847); | - | ||||||||||||||||||||||||
| 1768 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1769 | - | |||||||||||||||||||||||||
| 1770 | case never executed: 118:case 118:never executed: case 118: | 0 | ||||||||||||||||||||||||
| 1771 | return never executed: _SSL_set_dh_auto(s, larg);return _SSL_set_dh_auto(s, larg);never executed: return _SSL_set_dh_auto(s, larg); | 0 | ||||||||||||||||||||||||
| 1772 | - | |||||||||||||||||||||||||
| 1773 | case never executed: 4:case 4:never executed: case 4: | 0 | ||||||||||||||||||||||||
| 1774 | return never executed: _SSL_set_tmp_ecdh(s, parg);return _SSL_set_tmp_ecdh(s, parg);never executed: return _SSL_set_tmp_ecdh(s, parg); | 0 | ||||||||||||||||||||||||
| 1775 | - | |||||||||||||||||||||||||
| 1776 | case never executed: 7:case 7:never executed: case 7: | 0 | ||||||||||||||||||||||||
| 1777 | SSL_error_internal(s, (2|64), __FILE__, 1857); | - | ||||||||||||||||||||||||
| 1778 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1779 | - | |||||||||||||||||||||||||
| 1780 | case never executed: 94:case 94:never executed: case 94: | 0 | ||||||||||||||||||||||||
| 1781 | return never executed: _SSL_set_ecdh_auto(s, larg);return _SSL_set_ecdh_auto(s, larg);never executed: return _SSL_set_ecdh_auto(s, larg); | 0 | ||||||||||||||||||||||||
| 1782 | - | |||||||||||||||||||||||||
| 1783 | case executed 6 times by 2 tests: 55:case 55:Executed by:
executed 6 times by 2 tests: case 55:Executed by:
| 6 | ||||||||||||||||||||||||
| 1784 | if (larg != 0
| 0-6 | ||||||||||||||||||||||||
| 1785 | SSL_error_internal(s, 320, __FILE__, 1865); | - | ||||||||||||||||||||||||
| 1786 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1787 | } | - | ||||||||||||||||||||||||
| 1788 | return executed 6 times by 2 tests: _SSL_set_tlsext_host_name(s, parg);return _SSL_set_tlsext_host_name(s, parg);Executed by:
executed 6 times by 2 tests: return _SSL_set_tlsext_host_name(s, parg);Executed by:
| 6 | ||||||||||||||||||||||||
| 1789 | - | |||||||||||||||||||||||||
| 1790 | case never executed: 57:case 57:never executed: case 57: | 0 | ||||||||||||||||||||||||
| 1791 | return never executed: _SSL_set_tlsext_debug_arg(s, parg);return _SSL_set_tlsext_debug_arg(s, parg);never executed: return _SSL_set_tlsext_debug_arg(s, parg); | 0 | ||||||||||||||||||||||||
| 1792 | - | |||||||||||||||||||||||||
| 1793 | case executed 5 times by 2 tests: 65:case 65:Executed by:
executed 5 times by 2 tests: case 65:Executed by:
| 5 | ||||||||||||||||||||||||
| 1794 | return executed 5 times by 2 tests: _SSL_set_tlsext_status_type(s, larg);return _SSL_set_tlsext_status_type(s, larg);Executed by:
executed 5 times by 2 tests: return _SSL_set_tlsext_status_type(s, larg);Executed by:
| 5 | ||||||||||||||||||||||||
| 1795 | - | |||||||||||||||||||||||||
| 1796 | case never executed: 66:case 66:never executed: case 66: | 0 | ||||||||||||||||||||||||
| 1797 | return never executed: _SSL_get_tlsext_status_exts(s, parg);return _SSL_get_tlsext_status_exts(s, parg);never executed: return _SSL_get_tlsext_status_exts(s, parg); | 0 | ||||||||||||||||||||||||
| 1798 | - | |||||||||||||||||||||||||
| 1799 | case never executed: 67:case 67:never executed: case 67: | 0 | ||||||||||||||||||||||||
| 1800 | return never executed: _SSL_set_tlsext_status_exts(s, parg);return _SSL_set_tlsext_status_exts(s, parg);never executed: return _SSL_set_tlsext_status_exts(s, parg); | 0 | ||||||||||||||||||||||||
| 1801 | - | |||||||||||||||||||||||||
| 1802 | case never executed: 68:case 68:never executed: case 68: | 0 | ||||||||||||||||||||||||
| 1803 | return never executed: _SSL_get_tlsext_status_ids(s, parg);return _SSL_get_tlsext_status_ids(s, parg);never executed: return _SSL_get_tlsext_status_ids(s, parg); | 0 | ||||||||||||||||||||||||
| 1804 | - | |||||||||||||||||||||||||
| 1805 | case never executed: 69:case 69:never executed: case 69: | 0 | ||||||||||||||||||||||||
| 1806 | return never executed: _SSL_set_tlsext_status_ids(s, parg);return _SSL_set_tlsext_status_ids(s, parg);never executed: return _SSL_set_tlsext_status_ids(s, parg); | 0 | ||||||||||||||||||||||||
| 1807 | - | |||||||||||||||||||||||||
| 1808 | case executed 4 times by 1 test: 70:case 70:Executed by:
executed 4 times by 1 test: case 70:Executed by:
| 4 | ||||||||||||||||||||||||
| 1809 | return executed 4 times by 1 test: _SSL_get_tlsext_status_ocsp_resp(s, parg);return _SSL_get_tlsext_status_ocsp_resp(s, parg);Executed by:
executed 4 times by 1 test: return _SSL_get_tlsext_status_ocsp_resp(s, parg);Executed by:
| 4 | ||||||||||||||||||||||||
| 1810 | - | |||||||||||||||||||||||||
| 1811 | case never executed: 71:case 71:never executed: case 71: | 0 | ||||||||||||||||||||||||
| 1812 | return never executed: _SSL_set_tlsext_status_ocsp_resp(s, parg, larg);return _SSL_set_tlsext_status_ocsp_resp(s, parg, larg);never executed: return _SSL_set_tlsext_status_ocsp_resp(s, parg, larg); | 0 | ||||||||||||||||||||||||
| 1813 | - | |||||||||||||||||||||||||
| 1814 | case never executed: 91:case 91:never executed: case 91: | 0 | ||||||||||||||||||||||||
| 1815 | return never executed: SSL_set1_groups(s, parg, larg);return SSL_set1_groups(s, parg, larg);never executed: return SSL_set1_groups(s, parg, larg); | 0 | ||||||||||||||||||||||||
| 1816 | - | |||||||||||||||||||||||||
| 1817 | case never executed: 92:case 92:never executed: case 92: | 0 | ||||||||||||||||||||||||
| 1818 | return never executed: SSL_set1_groups_list(s, parg);return SSL_set1_groups_list(s, parg);never executed: return SSL_set1_groups_list(s, parg); | 0 | ||||||||||||||||||||||||
| 1819 | - | |||||||||||||||||||||||||
| 1820 | case never executed: 109:case 109:never executed: case 109: | 0 | ||||||||||||||||||||||||
| 1821 | return never executed: ssl_ctrl_get_server_tmp_key(s, parg);return ssl_ctrl_get_server_tmp_key(s, parg);never executed: return ssl_ctrl_get_server_tmp_key(s, parg); | 0 | ||||||||||||||||||||||||
| 1822 | - | |||||||||||||||||||||||||
| 1823 | case never executed: 130:case 130:never executed: case 130: | 0 | ||||||||||||||||||||||||
| 1824 | return never executed: SSL_get_min_proto_version(s);return SSL_get_min_proto_version(s);never executed: return SSL_get_min_proto_version(s); | 0 | ||||||||||||||||||||||||
| 1825 | - | |||||||||||||||||||||||||
| 1826 | case never executed: 131:case 131:never executed: case 131: | 0 | ||||||||||||||||||||||||
| 1827 | return never executed: SSL_get_max_proto_version(s);return SSL_get_max_proto_version(s);never executed: return SSL_get_max_proto_version(s); | 0 | ||||||||||||||||||||||||
| 1828 | - | |||||||||||||||||||||||||
| 1829 | case never executed: 123:case 123:never executed: case 123: | 0 | ||||||||||||||||||||||||
| 1830 | if (larg < 0
| 0 | ||||||||||||||||||||||||
| 1831 | (65535)
| 0 | ||||||||||||||||||||||||
| 1832 | ) | - | ||||||||||||||||||||||||
| 1833 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1834 | return never executed: SSL_set_min_proto_version(s, larg);return SSL_set_min_proto_version(s, larg);never executed: return SSL_set_min_proto_version(s, larg); | 0 | ||||||||||||||||||||||||
| 1835 | - | |||||||||||||||||||||||||
| 1836 | case never executed: 124:case 124:never executed: case 124: | 0 | ||||||||||||||||||||||||
| 1837 | if (larg < 0
| 0 | ||||||||||||||||||||||||
| 1838 | (65535)
| 0 | ||||||||||||||||||||||||
| 1839 | ) | - | ||||||||||||||||||||||||
| 1840 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1841 | return never executed: SSL_set_max_proto_version(s, larg);return SSL_set_max_proto_version(s, larg);never executed: return SSL_set_max_proto_version(s, larg); | 0 | ||||||||||||||||||||||||
| 1842 | - | |||||||||||||||||||||||||
| 1843 | - | |||||||||||||||||||||||||
| 1844 | - | |||||||||||||||||||||||||
| 1845 | - | |||||||||||||||||||||||||
| 1846 | case never executed: 9:case 9:never executed: case 9: | 0 | ||||||||||||||||||||||||
| 1847 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1848 | - | |||||||||||||||||||||||||
| 1849 | case never executed: 13:case 13:never executed: case 13: | 0 | ||||||||||||||||||||||||
| 1850 | return never executed: (int)(s->s3->flags);return (int)(s->s3->flags);never executed: return (int)(s->s3->flags); | 0 | ||||||||||||||||||||||||
| 1851 | - | |||||||||||||||||||||||||
| 1852 | case never executed: 1:case 1:never executed: case 1: | 0 | ||||||||||||||||||||||||
| 1853 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1854 | - | |||||||||||||||||||||||||
| 1855 | case never executed: 2:case 2:never executed: case 2: | 0 | ||||||||||||||||||||||||
| 1856 | case never executed: 5:case 5:never executed: case 5: | 0 | ||||||||||||||||||||||||
| 1857 | SSL_error_internal(s, (2|64), __FILE__, 1933); | - | ||||||||||||||||||||||||
| 1858 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1859 | } | - | ||||||||||||||||||||||||
| 1860 | - | |||||||||||||||||||||||||
| 1861 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1862 | } | - | ||||||||||||||||||||||||
| 1863 | - | |||||||||||||||||||||||||
| 1864 | long | - | ||||||||||||||||||||||||
| 1865 | ssl3_callback_ctrl(SSL *s, int cmd, void (*fp)(void)) | - | ||||||||||||||||||||||||
| 1866 | { | - | ||||||||||||||||||||||||
| 1867 | if (cmd == 6
| 0 | ||||||||||||||||||||||||
| 1868 | if (!ssl_cert_inst(&s->cert)
| 0 | ||||||||||||||||||||||||
| 1869 | SSL_error_internal(s, (1|64), __FILE__, 1945); | - | ||||||||||||||||||||||||
| 1870 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1871 | } | - | ||||||||||||||||||||||||
| 1872 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1873 | - | |||||||||||||||||||||||||
| 1874 | switch (cmd) { | - | ||||||||||||||||||||||||
| 1875 | case never executed: 5:case 5:never executed: case 5: | 0 | ||||||||||||||||||||||||
| 1876 | SSL_error_internal(s, (2|64), __FILE__, 1952); | - | ||||||||||||||||||||||||
| 1877 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1878 | - | |||||||||||||||||||||||||
| 1879 | case never executed: 6:case 6:never executed: case 6: | 0 | ||||||||||||||||||||||||
| 1880 | s->cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp; | - | ||||||||||||||||||||||||
| 1881 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1882 | - | |||||||||||||||||||||||||
| 1883 | case never executed: 7:case 7:never executed: case 7: | 0 | ||||||||||||||||||||||||
| 1884 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1885 | - | |||||||||||||||||||||||||
| 1886 | case never executed: 56:case 56:never executed: case 56: | 0 | ||||||||||||||||||||||||
| 1887 | s->internal->tlsext_debug_cb = (void (*)(SSL *, int , int, | - | ||||||||||||||||||||||||
| 1888 | unsigned char *, int, void *))fp; | - | ||||||||||||||||||||||||
| 1889 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1890 | } | - | ||||||||||||||||||||||||
| 1891 | - | |||||||||||||||||||||||||
| 1892 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1893 | } | - | ||||||||||||||||||||||||
| 1894 | - | |||||||||||||||||||||||||
| 1895 | static int | - | ||||||||||||||||||||||||
| 1896 | _SSL_CTX_set_tmp_dh(SSL_CTX *ctx, DH *dh) | - | ||||||||||||||||||||||||
| 1897 | { | - | ||||||||||||||||||||||||
| 1898 | DH *dh_tmp; | - | ||||||||||||||||||||||||
| 1899 | - | |||||||||||||||||||||||||
| 1900 | if ((
| 0-49 | ||||||||||||||||||||||||
| 1901 | ((void *)0)
| 0-49 | ||||||||||||||||||||||||
| 1902 | ) { | - | ||||||||||||||||||||||||
| 1903 | ERR_put_error(20,(0xfff),(5),__FILE__,1977); | - | ||||||||||||||||||||||||
| 1904 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1905 | } | - | ||||||||||||||||||||||||
| 1906 | - | |||||||||||||||||||||||||
| 1907 | DH_free(ctx->internal->cert->dh_tmp); | - | ||||||||||||||||||||||||
| 1908 | ctx->internal->cert->dh_tmp = dh_tmp; | - | ||||||||||||||||||||||||
| 1909 | - | |||||||||||||||||||||||||
| 1910 | return executed 49 times by 1 test: 1;return 1;Executed by:
executed 49 times by 1 test: return 1;Executed by:
| 49 | ||||||||||||||||||||||||
| 1911 | } | - | ||||||||||||||||||||||||
| 1912 | - | |||||||||||||||||||||||||
| 1913 | static int | - | ||||||||||||||||||||||||
| 1914 | _SSL_CTX_set_dh_auto(SSL_CTX *ctx, int state) | - | ||||||||||||||||||||||||
| 1915 | { | - | ||||||||||||||||||||||||
| 1916 | ctx->internal->cert->dh_tmp_auto = state; | - | ||||||||||||||||||||||||
| 1917 | return executed 2 times by 1 test: 1;return 1;Executed by:
executed 2 times by 1 test: return 1;Executed by:
| 2 | ||||||||||||||||||||||||
| 1918 | } | - | ||||||||||||||||||||||||
| 1919 | - | |||||||||||||||||||||||||
| 1920 | static int | - | ||||||||||||||||||||||||
| 1921 | _SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, EC_KEY *ecdh) | - | ||||||||||||||||||||||||
| 1922 | { | - | ||||||||||||||||||||||||
| 1923 | const EC_GROUP *group; | - | ||||||||||||||||||||||||
| 1924 | int nid; | - | ||||||||||||||||||||||||
| 1925 | - | |||||||||||||||||||||||||
| 1926 | if (ecdh ==
| 0-49 | ||||||||||||||||||||||||
| 1927 | ((void *)0)
| 0-49 | ||||||||||||||||||||||||
| 1928 | ) | - | ||||||||||||||||||||||||
| 1929 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1930 | if ((
| 0-49 | ||||||||||||||||||||||||
| 1931 | ((void *)0)
| 0-49 | ||||||||||||||||||||||||
| 1932 | ) | - | ||||||||||||||||||||||||
| 1933 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1934 | - | |||||||||||||||||||||||||
| 1935 | nid = EC_GROUP_get_curve_name(group); | - | ||||||||||||||||||||||||
| 1936 | return executed 49 times by 1 test: SSL_CTX_set1_groups(ctx, &nid, 1);return SSL_CTX_set1_groups(ctx, &nid, 1);Executed by:
executed 49 times by 1 test: return SSL_CTX_set1_groups(ctx, &nid, 1);Executed by:
| 49 | ||||||||||||||||||||||||
| 1937 | } | - | ||||||||||||||||||||||||
| 1938 | - | |||||||||||||||||||||||||
| 1939 | static int | - | ||||||||||||||||||||||||
| 1940 | _SSL_CTX_set_ecdh_auto(SSL_CTX *ctx, int state) | - | ||||||||||||||||||||||||
| 1941 | { | - | ||||||||||||||||||||||||
| 1942 | return executed 6 times by 2 tests: 1;return 1;Executed by:
executed 6 times by 2 tests: return 1;Executed by:
| 6 | ||||||||||||||||||||||||
| 1943 | } | - | ||||||||||||||||||||||||
| 1944 | - | |||||||||||||||||||||||||
| 1945 | static int | - | ||||||||||||||||||||||||
| 1946 | _SSL_CTX_set_tlsext_servername_arg(SSL_CTX *ctx, void *arg) | - | ||||||||||||||||||||||||
| 1947 | { | - | ||||||||||||||||||||||||
| 1948 | ctx->internal->tlsext_servername_arg = arg; | - | ||||||||||||||||||||||||
| 1949 | return executed 4 times by 1 test: 1;return 1;Executed by:
executed 4 times by 1 test: return 1;Executed by:
| 4 | ||||||||||||||||||||||||
| 1950 | } | - | ||||||||||||||||||||||||
| 1951 | - | |||||||||||||||||||||||||
| 1952 | static int | - | ||||||||||||||||||||||||
| 1953 | _SSL_CTX_get_tlsext_ticket_keys(SSL_CTX *ctx, unsigned char *keys, int keys_len) | - | ||||||||||||||||||||||||
| 1954 | { | - | ||||||||||||||||||||||||
| 1955 | if (keys ==
| 0 | ||||||||||||||||||||||||
| 1956 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1957 | ) | - | ||||||||||||||||||||||||
| 1958 | return never executed: 48;return 48;never executed: return 48; | 0 | ||||||||||||||||||||||||
| 1959 | - | |||||||||||||||||||||||||
| 1960 | if (keys_len != 48
| 0 | ||||||||||||||||||||||||
| 1961 | ERR_put_error(20,(0xfff),(325),__FILE__,2029); | - | ||||||||||||||||||||||||
| 1962 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1963 | } | - | ||||||||||||||||||||||||
| 1964 | - | |||||||||||||||||||||||||
| 1965 | memcpy(keys, ctx->internal->tlsext_tick_key_name, 16); | - | ||||||||||||||||||||||||
| 1966 | memcpy(keys + 16, ctx->internal->tlsext_tick_hmac_key, 16); | - | ||||||||||||||||||||||||
| 1967 | memcpy(keys + 32, ctx->internal->tlsext_tick_aes_key, 16); | - | ||||||||||||||||||||||||
| 1968 | - | |||||||||||||||||||||||||
| 1969 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1970 | } | - | ||||||||||||||||||||||||
| 1971 | - | |||||||||||||||||||||||||
| 1972 | static int | - | ||||||||||||||||||||||||
| 1973 | _SSL_CTX_set_tlsext_ticket_keys(SSL_CTX *ctx, unsigned char *keys, int keys_len) | - | ||||||||||||||||||||||||
| 1974 | { | - | ||||||||||||||||||||||||
| 1975 | if (keys ==
| 0 | ||||||||||||||||||||||||
| 1976 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 1977 | ) | - | ||||||||||||||||||||||||
| 1978 | return never executed: 48;return 48;never executed: return 48; | 0 | ||||||||||||||||||||||||
| 1979 | - | |||||||||||||||||||||||||
| 1980 | if (keys_len != 48
| 0 | ||||||||||||||||||||||||
| 1981 | ERR_put_error(20,(0xfff),(325),__FILE__,2047); | - | ||||||||||||||||||||||||
| 1982 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 1983 | } | - | ||||||||||||||||||||||||
| 1984 | - | |||||||||||||||||||||||||
| 1985 | memcpy(ctx->internal->tlsext_tick_key_name, keys, 16); | - | ||||||||||||||||||||||||
| 1986 | memcpy(ctx->internal->tlsext_tick_hmac_key, keys + 16, 16); | - | ||||||||||||||||||||||||
| 1987 | memcpy(ctx->internal->tlsext_tick_aes_key, keys + 32, 16); | - | ||||||||||||||||||||||||
| 1988 | - | |||||||||||||||||||||||||
| 1989 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1990 | } | - | ||||||||||||||||||||||||
| 1991 | - | |||||||||||||||||||||||||
| 1992 | static int | - | ||||||||||||||||||||||||
| 1993 | _SSL_CTX_get_tlsext_status_arg(SSL_CTX *ctx, void **arg) | - | ||||||||||||||||||||||||
| 1994 | { | - | ||||||||||||||||||||||||
| 1995 | *arg = ctx->internal->tlsext_status_arg; | - | ||||||||||||||||||||||||
| 1996 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 1997 | } | - | ||||||||||||||||||||||||
| 1998 | - | |||||||||||||||||||||||||
| 1999 | static int | - | ||||||||||||||||||||||||
| 2000 | _SSL_CTX_set_tlsext_status_arg(SSL_CTX *ctx, void *arg) | - | ||||||||||||||||||||||||
| 2001 | { | - | ||||||||||||||||||||||||
| 2002 | ctx->internal->tlsext_status_arg = arg; | - | ||||||||||||||||||||||||
| 2003 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2004 | } | - | ||||||||||||||||||||||||
| 2005 | - | |||||||||||||||||||||||||
| 2006 | static int | - | ||||||||||||||||||||||||
| 2007 | _SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *cert) | - | ||||||||||||||||||||||||
| 2008 | { | - | ||||||||||||||||||||||||
| 2009 | if (ctx->extra_certs ==
| 0 | ||||||||||||||||||||||||
| 2010 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 2011 | ) { | - | ||||||||||||||||||||||||
| 2012 | if ((
| 0 | ||||||||||||||||||||||||
| 2013 | ((void *)0)
| 0 | ||||||||||||||||||||||||
| 2014 | ) | - | ||||||||||||||||||||||||
| 2015 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2016 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 2017 | if (sk_push(((_STACK*) (1 ? (ctx->extra_certs) : (struct stack_st_X509*)0)), ((void*) (1 ? (cert) : (X509*)0))) == 0
| 0 | ||||||||||||||||||||||||
| 2018 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2019 | - | |||||||||||||||||||||||||
| 2020 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2021 | } | - | ||||||||||||||||||||||||
| 2022 | - | |||||||||||||||||||||||||
| 2023 | static int | - | ||||||||||||||||||||||||
| 2024 | _SSL_CTX_get_extra_chain_certs(SSL_CTX *ctx, struct stack_st_X509 **certs) | - | ||||||||||||||||||||||||
| 2025 | { | - | ||||||||||||||||||||||||
| 2026 | *certs = ctx->extra_certs; | - | ||||||||||||||||||||||||
| 2027 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2028 | } | - | ||||||||||||||||||||||||
| 2029 | - | |||||||||||||||||||||||||
| 2030 | static int | - | ||||||||||||||||||||||||
| 2031 | _SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx) | - | ||||||||||||||||||||||||
| 2032 | { | - | ||||||||||||||||||||||||
| 2033 | sk_pop_free(((_STACK*) (1 ? (ctx->extra_certs) : (struct stack_st_X509*)0)), ((void (*)(void *)) ((1 ? (X509_free) : (void (*)(X509 *))0)))); | - | ||||||||||||||||||||||||
| 2034 | ctx->extra_certs = | - | ||||||||||||||||||||||||
| 2035 | ((void *)0) | - | ||||||||||||||||||||||||
| 2036 | ; | - | ||||||||||||||||||||||||
| 2037 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2038 | } | - | ||||||||||||||||||||||||
| 2039 | - | |||||||||||||||||||||||||
| 2040 | int | - | ||||||||||||||||||||||||
| 2041 | SSL_CTX_set1_groups(SSL_CTX *ctx, const int *groups, size_t groups_len) | - | ||||||||||||||||||||||||
| 2042 | { | - | ||||||||||||||||||||||||
| 2043 | return executed 57 times by 2 tests: tls1_set_groups(&ctx->internal->tlsext_supportedgroups,return tls1_set_groups(&ctx->internal->tlsext_supportedgroups, &ctx->internal->tlsext_supportedgroups_length, groups, groups_len);Executed by:
executed 57 times by 2 tests: return tls1_set_groups(&ctx->internal->tlsext_supportedgroups, &ctx->internal->tlsext_supportedgroups_length, groups, groups_len);Executed by:
| 57 | ||||||||||||||||||||||||
| 2044 | &ctx->internal->tlsext_supportedgroups_length, groups, groups_len); executed 57 times by 2 tests: return tls1_set_groups(&ctx->internal->tlsext_supportedgroups, &ctx->internal->tlsext_supportedgroups_length, groups, groups_len);Executed by:
| 57 | ||||||||||||||||||||||||
| 2045 | } | - | ||||||||||||||||||||||||
| 2046 | - | |||||||||||||||||||||||||
| 2047 | int | - | ||||||||||||||||||||||||
| 2048 | SSL_CTX_set1_groups_list(SSL_CTX *ctx, const char *groups) | - | ||||||||||||||||||||||||
| 2049 | { | - | ||||||||||||||||||||||||
| 2050 | return never executed: tls1_set_groups_list(&ctx->internal->tlsext_supportedgroups,return tls1_set_groups_list(&ctx->internal->tlsext_supportedgroups, &ctx->internal->tlsext_supportedgroups_length, groups);never executed: return tls1_set_groups_list(&ctx->internal->tlsext_supportedgroups, &ctx->internal->tlsext_supportedgroups_length, groups); | 0 | ||||||||||||||||||||||||
| 2051 | &ctx->internal->tlsext_supportedgroups_length, groups); never executed: return tls1_set_groups_list(&ctx->internal->tlsext_supportedgroups, &ctx->internal->tlsext_supportedgroups_length, groups); | 0 | ||||||||||||||||||||||||
| 2052 | } | - | ||||||||||||||||||||||||
| 2053 | - | |||||||||||||||||||||||||
| 2054 | long | - | ||||||||||||||||||||||||
| 2055 | ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) | - | ||||||||||||||||||||||||
| 2056 | { | - | ||||||||||||||||||||||||
| 2057 | switch (cmd) { | - | ||||||||||||||||||||||||
| 2058 | case executed 49 times by 1 test: 3:case 3:Executed by:
executed 49 times by 1 test: case 3:Executed by:
| 49 | ||||||||||||||||||||||||
| 2059 | return executed 49 times by 1 test: _SSL_CTX_set_tmp_dh(ctx, parg);return _SSL_CTX_set_tmp_dh(ctx, parg);Executed by:
executed 49 times by 1 test: return _SSL_CTX_set_tmp_dh(ctx, parg);Executed by:
| 49 | ||||||||||||||||||||||||
| 2060 | - | |||||||||||||||||||||||||
| 2061 | case never executed: 6:case 6:never executed: case 6: | 0 | ||||||||||||||||||||||||
| 2062 | ERR_put_error(20,(0xfff),((2|64)),__FILE__,2122); | - | ||||||||||||||||||||||||
| 2063 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2064 | - | |||||||||||||||||||||||||
| 2065 | case executed 2 times by 1 test: 118:case 118:Executed by:
executed 2 times by 1 test: case 118:Executed by:
| 2 | ||||||||||||||||||||||||
| 2066 | return executed 2 times by 1 test: _SSL_CTX_set_dh_auto(ctx, larg);return _SSL_CTX_set_dh_auto(ctx, larg);Executed by:
executed 2 times by 1 test: return _SSL_CTX_set_dh_auto(ctx, larg);Executed by:
| 2 | ||||||||||||||||||||||||
| 2067 | - | |||||||||||||||||||||||||
| 2068 | case executed 49 times by 1 test: 4:case 4:Executed by:
executed 49 times by 1 test: case 4:Executed by:
| 49 | ||||||||||||||||||||||||
| 2069 | return executed 49 times by 1 test: _SSL_CTX_set_tmp_ecdh(ctx, parg);return _SSL_CTX_set_tmp_ecdh(ctx, parg);Executed by:
executed 49 times by 1 test: return _SSL_CTX_set_tmp_ecdh(ctx, parg);Executed by:
| 49 | ||||||||||||||||||||||||
| 2070 | - | |||||||||||||||||||||||||
| 2071 | case never executed: 7:case 7:never executed: case 7: | 0 | ||||||||||||||||||||||||
| 2072 | ERR_put_error(20,(0xfff),((2|64)),__FILE__,2132); | - | ||||||||||||||||||||||||
| 2073 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2074 | - | |||||||||||||||||||||||||
| 2075 | case executed 6 times by 2 tests: 94:case 94:Executed by:
executed 6 times by 2 tests: case 94:Executed by:
| 6 | ||||||||||||||||||||||||
| 2076 | return executed 6 times by 2 tests: _SSL_CTX_set_ecdh_auto(ctx, larg);return _SSL_CTX_set_ecdh_auto(ctx, larg);Executed by:
executed 6 times by 2 tests: return _SSL_CTX_set_ecdh_auto(ctx, larg);Executed by:
| 6 | ||||||||||||||||||||||||
| 2077 | - | |||||||||||||||||||||||||
| 2078 | case executed 4 times by 1 test: 54:case 54:Executed by:
executed 4 times by 1 test: case 54:Executed by:
| 4 | ||||||||||||||||||||||||
| 2079 | return executed 4 times by 1 test: _SSL_CTX_set_tlsext_servername_arg(ctx, parg);return _SSL_CTX_set_tlsext_servername_arg(ctx, parg);Executed by:
executed 4 times by 1 test: return _SSL_CTX_set_tlsext_servername_arg(ctx, parg);Executed by:
| 4 | ||||||||||||||||||||||||
| 2080 | - | |||||||||||||||||||||||||
| 2081 | case never executed: 58:case 58:never executed: case 58: | 0 | ||||||||||||||||||||||||
| 2082 | return never executed: _SSL_CTX_get_tlsext_ticket_keys(ctx, parg, larg);return _SSL_CTX_get_tlsext_ticket_keys(ctx, parg, larg);never executed: return _SSL_CTX_get_tlsext_ticket_keys(ctx, parg, larg); | 0 | ||||||||||||||||||||||||
| 2083 | - | |||||||||||||||||||||||||
| 2084 | case never executed: 59:case 59:never executed: case 59: | 0 | ||||||||||||||||||||||||
| 2085 | return never executed: _SSL_CTX_set_tlsext_ticket_keys(ctx, parg, larg);return _SSL_CTX_set_tlsext_ticket_keys(ctx, parg, larg);never executed: return _SSL_CTX_set_tlsext_ticket_keys(ctx, parg, larg); | 0 | ||||||||||||||||||||||||
| 2086 | - | |||||||||||||||||||||||||
| 2087 | case never executed: 129:case 129:never executed: case 129: | 0 | ||||||||||||||||||||||||
| 2088 | return never executed: _SSL_CTX_get_tlsext_status_arg(ctx, parg);return _SSL_CTX_get_tlsext_status_arg(ctx, parg);never executed: return _SSL_CTX_get_tlsext_status_arg(ctx, parg); | 0 | ||||||||||||||||||||||||
| 2089 | - | |||||||||||||||||||||||||
| 2090 | case never executed: 64:case 64:never executed: case 64: | 0 | ||||||||||||||||||||||||
| 2091 | return never executed: _SSL_CTX_set_tlsext_status_arg(ctx, parg);return _SSL_CTX_set_tlsext_status_arg(ctx, parg);never executed: return _SSL_CTX_set_tlsext_status_arg(ctx, parg); | 0 | ||||||||||||||||||||||||
| 2092 | - | |||||||||||||||||||||||||
| 2093 | case never executed: 14:case 14:never executed: case 14: | 0 | ||||||||||||||||||||||||
| 2094 | return never executed: _SSL_CTX_add_extra_chain_cert(ctx, parg);return _SSL_CTX_add_extra_chain_cert(ctx, parg);never executed: return _SSL_CTX_add_extra_chain_cert(ctx, parg); | 0 | ||||||||||||||||||||||||
| 2095 | - | |||||||||||||||||||||||||
| 2096 | case never executed: 82:case 82:never executed: case 82: | 0 | ||||||||||||||||||||||||
| 2097 | return never executed: _SSL_CTX_get_extra_chain_certs(ctx, parg);return _SSL_CTX_get_extra_chain_certs(ctx, parg);never executed: return _SSL_CTX_get_extra_chain_certs(ctx, parg); | 0 | ||||||||||||||||||||||||
| 2098 | - | |||||||||||||||||||||||||
| 2099 | case never executed: 83:case 83:never executed: case 83: | 0 | ||||||||||||||||||||||||
| 2100 | return never executed: _SSL_CTX_clear_extra_chain_certs(ctx);return _SSL_CTX_clear_extra_chain_certs(ctx);never executed: return _SSL_CTX_clear_extra_chain_certs(ctx); | 0 | ||||||||||||||||||||||||
| 2101 | - | |||||||||||||||||||||||||
| 2102 | case never executed: 91:case 91:never executed: case 91: | 0 | ||||||||||||||||||||||||
| 2103 | return never executed: SSL_CTX_set1_groups(ctx, parg, larg);return SSL_CTX_set1_groups(ctx, parg, larg);never executed: return SSL_CTX_set1_groups(ctx, parg, larg); | 0 | ||||||||||||||||||||||||
| 2104 | - | |||||||||||||||||||||||||
| 2105 | case never executed: 92:case 92:never executed: case 92: | 0 | ||||||||||||||||||||||||
| 2106 | return never executed: SSL_CTX_set1_groups_list(ctx, parg);return SSL_CTX_set1_groups_list(ctx, parg);never executed: return SSL_CTX_set1_groups_list(ctx, parg); | 0 | ||||||||||||||||||||||||
| 2107 | - | |||||||||||||||||||||||||
| 2108 | case never executed: 130:case 130:never executed: case 130: | 0 | ||||||||||||||||||||||||
| 2109 | return never executed: SSL_CTX_get_min_proto_version(ctx);return SSL_CTX_get_min_proto_version(ctx);never executed: return SSL_CTX_get_min_proto_version(ctx); | 0 | ||||||||||||||||||||||||
| 2110 | - | |||||||||||||||||||||||||
| 2111 | case never executed: 131:case 131:never executed: case 131: | 0 | ||||||||||||||||||||||||
| 2112 | return never executed: SSL_CTX_get_max_proto_version(ctx);return SSL_CTX_get_max_proto_version(ctx);never executed: return SSL_CTX_get_max_proto_version(ctx); | 0 | ||||||||||||||||||||||||
| 2113 | - | |||||||||||||||||||||||||
| 2114 | case never executed: 123:case 123:never executed: case 123: | 0 | ||||||||||||||||||||||||
| 2115 | if (larg < 0
| 0 | ||||||||||||||||||||||||
| 2116 | (65535)
| 0 | ||||||||||||||||||||||||
| 2117 | ) | - | ||||||||||||||||||||||||
| 2118 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2119 | return never executed: SSL_CTX_set_min_proto_version(ctx, larg);return SSL_CTX_set_min_proto_version(ctx, larg);never executed: return SSL_CTX_set_min_proto_version(ctx, larg); | 0 | ||||||||||||||||||||||||
| 2120 | - | |||||||||||||||||||||||||
| 2121 | case never executed: 124:case 124:never executed: case 124: | 0 | ||||||||||||||||||||||||
| 2122 | if (larg < 0
| 0 | ||||||||||||||||||||||||
| 2123 | (65535)
| 0 | ||||||||||||||||||||||||
| 2124 | ) | - | ||||||||||||||||||||||||
| 2125 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2126 | return never executed: SSL_CTX_set_max_proto_version(ctx, larg);return SSL_CTX_set_max_proto_version(ctx, larg);never executed: return SSL_CTX_set_max_proto_version(ctx, larg); | 0 | ||||||||||||||||||||||||
| 2127 | - | |||||||||||||||||||||||||
| 2128 | - | |||||||||||||||||||||||||
| 2129 | - | |||||||||||||||||||||||||
| 2130 | - | |||||||||||||||||||||||||
| 2131 | case never executed: 1:case 1:never executed: case 1: | 0 | ||||||||||||||||||||||||
| 2132 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2133 | - | |||||||||||||||||||||||||
| 2134 | case never executed: 2:case 2:never executed: case 2: | 0 | ||||||||||||||||||||||||
| 2135 | case never executed: 5:case 5:never executed: case 5: | 0 | ||||||||||||||||||||||||
| 2136 | ERR_put_error(20,(0xfff),((2|64)),__FILE__,2192); | - | ||||||||||||||||||||||||
| 2137 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2138 | } | - | ||||||||||||||||||||||||
| 2139 | - | |||||||||||||||||||||||||
| 2140 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2141 | } | - | ||||||||||||||||||||||||
| 2142 | - | |||||||||||||||||||||||||
| 2143 | long | - | ||||||||||||||||||||||||
| 2144 | ssl3_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp)(void)) | - | ||||||||||||||||||||||||
| 2145 | { | - | ||||||||||||||||||||||||
| 2146 | switch (cmd) { | - | ||||||||||||||||||||||||
| 2147 | case executed 50 times by 1 test: 5:case 5:Executed by:
executed 50 times by 1 test: case 5:Executed by:
| 50 | ||||||||||||||||||||||||
| 2148 | ERR_put_error(20,(0xfff),((2|64)),__FILE__,2204); | - | ||||||||||||||||||||||||
| 2149 | return executed 50 times by 1 test: 0;return 0;Executed by:
executed 50 times by 1 test: return 0;Executed by:
| 50 | ||||||||||||||||||||||||
| 2150 | - | |||||||||||||||||||||||||
| 2151 | case never executed: 6:case 6:never executed: case 6: | 0 | ||||||||||||||||||||||||
| 2152 | ctx->internal->cert->dh_tmp_cb = | - | ||||||||||||||||||||||||
| 2153 | (DH *(*)(SSL *, int, int))fp; | - | ||||||||||||||||||||||||
| 2154 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2155 | - | |||||||||||||||||||||||||
| 2156 | case never executed: 7:case 7:never executed: case 7: | 0 | ||||||||||||||||||||||||
| 2157 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2158 | - | |||||||||||||||||||||||||
| 2159 | case executed 4 times by 1 test: 53:case 53:Executed by:
executed 4 times by 1 test: case 53:Executed by:
| 4 | ||||||||||||||||||||||||
| 2160 | ctx->internal->tlsext_servername_callback = | - | ||||||||||||||||||||||||
| 2161 | (int (*)(SSL *, int *, void *))fp; | - | ||||||||||||||||||||||||
| 2162 | return executed 4 times by 1 test: 1;return 1;Executed by:
executed 4 times by 1 test: return 1;Executed by:
| 4 | ||||||||||||||||||||||||
| 2163 | - | |||||||||||||||||||||||||
| 2164 | case never executed: 128:case 128:never executed: case 128: | 0 | ||||||||||||||||||||||||
| 2165 | *(int (**)(SSL *, void *))fp = ctx->internal->tlsext_status_cb; | - | ||||||||||||||||||||||||
| 2166 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2167 | - | |||||||||||||||||||||||||
| 2168 | case executed 8 times by 1 test: 63:case 63:Executed by:
executed 8 times by 1 test: case 63:Executed by:
| 8 | ||||||||||||||||||||||||
| 2169 | ctx->internal->tlsext_status_cb = (int (*)(SSL *, void *))fp; | - | ||||||||||||||||||||||||
| 2170 | return executed 8 times by 1 test: 1;return 1;Executed by:
executed 8 times by 1 test: return 1;Executed by:
| 8 | ||||||||||||||||||||||||
| 2171 | - | |||||||||||||||||||||||||
| 2172 | case never executed: 72:case 72:never executed: case 72: | 0 | ||||||||||||||||||||||||
| 2173 | ctx->internal->tlsext_ticket_key_cb = (int (*)(SSL *, unsigned char *, | - | ||||||||||||||||||||||||
| 2174 | unsigned char *, EVP_CIPHER_CTX *, HMAC_CTX *, int))fp; | - | ||||||||||||||||||||||||
| 2175 | return never executed: 1;return 1;never executed: return 1; | 0 | ||||||||||||||||||||||||
| 2176 | } | - | ||||||||||||||||||||||||
| 2177 | - | |||||||||||||||||||||||||
| 2178 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2179 | } | - | ||||||||||||||||||||||||
| 2180 | - | |||||||||||||||||||||||||
| 2181 | - | |||||||||||||||||||||||||
| 2182 | - | |||||||||||||||||||||||||
| 2183 | - | |||||||||||||||||||||||||
| 2184 | const SSL_CIPHER * | - | ||||||||||||||||||||||||
| 2185 | ssl3_get_cipher_by_char(const unsigned char *p) | - | ||||||||||||||||||||||||
| 2186 | { | - | ||||||||||||||||||||||||
| 2187 | uint16_t cipher_value; | - | ||||||||||||||||||||||||
| 2188 | CBS cbs; | - | ||||||||||||||||||||||||
| 2189 | - | |||||||||||||||||||||||||
| 2190 | - | |||||||||||||||||||||||||
| 2191 | CBS_init(&cbs, p, 2); | - | ||||||||||||||||||||||||
| 2192 | if (!CBS_get_u16(&cbs, &cipher_value)
| 0-663 | ||||||||||||||||||||||||
| 2193 | return never executed: return ((void *)0) ;never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||
| 2194 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||
| 2195 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||||||||||||||
| 2196 | - | |||||||||||||||||||||||||
| 2197 | return executed 663 times by 1 test: ssl3_get_cipher_by_value(cipher_value);return ssl3_get_cipher_by_value(cipher_value);Executed by:
executed 663 times by 1 test: return ssl3_get_cipher_by_value(cipher_value);Executed by:
| 663 | ||||||||||||||||||||||||
| 2198 | } | - | ||||||||||||||||||||||||
| 2199 | - | |||||||||||||||||||||||||
| 2200 | int | - | ||||||||||||||||||||||||
| 2201 | ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) | - | ||||||||||||||||||||||||
| 2202 | { | - | ||||||||||||||||||||||||
| 2203 | CBB cbb; | - | ||||||||||||||||||||||||
| 2204 | - | |||||||||||||||||||||||||
| 2205 | if (p ==
| 15-663 | ||||||||||||||||||||||||
| 2206 | ((void *)0)
| 15-663 | ||||||||||||||||||||||||
| 2207 | ) | - | ||||||||||||||||||||||||
| 2208 | return executed 15 times by 1 test: (2);return (2);Executed by:
executed 15 times by 1 test: return (2);Executed by:
| 15 | ||||||||||||||||||||||||
| 2209 | - | |||||||||||||||||||||||||
| 2210 | if ((
| 0-663 | ||||||||||||||||||||||||
| 2211 | return never executed: (0);return (0);never executed: return (0); | 0 | ||||||||||||||||||||||||
| 2212 | - | |||||||||||||||||||||||||
| 2213 | memset(&cbb, 0, sizeof(cbb)); | - | ||||||||||||||||||||||||
| 2214 | - | |||||||||||||||||||||||||
| 2215 | - | |||||||||||||||||||||||||
| 2216 | if (!CBB_init_fixed(&cbb, p, 2)
| 0-663 | ||||||||||||||||||||||||
| 2217 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 2218 | if (!CBB_add_u16(&cbb, ssl3_cipher_get_value(c))
| 0-663 | ||||||||||||||||||||||||
| 2219 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 2220 | if (!CBB_finish(&cbb,
| 0-663 | ||||||||||||||||||||||||
| 2221 | ((void *)0)
| 0-663 | ||||||||||||||||||||||||
| 2222 | ,
| 0-663 | ||||||||||||||||||||||||
| 2223 | ((void *)0)
| 0-663 | ||||||||||||||||||||||||
| 2224 | )
| 0-663 | ||||||||||||||||||||||||
| 2225 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||||||||||||||||||||
| 2226 | - | |||||||||||||||||||||||||
| 2227 | return executed 663 times by 1 test: (2);return (2);Executed by:
executed 663 times by 1 test: return (2);Executed by:
| 663 | ||||||||||||||||||||||||
| 2228 | - | |||||||||||||||||||||||||
| 2229 | err: | - | ||||||||||||||||||||||||
| 2230 | CBB_cleanup(&cbb); | - | ||||||||||||||||||||||||
| 2231 | return never executed: (0);return (0);never executed: return (0); | 0 | ||||||||||||||||||||||||
| 2232 | } | - | ||||||||||||||||||||||||
| 2233 | - | |||||||||||||||||||||||||
| 2234 | SSL_CIPHER * | - | ||||||||||||||||||||||||
| 2235 | ssl3_choose_cipher(SSL *s, struct stack_st_SSL_CIPHER *clnt, | - | ||||||||||||||||||||||||
| 2236 | struct stack_st_SSL_CIPHER *srvr) | - | ||||||||||||||||||||||||
| 2237 | { | - | ||||||||||||||||||||||||
| 2238 | unsigned long alg_k, alg_a, mask_k, mask_a; | - | ||||||||||||||||||||||||
| 2239 | struct stack_st_SSL_CIPHER *prio, *allow; | - | ||||||||||||||||||||||||
| 2240 | SSL_CIPHER *c, *ret = | - | ||||||||||||||||||||||||
| 2241 | ((void *)0) | - | ||||||||||||||||||||||||
| 2242 | ; | - | ||||||||||||||||||||||||
| 2243 | int i, ii, ok; | - | ||||||||||||||||||||||||
| 2244 | CERT *cert; | - | ||||||||||||||||||||||||
| 2245 | - | |||||||||||||||||||||||||
| 2246 | - | |||||||||||||||||||||||||
| 2247 | cert = s->cert; | - | ||||||||||||||||||||||||
| 2248 | if (s->internal->options & 0x00400000L
| 4-61 | ||||||||||||||||||||||||
| 2249 | prio = srvr; | - | ||||||||||||||||||||||||
| 2250 | allow = clnt; | - | ||||||||||||||||||||||||
| 2251 | } executed 4 times by 1 test: else {end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 2252 | prio = clnt; | - | ||||||||||||||||||||||||
| 2253 | allow = srvr; | - | ||||||||||||||||||||||||
| 2254 | } executed 61 times by 2 tests: end of blockExecuted by:
| 61 | ||||||||||||||||||||||||
| 2255 | - | |||||||||||||||||||||||||
| 2256 | for (i = 0; i < sk_num(((_STACK*) (1 ? (prio) : (struct stack_st_SSL_CIPHER*)0)))
| 0-88 | ||||||||||||||||||||||||
| 2257 | c = ((SSL_CIPHER *)sk_value(((_STACK*) (1 ? (prio) : (struct stack_st_SSL_CIPHER*)0)), (i))); | - | ||||||||||||||||||||||||
| 2258 | - | |||||||||||||||||||||||||
| 2259 | - | |||||||||||||||||||||||||
| 2260 | if ((
| 38-50 | ||||||||||||||||||||||||
| 2261 | !(s->method->internal->ssl3_enc->enc_flags & (1 << 4))
| 0-50 | ||||||||||||||||||||||||
| 2262 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||
| 2263 | - | |||||||||||||||||||||||||
| 2264 | ssl_set_cert_masks(cert, c); | - | ||||||||||||||||||||||||
| 2265 | mask_k = cert->mask_k; | - | ||||||||||||||||||||||||
| 2266 | mask_a = cert->mask_a; | - | ||||||||||||||||||||||||
| 2267 | - | |||||||||||||||||||||||||
| 2268 | alg_k = c->algorithm_mkey; | - | ||||||||||||||||||||||||
| 2269 | alg_a = c->algorithm_auth; | - | ||||||||||||||||||||||||
| 2270 | - | |||||||||||||||||||||||||
| 2271 | - | |||||||||||||||||||||||||
| 2272 | ok = (
| 0-88 | ||||||||||||||||||||||||
| 2273 | - | |||||||||||||||||||||||||
| 2274 | - | |||||||||||||||||||||||||
| 2275 | - | |||||||||||||||||||||||||
| 2276 | - | |||||||||||||||||||||||||
| 2277 | - | |||||||||||||||||||||||||
| 2278 | if (alg_a & 0x00000040L
| 19-69 | ||||||||||||||||||||||||
| 2279 | ok = ok
executed 19 times by 2 tests: ok = ok && tls1_check_ec_server_key(s);Executed by:
| 0-19 | ||||||||||||||||||||||||
| 2280 | - | |||||||||||||||||||||||||
| 2281 | - | |||||||||||||||||||||||||
| 2282 | - | |||||||||||||||||||||||||
| 2283 | - | |||||||||||||||||||||||||
| 2284 | if (alg_k & 0x00000080L
| 37-51 | ||||||||||||||||||||||||
| 2285 | ok = ok
executed 51 times by 2 tests: ok = ok && tls1_check_ec_tmp_key(s);Executed by:
| 4-51 | ||||||||||||||||||||||||
| 2286 | - | |||||||||||||||||||||||||
| 2287 | if (!ok
| 23-65 | ||||||||||||||||||||||||
| 2288 | continue; executed 23 times by 2 tests: continue;Executed by:
| 23 | ||||||||||||||||||||||||
| 2289 | ii = sk_find(((_STACK*) (1 ? (allow) : (struct stack_st_SSL_CIPHER*)0)), ((void*) (1 ? (c) : (SSL_CIPHER*)0))); | - | ||||||||||||||||||||||||
| 2290 | if (ii >= 0
| 0-65 | ||||||||||||||||||||||||
| 2291 | ret = ((SSL_CIPHER *)sk_value(((_STACK*) (1 ? (allow) : (struct stack_st_SSL_CIPHER*)0)), (ii))); | - | ||||||||||||||||||||||||
| 2292 | break; executed 65 times by 3 tests: break;Executed by:
| 65 | ||||||||||||||||||||||||
| 2293 | } | - | ||||||||||||||||||||||||
| 2294 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 2295 | return executed 65 times by 3 tests: (ret);return (ret);Executed by:
executed 65 times by 3 tests: return (ret);Executed by:
| 65 | ||||||||||||||||||||||||
| 2296 | } | - | ||||||||||||||||||||||||
| 2297 | - | |||||||||||||||||||||||||
| 2298 | int | - | ||||||||||||||||||||||||
| 2299 | ssl3_get_req_cert_types(SSL *s, CBB *cbb) | - | ||||||||||||||||||||||||
| 2300 | { | - | ||||||||||||||||||||||||
| 2301 | unsigned long alg_k; | - | ||||||||||||||||||||||||
| 2302 | - | |||||||||||||||||||||||||
| 2303 | alg_k = (s->s3->internal)->hs.new_cipher->algorithm_mkey; | - | ||||||||||||||||||||||||
| 2304 | - | |||||||||||||||||||||||||
| 2305 | - | |||||||||||||||||||||||||
| 2306 | if ((
| 0-7 | ||||||||||||||||||||||||
| 2307 | if (!CBB_add_u8(cbb, 21)
| 0 | ||||||||||||||||||||||||
| 2308 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2309 | if (!CBB_add_u8(cbb, 22)
| 0 | ||||||||||||||||||||||||
| 2310 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2311 | if (!CBB_add_u8(cbb, 238)
| 0 | ||||||||||||||||||||||||
| 2312 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2313 | if (!CBB_add_u8(cbb, 239)
| 0 | ||||||||||||||||||||||||
| 2314 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2315 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 2316 | - | |||||||||||||||||||||||||
| 2317 | - | |||||||||||||||||||||||||
| 2318 | if ((
| 2-5 | ||||||||||||||||||||||||
| 2319 | if (!CBB_add_u8(cbb, 3)
| 0-2 | ||||||||||||||||||||||||
| 2320 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2321 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 | ||||||||||||||||||||||||
| 2322 | - | |||||||||||||||||||||||||
| 2323 | if (!CBB_add_u8(cbb, 1)
| 0-7 | ||||||||||||||||||||||||
| 2324 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2325 | - | |||||||||||||||||||||||||
| 2326 | - | |||||||||||||||||||||||||
| 2327 | - | |||||||||||||||||||||||||
| 2328 | - | |||||||||||||||||||||||||
| 2329 | - | |||||||||||||||||||||||||
| 2330 | if (!CBB_add_u8(cbb, 64)
| 0-7 | ||||||||||||||||||||||||
| 2331 | return never executed: 0;return 0;never executed: return 0; | 0 | ||||||||||||||||||||||||
| 2332 | - | |||||||||||||||||||||||||
| 2333 | return executed 7 times by 1 test: 1;return 1;Executed by:
executed 7 times by 1 test: return 1;Executed by:
| 7 | ||||||||||||||||||||||||
| 2334 | } | - | ||||||||||||||||||||||||
| 2335 | - | |||||||||||||||||||||||||
| 2336 | int | - | ||||||||||||||||||||||||
| 2337 | ssl3_shutdown(SSL *s) | - | ||||||||||||||||||||||||
| 2338 | { | - | ||||||||||||||||||||||||
| 2339 | int ret; | - | ||||||||||||||||||||||||
| 2340 | - | |||||||||||||||||||||||||
| 2341 | - | |||||||||||||||||||||||||
| 2342 | - | |||||||||||||||||||||||||
| 2343 | - | |||||||||||||||||||||||||
| 2344 | - | |||||||||||||||||||||||||
| 2345 | if ((
| 0-126 | ||||||||||||||||||||||||
| 2346 | s->internal->shutdown = (1|2); | - | ||||||||||||||||||||||||
| 2347 | return never executed: (1);return (1);never executed: return (1); | 0 | ||||||||||||||||||||||||
| 2348 | } | - | ||||||||||||||||||||||||
| 2349 | - | |||||||||||||||||||||||||
| 2350 | if (!(s->internal->shutdown & 1)
| 0-126 | ||||||||||||||||||||||||
| 2351 | s->internal->shutdown|=1; | - | ||||||||||||||||||||||||
| 2352 | ssl3_send_alert(s, 1, 0); | - | ||||||||||||||||||||||||
| 2353 | - | |||||||||||||||||||||||||
| 2354 | - | |||||||||||||||||||||||||
| 2355 | - | |||||||||||||||||||||||||
| 2356 | - | |||||||||||||||||||||||||
| 2357 | if (s->s3->alert_dispatch
| 8-118 | ||||||||||||||||||||||||
| 2358 | return executed 118 times by 1 test: (-1);return(-1);Executed by:
executed 118 times by 1 test: return(-1);Executed by:
| 118 | ||||||||||||||||||||||||
| 2359 | } executed 8 times by 1 test: else if (s->s3->alert_dispatchend of blockExecuted by:
| 0-8 | ||||||||||||||||||||||||
| 2360 | - | |||||||||||||||||||||||||
| 2361 | ret = s->method->ssl_dispatch_alert(s); | - | ||||||||||||||||||||||||
| 2362 | if (ret == -1
| 0 | ||||||||||||||||||||||||
| 2363 | - | |||||||||||||||||||||||||
| 2364 | - | |||||||||||||||||||||||||
| 2365 | - | |||||||||||||||||||||||||
| 2366 | - | |||||||||||||||||||||||||
| 2367 | - | |||||||||||||||||||||||||
| 2368 | - | |||||||||||||||||||||||||
| 2369 | return never executed: (ret);return (ret);never executed: return (ret); | 0 | ||||||||||||||||||||||||
| 2370 | } | - | ||||||||||||||||||||||||
| 2371 | } never executed: else if (!(s->internal->shutdown & 2)end of block
| 0 | ||||||||||||||||||||||||
| 2372 | - | |||||||||||||||||||||||||
| 2373 | s->method->internal->ssl_read_bytes(s, 0, | - | ||||||||||||||||||||||||
| 2374 | ((void *)0) | - | ||||||||||||||||||||||||
| 2375 | , 0, 0); | - | ||||||||||||||||||||||||
| 2376 | if (!(s->internal->shutdown & 2)
| 0 | ||||||||||||||||||||||||
| 2377 | return never executed: (-1);return(-1);never executed: return(-1); | 0 | ||||||||||||||||||||||||
| 2378 | } | - | ||||||||||||||||||||||||
| 2379 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 2380 | - | |||||||||||||||||||||||||
| 2381 | if ((
| 0-8 | ||||||||||||||||||||||||
| 2382 | !s->s3->alert_dispatch
| 0 | ||||||||||||||||||||||||
| 2383 | return never executed: (1);return (1);never executed: return (1); | 0 | ||||||||||||||||||||||||
| 2384 | else | - | ||||||||||||||||||||||||
| 2385 | return executed 8 times by 1 test: (0);return (0);Executed by:
executed 8 times by 1 test: return (0);Executed by:
| 8 | ||||||||||||||||||||||||
| 2386 | } | - | ||||||||||||||||||||||||
| 2387 | - | |||||||||||||||||||||||||
| 2388 | int | - | ||||||||||||||||||||||||
| 2389 | ssl3_write(SSL *s, const void *buf, int len) | - | ||||||||||||||||||||||||
| 2390 | { | - | ||||||||||||||||||||||||
| 2391 | - | |||||||||||||||||||||||||
| 2392 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 2393 | = 0; | - | ||||||||||||||||||||||||
| 2394 | - | |||||||||||||||||||||||||
| 2395 | if ((
| 0-1526 | ||||||||||||||||||||||||
| 2396 | ssl3_renegotiate_check(s); never executed: ssl3_renegotiate_check(s); | 0 | ||||||||||||||||||||||||
| 2397 | - | |||||||||||||||||||||||||
| 2398 | return executed 1526 times by 1 test: s->method->internal->ssl_write_bytes(s,return s->method->internal->ssl_write_bytes(s, 23, buf, len);Executed by:
executed 1526 times by 1 test: return s->method->internal->ssl_write_bytes(s, 23, buf, len);Executed by:
| 1526 | ||||||||||||||||||||||||
| 2399 | 23, buf, len); executed 1526 times by 1 test: return s->method->internal->ssl_write_bytes(s, 23, buf, len);Executed by:
| 1526 | ||||||||||||||||||||||||
| 2400 | } | - | ||||||||||||||||||||||||
| 2401 | - | |||||||||||||||||||||||||
| 2402 | static int | - | ||||||||||||||||||||||||
| 2403 | ssl3_read_internal(SSL *s, void *buf, int len, int peek) | - | ||||||||||||||||||||||||
| 2404 | { | - | ||||||||||||||||||||||||
| 2405 | int ret; | - | ||||||||||||||||||||||||
| 2406 | - | |||||||||||||||||||||||||
| 2407 | - | |||||||||||||||||||||||||
| 2408 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 2409 | = 0; | - | ||||||||||||||||||||||||
| 2410 | if ((
| 0-1598 | ||||||||||||||||||||||||
| 2411 | ssl3_renegotiate_check(s); never executed: ssl3_renegotiate_check(s); | 0 | ||||||||||||||||||||||||
| 2412 | (s->s3->internal)->in_read_app_data = 1; | - | ||||||||||||||||||||||||
| 2413 | ret = s->method->internal->ssl_read_bytes(s, | - | ||||||||||||||||||||||||
| 2414 | 23, buf, len, peek); | - | ||||||||||||||||||||||||
| 2415 | if ((
| 0-1480 | ||||||||||||||||||||||||
| 2416 | - | |||||||||||||||||||||||||
| 2417 | - | |||||||||||||||||||||||||
| 2418 | - | |||||||||||||||||||||||||
| 2419 | - | |||||||||||||||||||||||||
| 2420 | - | |||||||||||||||||||||||||
| 2421 | - | |||||||||||||||||||||||||
| 2422 | - | |||||||||||||||||||||||||
| 2423 | s->internal->in_handshake++; | - | ||||||||||||||||||||||||
| 2424 | ret = s->method->internal->ssl_read_bytes(s, | - | ||||||||||||||||||||||||
| 2425 | 23, buf, len, peek); | - | ||||||||||||||||||||||||
| 2426 | s->internal->in_handshake--; | - | ||||||||||||||||||||||||
| 2427 | } never executed: elseend of block | 0 | ||||||||||||||||||||||||
| 2428 | ( executed 1598 times by 1 test: s->s3->internal)->in_read_app_data = 0;(s->s3->internal)->in_read_app_data = 0;Executed by:
executed 1598 times by 1 test: (s->s3->internal)->in_read_app_data = 0;Executed by:
| 1598 | ||||||||||||||||||||||||
| 2429 | - | |||||||||||||||||||||||||
| 2430 | return executed 1598 times by 1 test: (ret);return (ret);Executed by:
executed 1598 times by 1 test: return (ret);Executed by:
| 1598 | ||||||||||||||||||||||||
| 2431 | } | - | ||||||||||||||||||||||||
| 2432 | - | |||||||||||||||||||||||||
| 2433 | int | - | ||||||||||||||||||||||||
| 2434 | ssl3_read(SSL *s, void *buf, int len) | - | ||||||||||||||||||||||||
| 2435 | { | - | ||||||||||||||||||||||||
| 2436 | return executed 1598 times by 1 test: ssl3_read_internal(s, buf, len, 0);return ssl3_read_internal(s, buf, len, 0);Executed by:
executed 1598 times by 1 test: return ssl3_read_internal(s, buf, len, 0);Executed by:
| 1598 | ||||||||||||||||||||||||
| 2437 | } | - | ||||||||||||||||||||||||
| 2438 | - | |||||||||||||||||||||||||
| 2439 | int | - | ||||||||||||||||||||||||
| 2440 | ssl3_peek(SSL *s, void *buf, int len) | - | ||||||||||||||||||||||||
| 2441 | { | - | ||||||||||||||||||||||||
| 2442 | return never executed: ssl3_read_internal(s, buf, len, 1);return ssl3_read_internal(s, buf, len, 1);never executed: return ssl3_read_internal(s, buf, len, 1); | 0 | ||||||||||||||||||||||||
| 2443 | } | - | ||||||||||||||||||||||||
| 2444 | - | |||||||||||||||||||||||||
| 2445 | int | - | ||||||||||||||||||||||||
| 2446 | ssl3_renegotiate(SSL *s) | - | ||||||||||||||||||||||||
| 2447 | { | - | ||||||||||||||||||||||||
| 2448 | if (s->internal->handshake_func ==
| 0-1 | ||||||||||||||||||||||||
| 2449 | ((void *)0)
| 0-1 | ||||||||||||||||||||||||
| 2450 | ) | - | ||||||||||||||||||||||||
| 2451 | return executed 1 time by 1 test: (1);return (1);Executed by:
executed 1 time by 1 test: return (1);Executed by:
| 1 | ||||||||||||||||||||||||
| 2452 | - | |||||||||||||||||||||||||
| 2453 | if (s->s3->flags & 0x0001
| 0 | ||||||||||||||||||||||||
| 2454 | return never executed: (0);return (0);never executed: return (0); | 0 | ||||||||||||||||||||||||
| 2455 | - | |||||||||||||||||||||||||
| 2456 | (s->s3->internal)->renegotiate = 1; | - | ||||||||||||||||||||||||
| 2457 | return never executed: (1);return (1);never executed: return (1); | 0 | ||||||||||||||||||||||||
| 2458 | } | - | ||||||||||||||||||||||||
| 2459 | - | |||||||||||||||||||||||||
| 2460 | int | - | ||||||||||||||||||||||||
| 2461 | ssl3_renegotiate_check(SSL *s) | - | ||||||||||||||||||||||||
| 2462 | { | - | ||||||||||||||||||||||||
| 2463 | int ret = 0; | - | ||||||||||||||||||||||||
| 2464 | - | |||||||||||||||||||||||||
| 2465 | if ((
| 0 | ||||||||||||||||||||||||
| 2466 | if ((
| 0 | ||||||||||||||||||||||||
| 2467 | !(SSL_state((s))&(0x1000|0x2000))
| 0 | ||||||||||||||||||||||||
| 2468 | - | |||||||||||||||||||||||||
| 2469 | - | |||||||||||||||||||||||||
| 2470 | - | |||||||||||||||||||||||||
| 2471 | - | |||||||||||||||||||||||||
| 2472 | - | |||||||||||||||||||||||||
| 2473 | - | |||||||||||||||||||||||||
| 2474 | (s->s3->internal)->hs.state = (0x04|(0x1000|0x2000)); | - | ||||||||||||||||||||||||
| 2475 | (s->s3->internal)->renegotiate = 0; | - | ||||||||||||||||||||||||
| 2476 | (s->s3->internal)->num_renegotiations++; | - | ||||||||||||||||||||||||
| 2477 | (s->s3->internal)->total_renegotiations++; | - | ||||||||||||||||||||||||
| 2478 | ret = 1; | - | ||||||||||||||||||||||||
| 2479 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 2480 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 2481 | return never executed: (ret);return (ret);never executed: return (ret); | 0 | ||||||||||||||||||||||||
| 2482 | } | - | ||||||||||||||||||||||||
| 2483 | - | |||||||||||||||||||||||||
| 2484 | - | |||||||||||||||||||||||||
| 2485 | - | |||||||||||||||||||||||||
| 2486 | - | |||||||||||||||||||||||||
| 2487 | long | - | ||||||||||||||||||||||||
| 2488 | ssl_get_algorithm2(SSL *s) | - | ||||||||||||||||||||||||
| 2489 | { | - | ||||||||||||||||||||||||
| 2490 | long alg2 = (s->s3->internal)->hs.new_cipher->algorithm2; | - | ||||||||||||||||||||||||
| 2491 | - | |||||||||||||||||||||||||
| 2492 | if (s->method->internal->ssl3_enc->enc_flags & (1 << 2)
| 455-921 | ||||||||||||||||||||||||
| 2493 | alg2 == ((0x010 | 0x020)|((0x010 << 10) | (0x020 << 10)))
| 188-733 | ||||||||||||||||||||||||
| 2494 | return executed 188 times by 2 tests: 0x080 | (0x080 << 10);return 0x080 | (0x080 << 10);Executed by:
executed 188 times by 2 tests: return 0x080 | (0x080 << 10);Executed by:
| 188 | ||||||||||||||||||||||||
| 2495 | return executed 1188 times by 4 tests: alg2;return alg2;Executed by:
executed 1188 times by 4 tests: return alg2;Executed by:
| 1188 | ||||||||||||||||||||||||
| 2496 | } | - | ||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |