Major restructuring of the internals of SILC Cipher API
[crypto.git] / lib / silccrypt / des.h
1 /*
2
3   des.h
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 2007 - 2008 Pekka Riikonen
8
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.
12
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.
17
18 */
19
20 #ifndef DES_H
21 #define DES_H
22
23 /*
24  * SILC Crypto API for DES and 3DES
25  */
26
27 SILC_CIPHER_API_SET_KEY(des);
28 SILC_CIPHER_API_SET_IV(des);
29 SILC_CIPHER_API_INIT(des);
30 SILC_CIPHER_API_UNINIT(des);
31 SILC_CIPHER_API_ENCRYPT(des);
32 SILC_CIPHER_API_DECRYPT(des);
33
34 SILC_CIPHER_API_SET_KEY(3des);
35 SILC_CIPHER_API_SET_IV(3des);
36 SILC_CIPHER_API_INIT(3des);
37 SILC_CIPHER_API_UNINIT(3des);
38 SILC_CIPHER_API_ENCRYPT(3des);
39 SILC_CIPHER_API_DECRYPT(3des);
40
41 #endif /* DES_H */