Renesas / SecureDweet
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers crypto.h Source File

crypto.h

00001 /* crypto.h for openSSL */
00002 
00003 #ifndef WOLFSSL_CRYPTO_H_
00004 #define WOLFSSL_CRYPTO_H_
00005 
00006 
00007 #include <wolfssl/wolfcrypt/settings.h>
00008 
00009 #ifdef WOLFSSL_PREFIX
00010 #include "prefix_crypto.h"
00011 #endif
00012 
00013 
00014 WOLFSSL_API const char*   wolfSSLeay_version(int type);
00015 WOLFSSL_API unsigned long wolfSSLeay(void);
00016 
00017 #define CRYPTO_THREADID void
00018 
00019 #define SSLeay_version wolfSSLeay_version
00020 #define SSLeay wolfSSLeay
00021 
00022 
00023 #define SSLEAY_VERSION 0x0090600fL
00024 #define SSLEAY_VERSION_NUMBER SSLEAY_VERSION
00025 
00026 #ifdef HAVE_STUNNEL
00027 #define CRYPTO_set_mem_ex_functions      wolfSSL_CRYPTO_set_mem_ex_functions
00028 #define FIPS_mode                        wolfSSL_FIPS_mode
00029 #define FIPS_mode_set                    wolfSSL_FIPS_mode_set
00030 typedef struct CRYPTO_EX_DATA            CRYPTO_EX_DATA;
00031 typedef void (CRYPTO_free_func)(void*parent, void*ptr, CRYPTO_EX_DATA *ad, int idx,
00032         long argl, void* argp);
00033 #define CRYPTO_THREADID_set_callback wolfSSL_THREADID_set_callback
00034 #define CRYPTO_THREADID_set_numeric wolfSSL_THREADID_set_numeric
00035 #endif /* HAVE_STUNNEL */
00036 
00037 #endif /* header */
00038 
00039