CyaSSL 3.0.0

Dependents:   HTTPClient-SSL HTTPClient HTTPClient-SSL http_access ... more

Committer:
wolfSSL
Date:
Sat Jul 12 07:18:23 2014 +0000
Revision:
0:1239e9b70ca2
CyaSSL 3.0.0;

Who changed what in which revision?

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