Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 1 | Empty length |
| 2 | parse_prefixes:"04":0:MBEDTLS_ERR_ASN1_INVALID_LENGTH |
| 3 | |
| 4 | Prefixes of OCTET STRING, length=0 |
| 5 | parse_prefixes:"04007e":2:0 |
| 6 | |
| 7 | Prefixes of OCTET STRING, length=0 (0 length bytes) |
| 8 | parse_prefixes:"04807e":2:MBEDTLS_ERR_ASN1_INVALID_LENGTH |
| 9 | |
| 10 | Prefixes of OCTET STRING, length=1 |
| 11 | parse_prefixes:"0401417e":3:0 |
| 12 | |
| 13 | Prefixes of OCTET STRING, length=2 |
| 14 | parse_prefixes:"040241427e":4:0 |
| 15 | |
| 16 | Prefixes of BOOLEAN, length=0 |
| 17 | parse_prefixes:"01007e":2:MBEDTLS_ERR_ASN1_INVALID_LENGTH |
| 18 | |
| 19 | Prefixes of BOOLEAN, length=1 |
| 20 | parse_prefixes:"0101007e":3:0 |
| 21 | |
| 22 | Prefixes of BOOLEAN, length=2 |
| 23 | parse_prefixes:"010200007e":4:MBEDTLS_ERR_ASN1_INVALID_LENGTH |
| 24 | |
| 25 | Prefixes of INTEGER, length=1 |
| 26 | parse_prefixes:"0201417e":3:0 |
| 27 | |
| 28 | Prefixes of INTEGER, length=2 |
| 29 | parse_prefixes:"020241427e":4:0 |
| 30 | |
| 31 | Prefixes of INTEGER, length=5 |
| 32 | parse_prefixes:"020541424344457e":7:0 |
| 33 | |
| 34 | Prefixes of empty BIT STRING |
| 35 | parse_prefixes:"03007e":2:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 36 | |
| 37 | Prefixes of BIT STRING, unused_bits=0, payload_length=0 |
| 38 | parse_prefixes:"030100":3:0 |
| 39 | |
| 40 | Prefixes of BIT STRING, unused_bits=0, payload_length=1 |
| 41 | parse_prefixes:"0302002a":4:0 |
| 42 | |
| 43 | Prefixes of BIT STRING, unused_bits=1, payload_length=1 |
| 44 | parse_prefixes:"0302012a":4:0 |
| 45 | |
| 46 | Prefixes of empty SEQUENCE |
| 47 | parse_prefixes:"30007e":2:0 |
| 48 | |
| 49 | Prefixes of SEQUENCE of BOOLEAN, INTEGER, INTEGER |
| 50 | parse_prefixes:"300b01010102012a02031234567e":13:0 |
| 51 | |
| 52 | Prefixes of SEQUENCE of (SEQUENCE of INTEGER, INTEGER), INTEGER |
| 53 | parse_prefixes:"300b30060201410201420201617e":13:0 |
| 54 | |
| 55 | length=0 (short form) |
| 56 | get_len:"00":0 |
| 57 | |
| 58 | length=0 (1 length byte) |
| 59 | get_len:"8100":0 |
| 60 | |
| 61 | length=0 (2 length bytes) |
| 62 | get_len:"820000":0 |
| 63 | |
| 64 | length=1 (short form) |
| 65 | get_len:"01":1 |
| 66 | |
| 67 | length=1 (1 length byte) |
| 68 | get_len:"8101":1 |
| 69 | |
| 70 | length=1 (2 length bytes) |
| 71 | get_len:"820001":1 |
| 72 | |
| 73 | length=1 (3 length bytes) |
| 74 | get_len:"83000001":1 |
| 75 | |
| 76 | length=1 (4 length bytes) |
| 77 | get_len:"8400000001":1 |
| 78 | |
| 79 | length=2 (short form) |
| 80 | get_len:"02":2 |
| 81 | |
| 82 | length=2 (1 length byte) |
| 83 | get_len:"8102":2 |
| 84 | |
| 85 | length=2 (2 length bytes) |
| 86 | get_len:"820002":2 |
| 87 | |
| 88 | length=2 (3 length bytes) |
| 89 | get_len:"83000002":2 |
| 90 | |
| 91 | length=2 (4 length bytes) |
| 92 | get_len:"8400000002":2 |
| 93 | |
| 94 | length=127 (short form) |
| 95 | get_len:"7f":127 |
| 96 | |
| 97 | length=128 (1 length byte) |
| 98 | get_len:"8180":128 |
| 99 | |
| 100 | length=128 (2 length bytes) |
| 101 | get_len:"820080":128 |
| 102 | |
| 103 | length=255 (1 length byte) |
| 104 | get_len:"81ff":255 |
| 105 | |
| 106 | length=255 (2 length bytes) |
| 107 | get_len:"8200ff":255 |
| 108 | |
| 109 | length=256 (2 length bytes) |
| 110 | get_len:"820100":256 |
| 111 | |
| 112 | length=256 (3 length bytes) |
| 113 | get_len:"83000100":256 |
| 114 | |
| 115 | length=258 (2 length bytes) |
| 116 | get_len:"820102":258 |
| 117 | |
| 118 | length=258 (3 length bytes) |
| 119 | get_len:"83000102":258 |
| 120 | |
| 121 | length=65535 (2 length bytes) |
| 122 | get_len:"82ffff":65535 |
| 123 | |
| 124 | length=65535 (3 length bytes) |
| 125 | get_len:"8300ffff":65535 |
| 126 | |
| 127 | length=65535 (4 length bytes) |
| 128 | get_len:"840000ffff":65535 |
| 129 | |
| 130 | length=65536 (3 length bytes) |
| 131 | get_len:"83010000":65536 |
| 132 | |
| 133 | length=65536 (4 length bytes) |
| 134 | get_len:"8400010000":65536 |
| 135 | |
| 136 | length=16777215 (3 length bytes) |
| 137 | get_len:"83ffffff":16777215 |
| 138 | |
| 139 | length=16777215 (4 length bytes) |
| 140 | get_len:"8400ffffff":16777215 |
| 141 | |
| 142 | length=16777216 (4 length bytes) |
| 143 | get_len:"8401000000":16777216 |
| 144 | |
| 145 | length=16909060 (4 length bytes) |
| 146 | get_len:"8401020304":16909060 |
| 147 | |
| 148 | BOOLEAN FALSE |
| 149 | get_boolean:"010100":0:0 |
| 150 | |
| 151 | BOOLEAN TRUE (1) |
| 152 | get_boolean:"010101":1:0 |
| 153 | |
| 154 | BOOLEAN TRUE (2) |
| 155 | get_boolean:"010101":1:0 |
| 156 | |
| 157 | BOOLEAN TRUE (128) |
| 158 | get_boolean:"010180":1:0 |
| 159 | |
| 160 | BOOLEAN TRUE (255) |
| 161 | get_boolean:"0101ff":1:0 |
| 162 | |
| 163 | Not BOOLEAN |
| 164 | get_boolean:"020101":0:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 165 | |
| 166 | Empty INTEGER |
Gilles Peskine | 321adb2 | 2019-10-10 19:18:21 +0200 | [diff] [blame] | 167 | empty_integer:"0200" |
Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 168 | |
| 169 | INTEGER 0 |
| 170 | get_integer:"020100":"0":0 |
| 171 | |
| 172 | INTEGER 0, extra leading 0 |
| 173 | get_integer:"02020000":"0":0 |
| 174 | |
Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 175 | INTEGER 1 |
| 176 | get_integer:"020101":"1":0: |
| 177 | |
| 178 | INTEGER 1, extra leading 0 |
| 179 | get_integer:"02020001":"1":0: |
| 180 | |
Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 181 | INTEGER 0x7f |
| 182 | get_integer:"02017f":"7f":0 |
| 183 | |
Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 184 | INTEGER 0x80 |
| 185 | get_integer:"02020080":"80":0 |
| 186 | |
| 187 | INTEGER 0x80, extra leading 0 |
| 188 | get_integer:"0203000080":"80":0 |
| 189 | |
| 190 | INTEGER 0xff |
| 191 | get_integer:"020200ff":"ff":0 |
| 192 | |
| 193 | INTEGER 0x7fff |
| 194 | get_integer:"02027fff":"7fff":0 |
| 195 | |
| 196 | INTEGER 0x12345678 |
| 197 | get_integer:"020412345678":"12345678":0 |
| 198 | |
| 199 | INTEGER 0x12345678, extra leading 0 |
| 200 | get_integer:"02050012345678":"12345678":0 |
| 201 | |
| 202 | INTEGER 0x123456789abcdef0 |
| 203 | get_integer:"0208123456789abcdef0":"123456789abcdef0":0 |
| 204 | |
| 205 | INTEGER with 127 value octets |
| 206 | get_integer:"027f0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd":0 |
| 207 | |
| 208 | INTEGER with 127 value octets (long length encoding) |
| 209 | get_integer:"02817f0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcd":0 |
| 210 | |
| 211 | INTEGER with 128 value octets |
| 212 | get_integer:"0281800123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef":0 |
| 213 | |
| 214 | INTEGER with 128 value octets (leading 0 in length) |
| 215 | get_integer:"028200800123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef":0 |
| 216 | |
Gilles Peskine | 970dcbf | 2019-10-10 19:21:12 +0200 | [diff] [blame^] | 217 | INTEGER -1 |
| 218 | get_integer:"0201ff":"-1":0 |
| 219 | |
| 220 | INTEGER -0x7f |
| 221 | get_integer:"020181":"-7f":0 |
| 222 | |
Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 223 | Not INTEGER |
| 224 | get_integer:"010101":"":MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 225 | |
| 226 | INTEGER too large for mpi |
| 227 | get_mpi_too_large: |
| 228 | |
| 229 | BIT STRING: empty |
| 230 | get_bitstring:"0300":0:0:MBEDTLS_ERR_ASN1_OUT_OF_DATA:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 231 | |
| 232 | BIT STRING: octets=0, unused_bits=0 |
| 233 | get_bitstring:"030100":0:0:0:0 |
| 234 | |
| 235 | BIT STRING: octets=0, unused_bits=7 |
| 236 | get_bitstring:"030107":0:7:0:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 237 | |
| 238 | BIT STRING: octets=0, unused_bits=8 |
| 239 | get_bitstring:"030108":0:0:MBEDTLS_ERR_ASN1_INVALID_LENGTH:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 240 | |
| 241 | BIT STRING: octets=1, unused_bits=0 |
| 242 | get_bitstring:"03020041":1:0:0:0 |
| 243 | |
| 244 | BIT STRING: octets=1, unused_bits=7 |
| 245 | get_bitstring:"03020741":1:7:0:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 246 | |
| 247 | BIT STRING: octets=1, unused_bits=8 |
| 248 | get_bitstring:"03020841":1:8:MBEDTLS_ERR_ASN1_INVALID_LENGTH:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 249 | |
| 250 | BIT STRING: octets=2, unused_bits=0 |
| 251 | get_bitstring:"0303004142":2:0:0:0 |
| 252 | |
| 253 | BIT STRING: octets=2, unused_bits=7 |
| 254 | get_bitstring:"0303074142":2:7:0:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 255 | |
| 256 | BIT STRING: octets=2, unused_bits=8 |
| 257 | get_bitstring:"0303084142":2:8:MBEDTLS_ERR_ASN1_INVALID_LENGTH:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 258 | |
| 259 | BIT STRING with trailing garbage, unused_bits=0 |
| 260 | get_bitstring:"030200417e":1:0:MBEDTLS_ERR_ASN1_LENGTH_MISMATCH:0 |
| 261 | |
| 262 | BIT STRING with trailing garbage, unused_bits=7 |
| 263 | get_bitstring:"030207417e":1:7:MBEDTLS_ERR_ASN1_LENGTH_MISMATCH:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 264 | |
| 265 | BIT STRING with trailing garbage, unused_bits=8 |
| 266 | get_bitstring:"030208417e":1:8:MBEDTLS_ERR_ASN1_INVALID_LENGTH:MBEDTLS_ERR_ASN1_INVALID_DATA |
| 267 | |
| 268 | Not BIT STRING |
| 269 | get_bitstring:"04020100":0:0:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 270 | |
| 271 | SEQUENCE OF 0 OCTET STRING |
| 272 | get_sequence_of:"3000":0x04:"":0 |
| 273 | |
| 274 | SEQUENCE OF 0 OCTET STRING plus trailing garbage |
| 275 | get_sequence_of:"30007e":0x04:"":MBEDTLS_ERR_ASN1_LENGTH_MISMATCH |
| 276 | |
| 277 | SEQUENCE of 1 OCTET STRING truncated after tag |
| 278 | get_sequence_of:"300104":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 279 | |
| 280 | SEQUENCE of 1 OCTET STRING truncated in length #1 |
| 281 | get_sequence_of:"30020481":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 282 | |
| 283 | SEQUENCE of 1 OCTET STRING truncated in length #2 |
| 284 | get_sequence_of:"3003048201":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 285 | |
| 286 | SEQUENCE of 1 OCTET STRING truncated in content #1 |
| 287 | get_sequence_of:"30020401":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 288 | |
| 289 | SEQUENCE of 1 OCTET STRING truncated in content #2 |
| 290 | get_sequence_of:"3003040241":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 291 | |
| 292 | SEQUENCE of 1 OCTET STRING truncated in content #3 |
| 293 | get_sequence_of:"300404034142":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 294 | |
| 295 | SEQUENCE of 1 OCTET STRING (0) |
| 296 | get_sequence_of:"30020400":0x04:"4,0":0 |
| 297 | |
| 298 | SEQUENCE of 1 OCTET STRING (1) |
| 299 | get_sequence_of:"3003040141":0x04:"4,1":0 |
| 300 | |
| 301 | SEQUENCE of 1 OCTET STRING (126) |
| 302 | get_sequence_of:"308180047e414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141":0x04:"5,126":0 |
| 303 | |
| 304 | SEQUENCE of 2 OCTET STRINGs, second truncated after tag |
| 305 | get_sequence_of:"30050402414104":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 306 | |
| 307 | SEQUENCE of 2 OCTET STRINGs, second truncated in length #1 |
| 308 | get_sequence_of:"3006040241410481":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 309 | |
| 310 | SEQUENCE of 2 OCTET STRINGs, second truncated in length #2 |
| 311 | get_sequence_of:"300704024141048201":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 312 | |
| 313 | SEQUENCE of 2 OCTET STRINGs, second truncated in content #1 |
| 314 | get_sequence_of:"3006040241410401":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 315 | |
| 316 | SEQUENCE of 2 OCTET STRINGs, second truncated in content #2 |
| 317 | get_sequence_of:"300704024141040241":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 318 | |
| 319 | SEQUENCE of 2 OCTET STRINGs, second truncated in content #3 |
| 320 | get_sequence_of:"30080402414104034142":0x04:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 321 | |
| 322 | SEQUENCE of 2 OCTET STRINGs (2, 0) |
| 323 | get_sequence_of:"3006040241410400":0x04:"4,2,8,0":0 |
| 324 | |
| 325 | SEQUENCE of 2 OCTET STRINGs (2, 1) |
| 326 | get_sequence_of:"300704024141040142":0x04:"4,2,8,1":0 |
| 327 | |
| 328 | SEQUENCE of 2 OCTET STRINGs (0, 2) |
| 329 | get_sequence_of:"3006040004024141":0x04:"4,0,6,2":0 |
| 330 | |
| 331 | SEQUENCE of 2 OCTET STRINGs (1, 2) |
| 332 | get_sequence_of:"300704014104024242":0x04:"4,1,7,2":0 |
| 333 | |
| 334 | Not a SEQUENCE (not CONSTRUCTED) |
| 335 | get_sequence_of:"1000":0x04:"":MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 336 | |
| 337 | Not a SEQUENCE (not SEQUENCE) |
| 338 | get_sequence_of:"3100":0x04:"":MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 339 | |
| 340 | AlgorithmIdentifier, no params |
| 341 | get_alg:"300506034f4944":4:3:0:0:0:7:0 |
| 342 | |
| 343 | AlgorithmIdentifier, no params, trailing garbage |
| 344 | get_alg:"300506034f49447e":4:3:0:0:0:7:0 |
| 345 | |
| 346 | AlgorithmIdentifier, null params |
| 347 | get_alg:"300706034f49440500":4:3:0x05:9:0:9:0 |
| 348 | |
| 349 | AlgorithmIdentifier, null params, trailing garbage |
| 350 | get_alg:"300706034f494405007e":4:3:0x05:9:0:9:0 |
| 351 | |
| 352 | AlgorithmIdentifier, OCTET STRING params |
| 353 | get_alg:"300c06034f494404056162636465":4:3:0x04:9:5:14:0 |
| 354 | |
| 355 | AlgorithmIdentifier, truncated before OID |
| 356 | get_alg:"3000":4:3:0:0:0:2:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 357 | |
| 358 | AlgorithmIdentifier, truncated in OID after tag |
| 359 | get_alg:"300106":0:0:0:0:0:3:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 360 | |
| 361 | AlgorithmIdentifier, truncated in OID after length |
| 362 | get_alg:"30020603":4:3:0:0:0:4:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 363 | |
| 364 | AlgorithmIdentifier, truncated inside OID content |
| 365 | get_alg:"300406034f49":4:3:0:0:0:6:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 366 | |
| 367 | AlgorithmIdentifier, truncated in params after tag |
| 368 | get_alg:"300606034f494404":4:3:0x04:0:0:8:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 369 | |
| 370 | AlgorithmIdentifier, truncated in params after length |
| 371 | get_alg:"300706034f49440405":4:3:0x04:9:0:9:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 372 | |
| 373 | AlgorithmIdentifier, truncated inside params content |
| 374 | get_alg:"300806034f4944040561":4:3:0x04:9:5:10:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 375 | |
| 376 | Not an AlgorithmIdentifier (not a SEQUENCE) |
| 377 | get_alg:"310506034f4944":0:0:0:0:0:0:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 378 | |
| 379 | Not an AlgorithmIdentifier (empty SEQUENCE) |
| 380 | get_alg:"3000":0:0:0:0:0:0:MBEDTLS_ERR_ASN1_OUT_OF_DATA |
| 381 | |
| 382 | Not an AlgorithmIdentifier (not an OID) |
| 383 | get_alg:"3006050006034f4944":0:0:0:0:0:0:MBEDTLS_ERR_ASN1_UNEXPECTED_TAG |
| 384 | |
| 385 | Not an AlgorithmIdentifier (too many elements) |
| 386 | get_alg:"300f06034f494406034f494406034f4944":0:0:0:0:0:0:MBEDTLS_ERR_ASN1_LENGTH_MISMATCH |
| 387 | |
| 388 | Find named data: not found |
| 389 | find_named_data:"414141":"424242":"434343":"444444":"7f7f7f":0:4 |
| 390 | |
| 391 | Find named data: empty haystack |
| 392 | find_named_data:"414141":"424242":"434343":"444444":"7f7f7f":4:4 |
| 393 | |
| 394 | Find named data: first |
| 395 | find_named_data:"414141":"424242":"434343":"444444":"414141":0:0 |
| 396 | |
| 397 | Find named data: last |
| 398 | find_named_data:"414141":"424242":"434343":"444444":"444444":0:3 |
| 399 | |
| 400 | Find named data: skip suffix |
| 401 | find_named_data:"41414141":"414141":"434343":"444444":"414141":0:1 |
| 402 | |
| 403 | Find named data: skip prefix |
| 404 | find_named_data:"4141":"414141":"434343":"444444":"414141":0:1 |
| 405 | |
| 406 | Find named data: first match |
| 407 | find_named_data:"414141":"414141":"434343":"444444":"414141":0:0 |
| 408 | |
| 409 | Free named data: null pointer |
| 410 | free_named_data_null: |
| 411 | |
| 412 | Free named data: all null |
| 413 | free_named_data:0:0:0 |
| 414 | |
| 415 | Free named data: with oid |
| 416 | free_named_data:1:0:0 |
| 417 | |
| 418 | Free named data: with val |
| 419 | free_named_data:0:1:0 |
| 420 | |
| 421 | Free named data: with next |
| 422 | free_named_data:0:0:1 |
| 423 | |
| 424 | Free named data list (empty) |
| 425 | free_named_data_list:0 |
| 426 | |
| 427 | Free named data list (1) |
Gilles Peskine | 88f136f | 2019-09-20 21:06:27 +0200 | [diff] [blame] | 428 | free_named_data_list:1 |
Gilles Peskine | 27d806f | 2019-03-01 18:02:53 +0100 | [diff] [blame] | 429 | |
| 430 | Free named data list (2) |
Gilles Peskine | 88f136f | 2019-09-20 21:06:27 +0200 | [diff] [blame] | 431 | free_named_data_list:2 |