Debian Codegraph @

src/core/ntproba.h

raw symbols SCIP
1 /*
2 *
3 * Ophcrack is a Lanmanager/NTLM hash cracker based on the faster time-memory
4 * trade-off using rainbow tables.
5 *
6 * Created with the help of: Maxime Mueller, Luca Wullschleger, Claude
7 * Hochreutiner, Andreas Huber and Etienne Dysli.
8 *
9 * Copyright (c) 2013 Philippe Oechslin, Cedric Tissieres,
10 * Bertrand Mesot, Pierre Lestringant
11 *
12 * Ophcrack is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * Ophcrack is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Ophcrack; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
26 * This program is released under the GPL with the additional exemption
27 * that compiling, linking, and/or using OpenSSL is allowed.
28 *
29 *
30 *
31 *
32 */
33 #ifndef NTPROBA_H
34 #define NTPROBA_H
35
36 #include "table.h"
37
38 static const uint64_t ntprobafree_sizes[8] = { 3, 131076, 90178767, 120238356, 90186573, 120248764, 90172467, 120229956};
39 static const uint64_t ntproba10g_sizes[10] = { 4, 2097156, 1190375745, 1587167660, 1190385840, 1587181120, 1190415414, 1587220552, 1190490027, 1587320036};
40 static const uint64_t ntproba60g_sizes[10] = { 4, 16777220, 5742439644, 9570732740, 5742564921, 9570941535, 5742605898, 9571009830, 5742597219, 9570995365};
41
42 int ntproba_setup(void *tbl_);
43 void *ntproba_init(void *tbl_);
44 void ntproba_cleanup(void *tbl_);
45
46 void ntproba_find(void *hsh_, void *tbl_, void *el_);
47 int ntproba_check(void *hsh_, void *tbl_, void *el_);
48 int ntproba_isvalid(void *hsh_, void *tbl_);
49
50 int ntproba_lookup_idx(void *hsh_, void *tbl_, void *el_);
51 int ntproba_lookup_end(void *hsh_, void *tbl_, void *el_);
52 int ntproba_lookup_srt(void *hsh_, void *tbl_, void *el_);
53
54 #endif