]>
Commit | Line | Data |
---|---|---|
0f113f3e | 1 | /* |
e0f96357 RL |
2 | * WARNING: do not edit! |
3 | * Generated by crypto/conf/keysets.pl | |
4 | * | |
51adf14a | 5 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
2044d382 | 6 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
e0f96357 RL |
7 | * this file except in compliance with the License. You can obtain a copy |
8 | * in the file LICENSE in the source distribution or at | |
9 | * https://www.openssl.org/source/license.html | |
0f113f3e | 10 | */ |
d86b6915 | 11 | |
69e2b8d6 RS |
12 | #define CONF_NUMBER 1 |
13 | #define CONF_UPPER 2 | |
14 | #define CONF_LOWER 4 | |
15 | #define CONF_UNDER 256 | |
16 | #define CONF_PUNCT 512 | |
17 | #define CONF_WS 16 | |
18 | #define CONF_ESC 32 | |
19 | #define CONF_QUOTE 64 | |
20 | #define CONF_DQUOTE 1024 | |
21 | #define CONF_COMMENT 128 | |
22 | #define CONF_FCOMMENT 2048 | |
0255c174 | 23 | #define CONF_DOLLAR 4096 |
69e2b8d6 | 24 | #define CONF_EOF 8 |
69e2b8d6 RS |
25 | #define CONF_ALPHA (CONF_UPPER|CONF_LOWER) |
26 | #define CONF_ALNUM (CONF_ALPHA|CONF_NUMBER|CONF_UNDER) | |
27 | #define CONF_ALNUM_PUNCT (CONF_ALPHA|CONF_NUMBER|CONF_UNDER|CONF_PUNCT) | |
d02b48c6 | 28 | |
a53955d8 | 29 | |
a9b7a06e DMSP |
30 | #define IS_COMMENT(conf,c) is_keytype(conf, c, CONF_COMMENT) |
31 | #define IS_FCOMMENT(conf,c) is_keytype(conf, c, CONF_FCOMMENT) | |
32 | #define IS_EOF(conf,c) is_keytype(conf, c, CONF_EOF) | |
33 | #define IS_ESC(conf,c) is_keytype(conf, c, CONF_ESC) | |
34 | #define IS_NUMBER(conf,c) is_keytype(conf, c, CONF_NUMBER) | |
35 | #define IS_WS(conf,c) is_keytype(conf, c, CONF_WS) | |
36 | #define IS_ALNUM(conf,c) is_keytype(conf, c, CONF_ALNUM) | |
37 | #define IS_ALNUM_PUNCT(conf,c) is_keytype(conf, c, CONF_ALNUM_PUNCT) | |
38 | #define IS_QUOTE(conf,c) is_keytype(conf, c, CONF_QUOTE) | |
39 | #define IS_DQUOTE(conf,c) is_keytype(conf, c, CONF_DQUOTE) | |
0255c174 | 40 | #define IS_DOLLAR(conf,c) is_keytype(conf, c, CONF_DOLLAR) |
d02b48c6 | 41 | |
92565101 | 42 | static const unsigned short CONF_type_default[128] = { |
0f113f3e MC |
43 | 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
44 | 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, | |
45 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
46 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
0255c174 | 47 | 0x0010, 0x0200, 0x0040, 0x0080, 0x1000, 0x0200, 0x0200, 0x0040, |
0f113f3e MC |
48 | 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, |
49 | 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, | |
50 | 0x0001, 0x0001, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x0200, | |
51 | 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
52 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
53 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
54 | 0x0002, 0x0002, 0x0002, 0x0000, 0x0020, 0x0000, 0x0200, 0x0100, | |
55 | 0x0040, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
56 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
57 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
58 | 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000, | |
0f113f3e | 59 | }; |
d86b6915 | 60 | |
936c2b9e | 61 | #ifndef OPENSSL_NO_DEPRECATED_3_0 |
92565101 | 62 | static const unsigned short CONF_type_win32[128] = { |
0f113f3e MC |
63 | 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
64 | 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, | |
65 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
66 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
0255c174 | 67 | 0x0010, 0x0200, 0x0400, 0x0000, 0x1000, 0x0200, 0x0200, 0x0000, |
0f113f3e MC |
68 | 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, |
69 | 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, | |
70 | 0x0001, 0x0001, 0x0000, 0x0A00, 0x0000, 0x0000, 0x0000, 0x0200, | |
71 | 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
72 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
73 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
74 | 0x0002, 0x0002, 0x0002, 0x0000, 0x0000, 0x0000, 0x0200, 0x0100, | |
75 | 0x0000, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
76 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
77 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
78 | 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000, | |
0f113f3e | 79 | }; |
7cfc0a55 | 80 | #endif |