5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 1997 - 2003 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.
24 * SILC PKCS API for RSA
27 SILC_PKCS_API_INIT(rsa);
28 SILC_PKCS_API_CLEAR_KEYS(rsa);
29 SILC_PKCS_API_GET_PUBLIC_KEY(rsa);
30 SILC_PKCS_API_GET_PRIVATE_KEY(rsa);
31 SILC_PKCS_API_SET_PUBLIC_KEY(rsa);
32 SILC_PKCS_API_SET_PRIVATE_KEY(rsa);
33 SILC_PKCS_API_CONTEXT_LEN(rsa);
34 SILC_PKCS_API_ENCRYPT(rsa);
35 SILC_PKCS_API_DECRYPT(rsa);
36 SILC_PKCS_API_SIGN(rsa);
37 SILC_PKCS_API_VERIFY(rsa);
39 SILC_PKCS_API_ENCRYPT(pkcs1);
40 SILC_PKCS_API_DECRYPT(pkcs1);
41 SILC_PKCS_API_SIGN(pkcs1);
42 SILC_PKCS_API_VERIFY(pkcs1);