Debian Codegraph @

include/hashsum.h

raw symbols SCIP
1 /*
2 * AIDE (Advanced Intrusion Detection Environment)
3 *
4 * Copyright (C) 2020,2022,2024,2025 Hannes von Haugwitz
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21 #ifndef _HASHSUM_H_INCLUDED
22 #define _HASHSUM_H_INCLUDEDcxx . . $ `include/hashsum.h:22:9`!
23
24 #include "attributes.h"cxx . . $ `<file>/include/attributes.h`/
25 #include <stdbool.h>
26
27 typedef structcxx . . $ $anonymous_type_76c4ad3622101c33_0# {
28 ATTRIBUTEcxx . . $ ATTRIBUTE# attributecxx . . $ $anonymous_type_76c4ad3622101c33_0#attribute.;
29 int lengthcxx . . $ $anonymous_type_76c4ad3622101c33_0#length.;
30 } hashsum_tcxx . . $ hashsum_t#;
31
32 typedef enumcxx . . $ $anonymous_type_76c4ad3622101c33_1# {
33 hash_md5cxx . . $ hash_md5.=0,
34 hash_sha1cxx . . $ hash_sha1.,
35 hash_sha256cxx . . $ hash_sha256.,
36 hash_sha512cxx . . $ hash_sha512.,
37 hash_rmd160cxx . . $ hash_rmd160.,
38 hash_tigercxx . . $ hash_tiger.,
39 hash_crc32cxx . . $ hash_crc32.,
40 hash_crc32bcxx . . $ hash_crc32b.,
41 hash_havalcxx . . $ hash_haval.,
42 hash_whirlpoolcxx . . $ hash_whirlpool.,
43 hash_gostr3411_94cxx . . $ hash_gostr3411_94.,
44 hash_stribog256cxx . . $ hash_stribog256.,
45 hash_stribog512cxx . . $ hash_stribog512.,
46 hash_sha512_256cxx . . $ hash_sha512_256.,
47 hash_sha3_256cxx . . $ hash_sha3_256.,
48 hash_sha3_512cxx . . $ hash_sha3_512.,
49 num_hashescxx . . $ num_hashes.,
50 } HASHSUMcxx . . $ HASHSUM#;
51
52 /* max length of hashsum in hashsums[] defined in hashsum.c */
53 #define HASHSUM_MAX_LENGTHcxx . . $ `include/hashsum.h:53:9`! 64
54
55 extern hashsum_tcxx . . $ hashsum_t# hashsumscxx . . $ hashsums.[];
56
57 extern int algorithmscxx . . $ algorithms.[];
58
59 extern DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! DEPRECATED_HASHEScxx . . $ DEPRECATED_HASHES.;
60 extern DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! REMOVED_HASHEScxx . . $ REMOVED_HASHES.;
61
62 void init_hashsum_libcxx . . $ init_hashsum_lib(49f6e7a06ebc5aa8).(void);
63
64 DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! get_hashescxx . . $ get_hashes(48b6f722ee11d9bd).(boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`!);
65
66 DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! validate_hashescxx . . $ validate_hashes(ee42c3dd4b883080).(DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!, int, char*, char*);
67
68 DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! get_transition_hashsumscxx . . $ get_transition_hashsums(d940f40586ac8d6a).(char *, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!, char *, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!);
69 DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! get_hashsums_to_ignorecxx . . $ get_hashsums_to_ignore(d940f40586ac8d6a).(char *, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!, char *, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!);
70
71 #endif /* _HASHSUM_H_INCLUDED */