5f8262fa80f85c7194c6c8bec9b2c1b3c9e060b9
[silc.git] / lib / silccrypt / rsa.h
1 /*
2
3   rsa.h
4
5   Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6
7   Copyright (C) 1997 - 2000 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; either version 2 of the License, or
12   (at your option) any later version.
13   
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19 */
20
21 #ifndef RSA_H
22 #define RSA_H
23
24 /*
25  * SILC PKCS API for RSA
26  */
27
28 SILC_PKCS_API_INIT(rsa);
29 SILC_PKCS_API_CLEAR_KEYS(rsa);
30 SILC_PKCS_API_GET_PUBLIC_KEY(rsa);
31 SILC_PKCS_API_GET_PRIVATE_KEY(rsa);
32 SILC_PKCS_API_SET_PUBLIC_KEY(rsa);
33 SILC_PKCS_API_SET_PRIVATE_KEY(rsa);
34 SILC_PKCS_API_CONTEXT_LEN(rsa);
35 SILC_PKCS_API_ENCRYPT(rsa);
36 SILC_PKCS_API_DECRYPT(rsa);
37 SILC_PKCS_API_SIGN(rsa);
38 SILC_PKCS_API_VERIFY(rsa);
39
40
41 #endif