5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2007 Pekka Riikonen
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
20 #ifndef SHA512_INTERNAL_H
21 #define SHA512_INTERNAL_H
27 unsigned char buf[128];
30 int sha512_init(sha512_state * md);
31 int sha512_process(sha512_state * md, const unsigned char *in,
33 int sha512_done(sha512_state * md, unsigned char *hash);
34 void sha512_transform(SilcUInt64 *state, unsigned char *buf);
36 #endif /* SHA512_INTERNAL_H */