Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
wolfssl/openssl/crypto.h@7:481bce714567, 2017-05-02 (annotated)
- Committer:
- wolfSSL
- Date:
- Tue May 02 08:44:47 2017 +0000
- Revision:
- 7:481bce714567
wolfSSL3.10.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 7:481bce714567 | 1 | /* crypto.h for openSSL */ |
wolfSSL | 7:481bce714567 | 2 | |
wolfSSL | 7:481bce714567 | 3 | #ifndef WOLFSSL_CRYPTO_H_ |
wolfSSL | 7:481bce714567 | 4 | #define WOLFSSL_CRYPTO_H_ |
wolfSSL | 7:481bce714567 | 5 | |
wolfSSL | 7:481bce714567 | 6 | |
wolfSSL | 7:481bce714567 | 7 | #include <wolfssl/wolfcrypt/settings.h> |
wolfSSL | 7:481bce714567 | 8 | |
wolfSSL | 7:481bce714567 | 9 | #ifdef WOLFSSL_PREFIX |
wolfSSL | 7:481bce714567 | 10 | #include "prefix_crypto.h" |
wolfSSL | 7:481bce714567 | 11 | #endif |
wolfSSL | 7:481bce714567 | 12 | |
wolfSSL | 7:481bce714567 | 13 | |
wolfSSL | 7:481bce714567 | 14 | WOLFSSL_API const char* wolfSSLeay_version(int type); |
wolfSSL | 7:481bce714567 | 15 | WOLFSSL_API unsigned long wolfSSLeay(void); |
wolfSSL | 7:481bce714567 | 16 | |
wolfSSL | 7:481bce714567 | 17 | #define CRYPTO_THREADID void |
wolfSSL | 7:481bce714567 | 18 | |
wolfSSL | 7:481bce714567 | 19 | #define SSLeay_version wolfSSLeay_version |
wolfSSL | 7:481bce714567 | 20 | #define SSLeay wolfSSLeay |
wolfSSL | 7:481bce714567 | 21 | |
wolfSSL | 7:481bce714567 | 22 | |
wolfSSL | 7:481bce714567 | 23 | #define SSLEAY_VERSION 0x0090600fL |
wolfSSL | 7:481bce714567 | 24 | #define SSLEAY_VERSION_NUMBER SSLEAY_VERSION |
wolfSSL | 7:481bce714567 | 25 | |
wolfSSL | 7:481bce714567 | 26 | #ifdef HAVE_STUNNEL |
wolfSSL | 7:481bce714567 | 27 | #define CRYPTO_set_mem_ex_functions wolfSSL_CRYPTO_set_mem_ex_functions |
wolfSSL | 7:481bce714567 | 28 | #define FIPS_mode wolfSSL_FIPS_mode |
wolfSSL | 7:481bce714567 | 29 | #define FIPS_mode_set wolfSSL_FIPS_mode_set |
wolfSSL | 7:481bce714567 | 30 | typedef struct CRYPTO_EX_DATA CRYPTO_EX_DATA; |
wolfSSL | 7:481bce714567 | 31 | typedef void (CRYPTO_free_func)(void*parent, void*ptr, CRYPTO_EX_DATA *ad, int idx, |
wolfSSL | 7:481bce714567 | 32 | long argl, void* argp); |
wolfSSL | 7:481bce714567 | 33 | #define CRYPTO_THREADID_set_callback wolfSSL_THREADID_set_callback |
wolfSSL | 7:481bce714567 | 34 | #define CRYPTO_THREADID_set_numeric wolfSSL_THREADID_set_numeric |
wolfSSL | 7:481bce714567 | 35 | |
wolfSSL | 7:481bce714567 | 36 | #define CRYPTO_lock wc_LockMutex |
wolfSSL | 7:481bce714567 | 37 | #define CRYPTO_r_lock wc_LockMutex |
wolfSSL | 7:481bce714567 | 38 | #define CRYPTO_unlock wc_UnLockMutex |
wolfSSL | 7:481bce714567 | 39 | |
wolfSSL | 7:481bce714567 | 40 | #define CRYPTO_THREAD_lock wc_LockMutex |
wolfSSL | 7:481bce714567 | 41 | #define CRYPTO_THREAD_r_lock wc_LockMutex |
wolfSSL | 7:481bce714567 | 42 | #define CRYPTO_THREAD_unlock wc_UnLockMutex |
wolfSSL | 7:481bce714567 | 43 | |
wolfSSL | 7:481bce714567 | 44 | #endif /* HAVE_STUNNEL */ |
wolfSSL | 7:481bce714567 | 45 | |
wolfSSL | 7:481bce714567 | 46 | #endif /* header */ |
wolfSSL | 7:481bce714567 | 47 | |
wolfSSL | 7:481bce714567 | 48 |