4 * \brief Public Key abstraction layer: wrapper functions
6 * Copyright (C) 2006-2013, ARM Limited, All Rights Reserved
8 * This file is part of mbed TLS (https://polarssl.org)
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License along
21 * with this program; if not, write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 #ifndef POLARSSL_PK_WRAP_H
26 #define POLARSSL_PK_WRAP_H
28 #if !defined(POLARSSL_CONFIG_FILE)
31 #include POLARSSL_CONFIG_FILE
36 /* Container for RSA-alt */
40 pk_rsa_alt_decrypt_func decrypt_func
;
41 pk_rsa_alt_sign_func sign_func
;
42 pk_rsa_alt_key_len_func key_len_func
;
45 #if defined(POLARSSL_RSA_C)
46 extern const pk_info_t rsa_info
;
49 #if defined(POLARSSL_ECP_C)
50 extern const pk_info_t eckey_info
;
51 extern const pk_info_t eckeydh_info
;
54 #if defined(POLARSSL_ECDSA_C)
55 extern const pk_info_t ecdsa_info
;
58 extern const pk_info_t rsa_alt_info
;
60 #endif /* POLARSSL_PK_WRAP_H */