5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2008 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 TWOFISH_INTERNAL_H
21 #define TWOFISH_INTERNAL_H
23 #include "ciphers_def.h"
25 /* Cipher's context */
33 int twofish_setup(const unsigned char *key, int keylen, int num_rounds,
35 int twofish_encrypt(const SilcUInt32 pt[4], SilcUInt32 ct[4],
37 int twofish_decrypt(const SilcUInt32 ct[4], SilcUInt32 pt[4],
40 #endif /* TWOFISH_INTERNAL_H */