2 * Fast implementation of the MD5 message-digest algorithm as per RFC
3 * (see http://tools.ietf.org/html/rfc1321)
5 * Author: Joao Inacio <jcinacio at gmail.com>
6 * License: Use and share as you wish at your own risk, please keep this header ;)
9 * - For lengths < 16, transformation steps are "unrolled" using macros/defines
10 * - Constants used whenever possible, it's the compiler's job to sort them out
11 * - Padding is done on 4-byte words, and memory copied as last resort.
13 * Copyright 2009, 2010 Daniƫl Niggebrugge <niggebrugge@fox-it.com>
14 * Copyright 2009, 2010 James Nobis <frt@quelrod.net>
16 * This file is part of rcracki_mt.
18 * rcracki_mt is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation, either version 2 of the License, or
21 * (at your option) any later version.
23 * rcracki_mt is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
28 * You should have received a copy of the GNU General Public License
29 * along with rcracki_mt. If not, see <http://www.gnu.org/licenses/>.
37 #define MD5_DIGEST_LENGTH 16
39 void fast_MD5(unsigned char *pData, int len, unsigned char *pDigest);