A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.
Dependents: HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL
cyassl/openssl/ssl.h@0:b86d15c6ba29, 2015-01-19 (annotated)
- Committer:
- Vanger
- Date:
- Mon Jan 19 21:45:42 2015 +0000
- Revision:
- 0:b86d15c6ba29
Updated CyaSSL Library to 3.3.0. Changed Settings and functions to be implemented for mbed platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vanger | 0:b86d15c6ba29 | 1 | /* ssl.h |
Vanger | 0:b86d15c6ba29 | 2 | * |
Vanger | 0:b86d15c6ba29 | 3 | * Copyright (C) 2006-2014 wolfSSL Inc. |
Vanger | 0:b86d15c6ba29 | 4 | * |
Vanger | 0:b86d15c6ba29 | 5 | * This file is part of CyaSSL. |
Vanger | 0:b86d15c6ba29 | 6 | * |
Vanger | 0:b86d15c6ba29 | 7 | * CyaSSL is free software; you can redistribute it and/or modify |
Vanger | 0:b86d15c6ba29 | 8 | * it under the terms of the GNU General Public License as published by |
Vanger | 0:b86d15c6ba29 | 9 | * the Free Software Foundation; either version 2 of the License, or |
Vanger | 0:b86d15c6ba29 | 10 | * (at your option) any later version. |
Vanger | 0:b86d15c6ba29 | 11 | * |
Vanger | 0:b86d15c6ba29 | 12 | * CyaSSL is distributed in the hope that it will be useful, |
Vanger | 0:b86d15c6ba29 | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
Vanger | 0:b86d15c6ba29 | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Vanger | 0:b86d15c6ba29 | 15 | * GNU General Public License for more details. |
Vanger | 0:b86d15c6ba29 | 16 | * |
Vanger | 0:b86d15c6ba29 | 17 | * You should have received a copy of the GNU General Public License |
Vanger | 0:b86d15c6ba29 | 18 | * a with this program; if not, write to the Free Software |
Vanger | 0:b86d15c6ba29 | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
Vanger | 0:b86d15c6ba29 | 20 | */ |
Vanger | 0:b86d15c6ba29 | 21 | |
Vanger | 0:b86d15c6ba29 | 22 | |
Vanger | 0:b86d15c6ba29 | 23 | /* ssl.h defines openssl compatibility layer |
Vanger | 0:b86d15c6ba29 | 24 | * |
Vanger | 0:b86d15c6ba29 | 25 | */ |
Vanger | 0:b86d15c6ba29 | 26 | |
Vanger | 0:b86d15c6ba29 | 27 | |
Vanger | 0:b86d15c6ba29 | 28 | #ifndef CYASSL_OPENSSL_H_ |
Vanger | 0:b86d15c6ba29 | 29 | #define CYASSL_OPENSSL_H_ |
Vanger | 0:b86d15c6ba29 | 30 | |
Vanger | 0:b86d15c6ba29 | 31 | #include <cyassl/ssl.h> |
Vanger | 0:b86d15c6ba29 | 32 | |
Vanger | 0:b86d15c6ba29 | 33 | #ifdef __cplusplus |
Vanger | 0:b86d15c6ba29 | 34 | extern "C" { |
Vanger | 0:b86d15c6ba29 | 35 | #endif |
Vanger | 0:b86d15c6ba29 | 36 | |
Vanger | 0:b86d15c6ba29 | 37 | #ifdef _WIN32 |
Vanger | 0:b86d15c6ba29 | 38 | /* wincrypt.h clashes */ |
Vanger | 0:b86d15c6ba29 | 39 | #undef X509_NAME |
Vanger | 0:b86d15c6ba29 | 40 | #endif |
Vanger | 0:b86d15c6ba29 | 41 | |
Vanger | 0:b86d15c6ba29 | 42 | |
Vanger | 0:b86d15c6ba29 | 43 | typedef CYASSL SSL; |
Vanger | 0:b86d15c6ba29 | 44 | typedef CYASSL_SESSION SSL_SESSION; |
Vanger | 0:b86d15c6ba29 | 45 | typedef CYASSL_METHOD SSL_METHOD; |
Vanger | 0:b86d15c6ba29 | 46 | typedef CYASSL_CTX SSL_CTX; |
Vanger | 0:b86d15c6ba29 | 47 | |
Vanger | 0:b86d15c6ba29 | 48 | typedef CYASSL_X509 X509; |
Vanger | 0:b86d15c6ba29 | 49 | typedef CYASSL_X509_NAME X509_NAME; |
Vanger | 0:b86d15c6ba29 | 50 | typedef CYASSL_X509_CHAIN X509_CHAIN; |
Vanger | 0:b86d15c6ba29 | 51 | |
Vanger | 0:b86d15c6ba29 | 52 | |
Vanger | 0:b86d15c6ba29 | 53 | /* redeclare guard */ |
Vanger | 0:b86d15c6ba29 | 54 | #define CYASSL_TYPES_DEFINED |
Vanger | 0:b86d15c6ba29 | 55 | |
Vanger | 0:b86d15c6ba29 | 56 | |
Vanger | 0:b86d15c6ba29 | 57 | typedef CYASSL_EVP_PKEY EVP_PKEY; |
Vanger | 0:b86d15c6ba29 | 58 | typedef CYASSL_RSA RSA; |
Vanger | 0:b86d15c6ba29 | 59 | typedef CYASSL_DSA DSA; |
Vanger | 0:b86d15c6ba29 | 60 | typedef CYASSL_BIO BIO; |
Vanger | 0:b86d15c6ba29 | 61 | typedef CYASSL_BIO_METHOD BIO_METHOD; |
Vanger | 0:b86d15c6ba29 | 62 | typedef CYASSL_CIPHER SSL_CIPHER; |
Vanger | 0:b86d15c6ba29 | 63 | typedef CYASSL_X509_LOOKUP X509_LOOKUP; |
Vanger | 0:b86d15c6ba29 | 64 | typedef CYASSL_X509_LOOKUP_METHOD X509_LOOKUP_METHOD; |
Vanger | 0:b86d15c6ba29 | 65 | typedef CYASSL_X509_CRL X509_CRL; |
Vanger | 0:b86d15c6ba29 | 66 | typedef CYASSL_X509_EXTENSION X509_EXTENSION; |
Vanger | 0:b86d15c6ba29 | 67 | typedef CYASSL_ASN1_TIME ASN1_TIME; |
Vanger | 0:b86d15c6ba29 | 68 | typedef CYASSL_ASN1_INTEGER ASN1_INTEGER; |
Vanger | 0:b86d15c6ba29 | 69 | typedef CYASSL_ASN1_OBJECT ASN1_OBJECT; |
Vanger | 0:b86d15c6ba29 | 70 | typedef CYASSL_ASN1_STRING ASN1_STRING; |
Vanger | 0:b86d15c6ba29 | 71 | typedef CYASSL_dynlock_value CRYPTO_dynlock_value; |
Vanger | 0:b86d15c6ba29 | 72 | |
Vanger | 0:b86d15c6ba29 | 73 | #define ASN1_UTCTIME CYASSL_ASN1_TIME |
Vanger | 0:b86d15c6ba29 | 74 | |
Vanger | 0:b86d15c6ba29 | 75 | typedef CYASSL_MD4_CTX MD4_CTX; |
Vanger | 0:b86d15c6ba29 | 76 | typedef CYASSL_COMP_METHOD COMP_METHOD; |
Vanger | 0:b86d15c6ba29 | 77 | typedef CYASSL_X509_STORE X509_STORE; |
Vanger | 0:b86d15c6ba29 | 78 | typedef CYASSL_X509_REVOKED X509_REVOKED; |
Vanger | 0:b86d15c6ba29 | 79 | typedef CYASSL_X509_OBJECT X509_OBJECT; |
Vanger | 0:b86d15c6ba29 | 80 | typedef CYASSL_X509_STORE_CTX X509_STORE_CTX; |
Vanger | 0:b86d15c6ba29 | 81 | |
Vanger | 0:b86d15c6ba29 | 82 | |
Vanger | 0:b86d15c6ba29 | 83 | #define SSLv3_server_method CyaSSLv3_server_method |
Vanger | 0:b86d15c6ba29 | 84 | #define SSLv3_client_method CyaSSLv3_client_method |
Vanger | 0:b86d15c6ba29 | 85 | #define TLSv1_server_method CyaTLSv1_server_method |
Vanger | 0:b86d15c6ba29 | 86 | #define TLSv1_client_method CyaTLSv1_client_method |
Vanger | 0:b86d15c6ba29 | 87 | #define TLSv1_1_server_method CyaTLSv1_1_server_method |
Vanger | 0:b86d15c6ba29 | 88 | #define TLSv1_1_client_method CyaTLSv1_1_client_method |
Vanger | 0:b86d15c6ba29 | 89 | #define TLSv1_2_server_method CyaTLSv1_2_server_method |
Vanger | 0:b86d15c6ba29 | 90 | #define TLSv1_2_client_method CyaTLSv1_2_client_method |
Vanger | 0:b86d15c6ba29 | 91 | |
Vanger | 0:b86d15c6ba29 | 92 | #ifdef CYASSL_DTLS |
Vanger | 0:b86d15c6ba29 | 93 | #define DTLSv1_client_method CyaDTLSv1_client_method |
Vanger | 0:b86d15c6ba29 | 94 | #define DTLSv1_server_method CyaDTLSv1_server_method |
Vanger | 0:b86d15c6ba29 | 95 | #define DTLSv1_2_client_method CyaDTLSv1_2_client_method |
Vanger | 0:b86d15c6ba29 | 96 | #define DTLSv1_2_server_method CyaDTLSv1_2_server_method |
Vanger | 0:b86d15c6ba29 | 97 | #endif |
Vanger | 0:b86d15c6ba29 | 98 | |
Vanger | 0:b86d15c6ba29 | 99 | |
Vanger | 0:b86d15c6ba29 | 100 | #ifndef NO_FILESYSTEM |
Vanger | 0:b86d15c6ba29 | 101 | #define SSL_CTX_use_certificate_file CyaSSL_CTX_use_certificate_file |
Vanger | 0:b86d15c6ba29 | 102 | #define SSL_CTX_use_PrivateKey_file CyaSSL_CTX_use_PrivateKey_file |
Vanger | 0:b86d15c6ba29 | 103 | #define SSL_CTX_load_verify_locations CyaSSL_CTX_load_verify_locations |
Vanger | 0:b86d15c6ba29 | 104 | #define SSL_CTX_use_certificate_chain_file CyaSSL_CTX_use_certificate_chain_file |
Vanger | 0:b86d15c6ba29 | 105 | #define SSL_CTX_use_RSAPrivateKey_file CyaSSL_CTX_use_RSAPrivateKey_file |
Vanger | 0:b86d15c6ba29 | 106 | |
Vanger | 0:b86d15c6ba29 | 107 | #define SSL_use_certificate_file CyaSSL_use_certificate_file |
Vanger | 0:b86d15c6ba29 | 108 | #define SSL_use_PrivateKey_file CyaSSL_use_PrivateKey_file |
Vanger | 0:b86d15c6ba29 | 109 | #define SSL_use_certificate_chain_file CyaSSL_use_certificate_chain_file |
Vanger | 0:b86d15c6ba29 | 110 | #define SSL_use_RSAPrivateKey_file CyaSSL_use_RSAPrivateKey_file |
Vanger | 0:b86d15c6ba29 | 111 | #endif |
Vanger | 0:b86d15c6ba29 | 112 | |
Vanger | 0:b86d15c6ba29 | 113 | #define SSL_CTX_new CyaSSL_CTX_new |
Vanger | 0:b86d15c6ba29 | 114 | #define SSL_new CyaSSL_new |
Vanger | 0:b86d15c6ba29 | 115 | #define SSL_set_fd CyaSSL_set_fd |
Vanger | 0:b86d15c6ba29 | 116 | #define SSL_get_fd CyaSSL_get_fd |
Vanger | 0:b86d15c6ba29 | 117 | #define SSL_connect CyaSSL_connect |
Vanger | 0:b86d15c6ba29 | 118 | |
Vanger | 0:b86d15c6ba29 | 119 | #define SSL_write CyaSSL_write |
Vanger | 0:b86d15c6ba29 | 120 | #define SSL_read CyaSSL_read |
Vanger | 0:b86d15c6ba29 | 121 | #define SSL_peek CyaSSL_peek |
Vanger | 0:b86d15c6ba29 | 122 | #define SSL_accept CyaSSL_accept |
Vanger | 0:b86d15c6ba29 | 123 | #define SSL_CTX_free CyaSSL_CTX_free |
Vanger | 0:b86d15c6ba29 | 124 | #define SSL_free CyaSSL_free |
Vanger | 0:b86d15c6ba29 | 125 | #define SSL_shutdown CyaSSL_shutdown |
Vanger | 0:b86d15c6ba29 | 126 | |
Vanger | 0:b86d15c6ba29 | 127 | #define SSL_CTX_set_quiet_shutdown CyaSSL_CTX_set_quiet_shutdown |
Vanger | 0:b86d15c6ba29 | 128 | #define SSL_set_quiet_shutdown CyaSSL_set_quiet_shutdown |
Vanger | 0:b86d15c6ba29 | 129 | #define SSL_get_error CyaSSL_get_error |
Vanger | 0:b86d15c6ba29 | 130 | #define SSL_set_session CyaSSL_set_session |
Vanger | 0:b86d15c6ba29 | 131 | #define SSL_get_session CyaSSL_get_session |
Vanger | 0:b86d15c6ba29 | 132 | #define SSL_flush_sessions CyaSSL_flush_sessions |
Vanger | 0:b86d15c6ba29 | 133 | |
Vanger | 0:b86d15c6ba29 | 134 | #define SSL_CTX_set_verify CyaSSL_CTX_set_verify |
Vanger | 0:b86d15c6ba29 | 135 | #define SSL_set_verify CyaSSL_set_verify |
Vanger | 0:b86d15c6ba29 | 136 | #define SSL_pending CyaSSL_pending |
Vanger | 0:b86d15c6ba29 | 137 | #define SSL_load_error_strings CyaSSL_load_error_strings |
Vanger | 0:b86d15c6ba29 | 138 | #define SSL_library_init CyaSSL_library_init |
Vanger | 0:b86d15c6ba29 | 139 | #define SSL_CTX_set_session_cache_mode CyaSSL_CTX_set_session_cache_mode |
Vanger | 0:b86d15c6ba29 | 140 | #define SSL_CTX_set_cipher_list CyaSSL_CTX_set_cipher_list |
Vanger | 0:b86d15c6ba29 | 141 | #define SSL_set_cipher_list CyaSSL_set_cipher_list |
Vanger | 0:b86d15c6ba29 | 142 | |
Vanger | 0:b86d15c6ba29 | 143 | #define ERR_error_string CyaSSL_ERR_error_string |
Vanger | 0:b86d15c6ba29 | 144 | #define ERR_error_string_n CyaSSL_ERR_error_string_n |
Vanger | 0:b86d15c6ba29 | 145 | #define ERR_reason_error_string CyaSSL_ERR_reason_error_string |
Vanger | 0:b86d15c6ba29 | 146 | |
Vanger | 0:b86d15c6ba29 | 147 | #define SSL_set_ex_data CyaSSL_set_ex_data |
Vanger | 0:b86d15c6ba29 | 148 | #define SSL_get_shutdown CyaSSL_get_shutdown |
Vanger | 0:b86d15c6ba29 | 149 | #define SSL_set_rfd CyaSSL_set_rfd |
Vanger | 0:b86d15c6ba29 | 150 | #define SSL_set_wfd CyaSSL_set_wfd |
Vanger | 0:b86d15c6ba29 | 151 | #define SSL_set_shutdown CyaSSL_set_shutdown |
Vanger | 0:b86d15c6ba29 | 152 | #define SSL_set_session_id_context CyaSSL_set_session_id_context |
Vanger | 0:b86d15c6ba29 | 153 | #define SSL_set_connect_state CyaSSL_set_connect_state |
Vanger | 0:b86d15c6ba29 | 154 | #define SSL_set_accept_state CyaSSL_set_accept_state |
Vanger | 0:b86d15c6ba29 | 155 | #define SSL_session_reused CyaSSL_session_reused |
Vanger | 0:b86d15c6ba29 | 156 | #define SSL_SESSION_free CyaSSL_SESSION_free |
Vanger | 0:b86d15c6ba29 | 157 | #define SSL_is_init_finished CyaSSL_is_init_finished |
Vanger | 0:b86d15c6ba29 | 158 | |
Vanger | 0:b86d15c6ba29 | 159 | #define SSL_get_version CyaSSL_get_version |
Vanger | 0:b86d15c6ba29 | 160 | #define SSL_get_current_cipher CyaSSL_get_current_cipher |
Vanger | 0:b86d15c6ba29 | 161 | #define SSL_get_cipher CyaSSL_get_cipher |
Vanger | 0:b86d15c6ba29 | 162 | #define SSL_CIPHER_description CyaSSL_CIPHER_description |
Vanger | 0:b86d15c6ba29 | 163 | #define SSL_CIPHER_get_name CyaSSL_CIPHER_get_name |
Vanger | 0:b86d15c6ba29 | 164 | #define SSL_get1_session CyaSSL_get1_session |
Vanger | 0:b86d15c6ba29 | 165 | |
Vanger | 0:b86d15c6ba29 | 166 | #define SSL_get_keyblock_size CyaSSL_get_keyblock_size |
Vanger | 0:b86d15c6ba29 | 167 | #define SSL_get_keys CyaSSL_get_keys |
Vanger | 0:b86d15c6ba29 | 168 | |
Vanger | 0:b86d15c6ba29 | 169 | #define X509_free CyaSSL_X509_free |
Vanger | 0:b86d15c6ba29 | 170 | #define OPENSSL_free CyaSSL_OPENSSL_free |
Vanger | 0:b86d15c6ba29 | 171 | |
Vanger | 0:b86d15c6ba29 | 172 | #define OCSP_parse_url CyaSSL_OCSP_parse_url |
Vanger | 0:b86d15c6ba29 | 173 | #define SSLv23_client_method CyaSSLv23_client_method |
Vanger | 0:b86d15c6ba29 | 174 | #define SSLv2_client_method CyaSSLv2_client_method |
Vanger | 0:b86d15c6ba29 | 175 | #define SSLv2_server_method CyaSSLv2_server_method |
Vanger | 0:b86d15c6ba29 | 176 | |
Vanger | 0:b86d15c6ba29 | 177 | #define MD4_Init CyaSSL_MD4_Init |
Vanger | 0:b86d15c6ba29 | 178 | #define MD4_Update CyaSSL_MD4_Update |
Vanger | 0:b86d15c6ba29 | 179 | #define MD4_Final CyaSSL_MD4_Final |
Vanger | 0:b86d15c6ba29 | 180 | |
Vanger | 0:b86d15c6ba29 | 181 | #define BIO_new CyaSSL_BIO_new |
Vanger | 0:b86d15c6ba29 | 182 | #define BIO_free CyaSSL_BIO_free |
Vanger | 0:b86d15c6ba29 | 183 | #define BIO_free_all CyaSSL_BIO_free_all |
Vanger | 0:b86d15c6ba29 | 184 | #define BIO_read CyaSSL_BIO_read |
Vanger | 0:b86d15c6ba29 | 185 | #define BIO_write CyaSSL_BIO_write |
Vanger | 0:b86d15c6ba29 | 186 | #define BIO_push CyaSSL_BIO_push |
Vanger | 0:b86d15c6ba29 | 187 | #define BIO_pop CyaSSL_BIO_pop |
Vanger | 0:b86d15c6ba29 | 188 | #define BIO_flush CyaSSL_BIO_flush |
Vanger | 0:b86d15c6ba29 | 189 | #define BIO_pending CyaSSL_BIO_pending |
Vanger | 0:b86d15c6ba29 | 190 | |
Vanger | 0:b86d15c6ba29 | 191 | #define BIO_get_mem_data CyaSSL_BIO_get_mem_data |
Vanger | 0:b86d15c6ba29 | 192 | #define BIO_new_mem_buf CyaSSL_BIO_new_mem_buf |
Vanger | 0:b86d15c6ba29 | 193 | |
Vanger | 0:b86d15c6ba29 | 194 | #define BIO_f_buffer CyaSSL_BIO_f_buffer |
Vanger | 0:b86d15c6ba29 | 195 | #define BIO_set_write_buffer_size CyaSSL_BIO_set_write_buffer_size |
Vanger | 0:b86d15c6ba29 | 196 | #define BIO_f_ssl CyaSSL_BIO_f_ssl |
Vanger | 0:b86d15c6ba29 | 197 | #define BIO_new_socket CyaSSL_BIO_new_socket |
Vanger | 0:b86d15c6ba29 | 198 | #define SSL_set_bio CyaSSL_set_bio |
Vanger | 0:b86d15c6ba29 | 199 | #define BIO_eof CyaSSL_BIO_eof |
Vanger | 0:b86d15c6ba29 | 200 | #define BIO_set_ss CyaSSL_BIO_set_ss |
Vanger | 0:b86d15c6ba29 | 201 | |
Vanger | 0:b86d15c6ba29 | 202 | #define BIO_s_mem CyaSSL_BIO_s_mem |
Vanger | 0:b86d15c6ba29 | 203 | #define BIO_f_base64 CyaSSL_BIO_f_base64 |
Vanger | 0:b86d15c6ba29 | 204 | #define BIO_set_flags CyaSSL_BIO_set_flags |
Vanger | 0:b86d15c6ba29 | 205 | |
Vanger | 0:b86d15c6ba29 | 206 | #define OpenSSL_add_all_algorithms CyaSSL_add_all_algorithms |
Vanger | 0:b86d15c6ba29 | 207 | #define SSLeay_add_ssl_algorithms CyaSSL_add_all_algorithms |
Vanger | 0:b86d15c6ba29 | 208 | #define SSLeay_add_all_algorithms CyaSSL_add_all_algorithms |
Vanger | 0:b86d15c6ba29 | 209 | |
Vanger | 0:b86d15c6ba29 | 210 | #define RAND_screen CyaSSL_RAND_screen |
Vanger | 0:b86d15c6ba29 | 211 | #define RAND_file_name CyaSSL_RAND_file_name |
Vanger | 0:b86d15c6ba29 | 212 | #define RAND_write_file CyaSSL_RAND_write_file |
Vanger | 0:b86d15c6ba29 | 213 | #define RAND_load_file CyaSSL_RAND_load_file |
Vanger | 0:b86d15c6ba29 | 214 | #define RAND_egd CyaSSL_RAND_egd |
Vanger | 0:b86d15c6ba29 | 215 | #define RAND_seed CyaSSL_RAND_seed |
Vanger | 0:b86d15c6ba29 | 216 | #define RAND_add CyaSSL_RAND_add |
Vanger | 0:b86d15c6ba29 | 217 | |
Vanger | 0:b86d15c6ba29 | 218 | #define COMP_zlib CyaSSL_COMP_zlib |
Vanger | 0:b86d15c6ba29 | 219 | #define COMP_rle CyaSSL_COMP_rle |
Vanger | 0:b86d15c6ba29 | 220 | #define SSL_COMP_add_compression_method CyaSSL_COMP_add_compression_method |
Vanger | 0:b86d15c6ba29 | 221 | |
Vanger | 0:b86d15c6ba29 | 222 | #define SSL_get_ex_new_index CyaSSL_get_ex_new_index |
Vanger | 0:b86d15c6ba29 | 223 | |
Vanger | 0:b86d15c6ba29 | 224 | #define CRYPTO_set_id_callback CyaSSL_set_id_callback |
Vanger | 0:b86d15c6ba29 | 225 | #define CRYPTO_set_locking_callback CyaSSL_set_locking_callback |
Vanger | 0:b86d15c6ba29 | 226 | #define CRYPTO_set_dynlock_create_callback CyaSSL_set_dynlock_create_callback |
Vanger | 0:b86d15c6ba29 | 227 | #define CRYPTO_set_dynlock_lock_callback CyaSSL_set_dynlock_lock_callback |
Vanger | 0:b86d15c6ba29 | 228 | #define CRYPTO_set_dynlock_destroy_callback CyaSSL_set_dynlock_destroy_callback |
Vanger | 0:b86d15c6ba29 | 229 | #define CRYPTO_num_locks CyaSSL_num_locks |
Vanger | 0:b86d15c6ba29 | 230 | |
Vanger | 0:b86d15c6ba29 | 231 | #define X509_STORE_CTX_get_current_cert CyaSSL_X509_STORE_CTX_get_current_cert |
Vanger | 0:b86d15c6ba29 | 232 | #define X509_STORE_CTX_get_error CyaSSL_X509_STORE_CTX_get_error |
Vanger | 0:b86d15c6ba29 | 233 | #define X509_STORE_CTX_get_error_depth CyaSSL_X509_STORE_CTX_get_error_depth |
Vanger | 0:b86d15c6ba29 | 234 | |
Vanger | 0:b86d15c6ba29 | 235 | #define X509_NAME_oneline CyaSSL_X509_NAME_oneline |
Vanger | 0:b86d15c6ba29 | 236 | #define X509_get_issuer_name CyaSSL_X509_get_issuer_name |
Vanger | 0:b86d15c6ba29 | 237 | #define X509_get_subject_name CyaSSL_X509_get_subject_name |
Vanger | 0:b86d15c6ba29 | 238 | #define X509_verify_cert_error_string CyaSSL_X509_verify_cert_error_string |
Vanger | 0:b86d15c6ba29 | 239 | |
Vanger | 0:b86d15c6ba29 | 240 | #define X509_LOOKUP_add_dir CyaSSL_X509_LOOKUP_add_dir |
Vanger | 0:b86d15c6ba29 | 241 | #define X509_LOOKUP_load_file CyaSSL_X509_LOOKUP_load_file |
Vanger | 0:b86d15c6ba29 | 242 | #define X509_LOOKUP_hash_dir CyaSSL_X509_LOOKUP_hash_dir |
Vanger | 0:b86d15c6ba29 | 243 | #define X509_LOOKUP_file CyaSSL_X509_LOOKUP_file |
Vanger | 0:b86d15c6ba29 | 244 | |
Vanger | 0:b86d15c6ba29 | 245 | #define X509_STORE_add_lookup CyaSSL_X509_STORE_add_lookup |
Vanger | 0:b86d15c6ba29 | 246 | #define X509_STORE_new CyaSSL_X509_STORE_new |
Vanger | 0:b86d15c6ba29 | 247 | #define X509_STORE_get_by_subject CyaSSL_X509_STORE_get_by_subject |
Vanger | 0:b86d15c6ba29 | 248 | #define X509_STORE_CTX_init CyaSSL_X509_STORE_CTX_init |
Vanger | 0:b86d15c6ba29 | 249 | #define X509_STORE_CTX_cleanup CyaSSL_X509_STORE_CTX_cleanup |
Vanger | 0:b86d15c6ba29 | 250 | |
Vanger | 0:b86d15c6ba29 | 251 | #define X509_CRL_get_lastUpdate CyaSSL_X509_CRL_get_lastUpdate |
Vanger | 0:b86d15c6ba29 | 252 | #define X509_CRL_get_nextUpdate CyaSSL_X509_CRL_get_nextUpdate |
Vanger | 0:b86d15c6ba29 | 253 | |
Vanger | 0:b86d15c6ba29 | 254 | #define X509_get_pubkey CyaSSL_X509_get_pubkey |
Vanger | 0:b86d15c6ba29 | 255 | #define X509_CRL_verify CyaSSL_X509_CRL_verify |
Vanger | 0:b86d15c6ba29 | 256 | #define X509_STORE_CTX_set_error CyaSSL_X509_STORE_CTX_set_error |
Vanger | 0:b86d15c6ba29 | 257 | #define X509_OBJECT_free_contents CyaSSL_X509_OBJECT_free_contents |
Vanger | 0:b86d15c6ba29 | 258 | #define EVP_PKEY_free CyaSSL_EVP_PKEY_free |
Vanger | 0:b86d15c6ba29 | 259 | #define X509_cmp_current_time CyaSSL_X509_cmp_current_time |
Vanger | 0:b86d15c6ba29 | 260 | #define sk_X509_REVOKED_num CyaSSL_sk_X509_REVOKED_num |
Vanger | 0:b86d15c6ba29 | 261 | #define X509_CRL_get_REVOKED CyaSSL_X509_CRL_get_REVOKED |
Vanger | 0:b86d15c6ba29 | 262 | #define sk_X509_REVOKED_value CyaSSL_sk_X509_REVOKED_value |
Vanger | 0:b86d15c6ba29 | 263 | |
Vanger | 0:b86d15c6ba29 | 264 | #define X509_get_serialNumber CyaSSL_X509_get_serialNumber |
Vanger | 0:b86d15c6ba29 | 265 | |
Vanger | 0:b86d15c6ba29 | 266 | #define ASN1_TIME_pr CyaSSL_ASN1_TIME_pr |
Vanger | 0:b86d15c6ba29 | 267 | |
Vanger | 0:b86d15c6ba29 | 268 | #define ASN1_INTEGER_cmp CyaSSL_ASN1_INTEGER_cmp |
Vanger | 0:b86d15c6ba29 | 269 | #define ASN1_INTEGER_get CyaSSL_ASN1_INTEGER_get |
Vanger | 0:b86d15c6ba29 | 270 | |
Vanger | 0:b86d15c6ba29 | 271 | #define SSL_load_client_CA_file CyaSSL_load_client_CA_file |
Vanger | 0:b86d15c6ba29 | 272 | |
Vanger | 0:b86d15c6ba29 | 273 | #define SSL_CTX_set_client_CA_list CyaSSL_CTX_set_client_CA_list |
Vanger | 0:b86d15c6ba29 | 274 | #define X509_STORE_CTX_get_ex_data CyaSSL_X509_STORE_CTX_get_ex_data |
Vanger | 0:b86d15c6ba29 | 275 | #define SSL_get_ex_data_X509_STORE_CTX_idx CyaSSL_get_ex_data_X509_STORE_CTX_idx |
Vanger | 0:b86d15c6ba29 | 276 | #define SSL_get_ex_data CyaSSL_get_ex_data |
Vanger | 0:b86d15c6ba29 | 277 | |
Vanger | 0:b86d15c6ba29 | 278 | #define SSL_CTX_set_default_passwd_cb_userdata CyaSSL_CTX_set_default_passwd_cb_userdata |
Vanger | 0:b86d15c6ba29 | 279 | #define SSL_CTX_set_default_passwd_cb CyaSSL_CTX_set_default_passwd_cb |
Vanger | 0:b86d15c6ba29 | 280 | |
Vanger | 0:b86d15c6ba29 | 281 | #define SSL_CTX_set_timeout CyaSSL_CTX_set_timeout |
Vanger | 0:b86d15c6ba29 | 282 | #define SSL_CTX_set_info_callback CyaSSL_CTX_set_info_callback |
Vanger | 0:b86d15c6ba29 | 283 | |
Vanger | 0:b86d15c6ba29 | 284 | #define ERR_peek_error CyaSSL_ERR_peek_error |
Vanger | 0:b86d15c6ba29 | 285 | #define ERR_GET_REASON CyaSSL_ERR_GET_REASON |
Vanger | 0:b86d15c6ba29 | 286 | |
Vanger | 0:b86d15c6ba29 | 287 | #define SSL_alert_type_string CyaSSL_alert_type_string |
Vanger | 0:b86d15c6ba29 | 288 | #define SSL_alert_desc_string CyaSSL_alert_desc_string |
Vanger | 0:b86d15c6ba29 | 289 | #define SSL_state_string CyaSSL_state_string |
Vanger | 0:b86d15c6ba29 | 290 | |
Vanger | 0:b86d15c6ba29 | 291 | #define RSA_free CyaSSL_RSA_free |
Vanger | 0:b86d15c6ba29 | 292 | #define RSA_generate_key CyaSSL_RSA_generate_key |
Vanger | 0:b86d15c6ba29 | 293 | #define SSL_CTX_set_tmp_rsa_callback CyaSSL_CTX_set_tmp_rsa_callback |
Vanger | 0:b86d15c6ba29 | 294 | |
Vanger | 0:b86d15c6ba29 | 295 | #define PEM_def_callback CyaSSL_PEM_def_callback |
Vanger | 0:b86d15c6ba29 | 296 | |
Vanger | 0:b86d15c6ba29 | 297 | #define SSL_CTX_sess_accept CyaSSL_CTX_sess_accept |
Vanger | 0:b86d15c6ba29 | 298 | #define SSL_CTX_sess_connect CyaSSL_CTX_sess_connect |
Vanger | 0:b86d15c6ba29 | 299 | #define SSL_CTX_sess_accept_good CyaSSL_CTX_sess_accept_good |
Vanger | 0:b86d15c6ba29 | 300 | #define SSL_CTX_sess_connect_good CyaSSL_CTX_sess_connect_good |
Vanger | 0:b86d15c6ba29 | 301 | #define SSL_CTX_sess_accept_renegotiate CyaSSL_CTX_sess_accept_renegotiate |
Vanger | 0:b86d15c6ba29 | 302 | #define SSL_CTX_sess_connect_renegotiate CyaSSL_CTX_sess_connect_renegotiate |
Vanger | 0:b86d15c6ba29 | 303 | #define SSL_CTX_sess_hits CyaSSL_CTX_sess_hits |
Vanger | 0:b86d15c6ba29 | 304 | #define SSL_CTX_sess_cb_hits CyaSSL_CTX_sess_cb_hits |
Vanger | 0:b86d15c6ba29 | 305 | #define SSL_CTX_sess_cache_full CyaSSL_CTX_sess_cache_full |
Vanger | 0:b86d15c6ba29 | 306 | #define SSL_CTX_sess_misses CyaSSL_CTX_sess_misses |
Vanger | 0:b86d15c6ba29 | 307 | #define SSL_CTX_sess_timeouts CyaSSL_CTX_sess_timeouts |
Vanger | 0:b86d15c6ba29 | 308 | #define SSL_CTX_sess_number CyaSSL_CTX_sess_number |
Vanger | 0:b86d15c6ba29 | 309 | #define SSL_CTX_sess_get_cache_size CyaSSL_CTX_sess_get_cache_size |
Vanger | 0:b86d15c6ba29 | 310 | |
Vanger | 0:b86d15c6ba29 | 311 | |
Vanger | 0:b86d15c6ba29 | 312 | #define SSL_DEFAULT_CIPHER_LIST CYASSL_DEFAULT_CIPHER_LIST |
Vanger | 0:b86d15c6ba29 | 313 | #define RSA_F4 CYASSL_RSA_F4 |
Vanger | 0:b86d15c6ba29 | 314 | |
Vanger | 0:b86d15c6ba29 | 315 | #define SSL_CTX_set_psk_client_callback CyaSSL_CTX_set_psk_client_callback |
Vanger | 0:b86d15c6ba29 | 316 | #define SSL_set_psk_client_callback CyaSSL_set_psk_client_callback |
Vanger | 0:b86d15c6ba29 | 317 | |
Vanger | 0:b86d15c6ba29 | 318 | #define SSL_get_psk_identity_hint CyaSSL_get_psk_identity_hint |
Vanger | 0:b86d15c6ba29 | 319 | #define SSL_get_psk_identity CyaSSL_get_psk_identity |
Vanger | 0:b86d15c6ba29 | 320 | |
Vanger | 0:b86d15c6ba29 | 321 | #define SSL_CTX_use_psk_identity_hint CyaSSL_CTX_use_psk_identity_hint |
Vanger | 0:b86d15c6ba29 | 322 | #define SSL_use_psk_identity_hint CyaSSL_use_psk_identity_hint |
Vanger | 0:b86d15c6ba29 | 323 | |
Vanger | 0:b86d15c6ba29 | 324 | #define SSL_CTX_set_psk_server_callback CyaSSL_CTX_set_psk_server_callback |
Vanger | 0:b86d15c6ba29 | 325 | #define SSL_set_psk_server_callback CyaSSL_set_psk_server_callback |
Vanger | 0:b86d15c6ba29 | 326 | |
Vanger | 0:b86d15c6ba29 | 327 | #define ERR_get_error_line_data CyaSSL_ERR_get_error_line_data |
Vanger | 0:b86d15c6ba29 | 328 | |
Vanger | 0:b86d15c6ba29 | 329 | #define ERR_get_error CyaSSL_ERR_get_error |
Vanger | 0:b86d15c6ba29 | 330 | #define ERR_clear_error CyaSSL_ERR_clear_error |
Vanger | 0:b86d15c6ba29 | 331 | |
Vanger | 0:b86d15c6ba29 | 332 | #define RAND_status CyaSSL_RAND_status |
Vanger | 0:b86d15c6ba29 | 333 | #define RAND_bytes CyaSSL_RAND_bytes |
Vanger | 0:b86d15c6ba29 | 334 | #define SSLv23_server_method CyaSSLv23_server_method |
Vanger | 0:b86d15c6ba29 | 335 | #define SSL_CTX_set_options CyaSSL_CTX_set_options |
Vanger | 0:b86d15c6ba29 | 336 | #define SSL_CTX_check_private_key CyaSSL_CTX_check_private_key |
Vanger | 0:b86d15c6ba29 | 337 | |
Vanger | 0:b86d15c6ba29 | 338 | #define ERR_free_strings CyaSSL_ERR_free_strings |
Vanger | 0:b86d15c6ba29 | 339 | #define ERR_remove_state CyaSSL_ERR_remove_state |
Vanger | 0:b86d15c6ba29 | 340 | #define EVP_cleanup CyaSSL_EVP_cleanup |
Vanger | 0:b86d15c6ba29 | 341 | |
Vanger | 0:b86d15c6ba29 | 342 | #define CRYPTO_cleanup_all_ex_data CyaSSL_cleanup_all_ex_data |
Vanger | 0:b86d15c6ba29 | 343 | #define SSL_CTX_set_mode CyaSSL_CTX_set_mode |
Vanger | 0:b86d15c6ba29 | 344 | #define SSL_CTX_get_mode CyaSSL_CTX_get_mode |
Vanger | 0:b86d15c6ba29 | 345 | #define SSL_CTX_set_default_read_ahead CyaSSL_CTX_set_default_read_ahead |
Vanger | 0:b86d15c6ba29 | 346 | |
Vanger | 0:b86d15c6ba29 | 347 | #define SSL_CTX_sess_set_cache_size CyaSSL_CTX_sess_set_cache_size |
Vanger | 0:b86d15c6ba29 | 348 | #define SSL_CTX_set_default_verify_paths CyaSSL_CTX_set_default_verify_paths |
Vanger | 0:b86d15c6ba29 | 349 | |
Vanger | 0:b86d15c6ba29 | 350 | #define SSL_CTX_set_session_id_context CyaSSL_CTX_set_session_id_context |
Vanger | 0:b86d15c6ba29 | 351 | #define SSL_get_peer_certificate CyaSSL_get_peer_certificate |
Vanger | 0:b86d15c6ba29 | 352 | |
Vanger | 0:b86d15c6ba29 | 353 | #define SSL_want_read CyaSSL_want_read |
Vanger | 0:b86d15c6ba29 | 354 | #define SSL_want_write CyaSSL_want_write |
Vanger | 0:b86d15c6ba29 | 355 | |
Vanger | 0:b86d15c6ba29 | 356 | #define BIO_prf CyaSSL_BIO_prf |
Vanger | 0:b86d15c6ba29 | 357 | #define ASN1_UTCTIME_pr CyaSSL_ASN1_UTCTIME_pr |
Vanger | 0:b86d15c6ba29 | 358 | |
Vanger | 0:b86d15c6ba29 | 359 | #define sk_num CyaSSL_sk_num |
Vanger | 0:b86d15c6ba29 | 360 | #define sk_value CyaSSL_sk_value |
Vanger | 0:b86d15c6ba29 | 361 | |
Vanger | 0:b86d15c6ba29 | 362 | #define SSL_CTX_get_ex_data CyaSSL_CTX_get_ex_data |
Vanger | 0:b86d15c6ba29 | 363 | #define SSL_CTX_set_ex_data CyaSSL_CTX_set_ex_data |
Vanger | 0:b86d15c6ba29 | 364 | #define SSL_CTX_sess_set_get_cb CyaSSL_CTX_sess_set_get_cb |
Vanger | 0:b86d15c6ba29 | 365 | #define SSL_CTX_sess_set_new_cb CyaSSL_CTX_sess_set_new_cb |
Vanger | 0:b86d15c6ba29 | 366 | #define SSL_CTX_sess_set_remove_cb CyaSSL_CTX_sess_set_remove_cb |
Vanger | 0:b86d15c6ba29 | 367 | |
Vanger | 0:b86d15c6ba29 | 368 | #define i2d_SSL_SESSION CyaSSL_i2d_SSL_SESSION |
Vanger | 0:b86d15c6ba29 | 369 | #define d2i_SSL_SESSION CyaSSL_d2i_SSL_SESSION |
Vanger | 0:b86d15c6ba29 | 370 | #define SSL_SESSION_get_timeout CyaSSL_SESSION_get_timeout |
Vanger | 0:b86d15c6ba29 | 371 | #define SSL_SESSION_get_time CyaSSL_SESSION_get_time |
Vanger | 0:b86d15c6ba29 | 372 | #define SSL_CTX_get_ex_new_index CyaSSL_CTX_get_ex_new_index |
Vanger | 0:b86d15c6ba29 | 373 | |
Vanger | 0:b86d15c6ba29 | 374 | |
Vanger | 0:b86d15c6ba29 | 375 | |
Vanger | 0:b86d15c6ba29 | 376 | #ifdef __cplusplus |
Vanger | 0:b86d15c6ba29 | 377 | } /* extern "C" */ |
Vanger | 0:b86d15c6ba29 | 378 | #endif |
Vanger | 0:b86d15c6ba29 | 379 | |
Vanger | 0:b86d15c6ba29 | 380 | |
Vanger | 0:b86d15c6ba29 | 381 | #endif /* CyaSSL_openssl_h__ */ |