SSL/TLS Library

Dependents:  

CyaSSL is SSL/TLS library for embedded systems.

wolfssl.com

Committer:
wolfSSL
Date:
Sun Apr 20 12:40:57 2014 +0000
Revision:
0:9d17e4342598
CyaSSL SSL/TLS Library 2.9.4;

Who changed what in which revision?

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