forked from wolfSSL/wolfssl
templates: ENGINE_cleanup, BN_mod_exp
This commit is contained in:
committed by
Jacob Barthelmeh
parent
f3435eefbd
commit
63dcacb437
@@ -35,7 +35,8 @@ WOLFSSL_API int wolfSSL_BN_sub(WOLFSSL_BIGNUM*, const WOLFSSL_BIGNUM*,
|
|||||||
const WOLFSSL_BIGNUM*);
|
const WOLFSSL_BIGNUM*);
|
||||||
WOLFSSL_API int wolfSSL_BN_mod(WOLFSSL_BIGNUM*, const WOLFSSL_BIGNUM*,
|
WOLFSSL_API int wolfSSL_BN_mod(WOLFSSL_BIGNUM*, const WOLFSSL_BIGNUM*,
|
||||||
const WOLFSSL_BIGNUM*, const WOLFSSL_BN_CTX*);
|
const WOLFSSL_BIGNUM*, const WOLFSSL_BN_CTX*);
|
||||||
|
WOLFSSL_API int wolfSSL_BN_mod_exp(WOLFSSL_BIGNUM *r, const WOLFSSL_BIGNUM *a,
|
||||||
|
const WOLFSSL_BIGNUM *p, const WOLFSSL_BIGNUM *m, WOLFSSL_BN_CTX *ctx);
|
||||||
WOLFSSL_API const WOLFSSL_BIGNUM* wolfSSL_BN_value_one(void);
|
WOLFSSL_API const WOLFSSL_BIGNUM* wolfSSL_BN_value_one(void);
|
||||||
|
|
||||||
|
|
||||||
@@ -109,6 +110,7 @@ typedef WOLFSSL_BN_GENCB BN_GENCB;
|
|||||||
#define BN_bin2bn wolfSSL_BN_bin2bn
|
#define BN_bin2bn wolfSSL_BN_bin2bn
|
||||||
|
|
||||||
#define BN_mod wolfSSL_BN_mod
|
#define BN_mod wolfSSL_BN_mod
|
||||||
|
#define BN_mod_exp wolfSSL_BN_mod_exp
|
||||||
#define BN_sub wolfSSL_BN_sub
|
#define BN_sub wolfSSL_BN_sub
|
||||||
#define BN_value_one wolfSSL_BN_value_one
|
#define BN_value_one wolfSSL_BN_value_one
|
||||||
|
|
||||||
@@ -148,4 +150,3 @@ typedef WOLFSSL_BN_GENCB BN_GENCB;
|
|||||||
|
|
||||||
|
|
||||||
#endif /* WOLFSSL__H_ */
|
#endif /* WOLFSSL__H_ */
|
||||||
|
|
||||||
|
@@ -386,7 +386,7 @@ typedef WOLFSSL_X509_STORE_CTX X509_STORE_CTX;
|
|||||||
#define RAND_status wolfSSL_RAND_status
|
#define RAND_status wolfSSL_RAND_status
|
||||||
#define RAND_bytes wolfSSL_RAND_bytes
|
#define RAND_bytes wolfSSL_RAND_bytes
|
||||||
#define SSLv23_server_method wolfSSLv23_server_method
|
#define SSLv23_server_method wolfSSLv23_server_method
|
||||||
#define SSL_CTX_set_options wolfSSL_CTX_set_options
|
#define SSL_CTX_set_options wolfSSL_CTX_set_options
|
||||||
#define SSL_CTX_check_private_key wolfSSL_CTX_check_private_key
|
#define SSL_CTX_check_private_key wolfSSL_CTX_check_private_key
|
||||||
|
|
||||||
#define ERR_free_strings wolfSSL_ERR_free_strings
|
#define ERR_free_strings wolfSSL_ERR_free_strings
|
||||||
@@ -431,6 +431,7 @@ typedef WOLFSSL_X509_STORE_CTX X509_STORE_CTX;
|
|||||||
|
|
||||||
/*#if OPENSSL_API_COMPAT < 0x10100000L*/
|
/*#if OPENSSL_API_COMPAT < 0x10100000L*/
|
||||||
# define CONF_modules_free() while(0) continue
|
# define CONF_modules_free() while(0) continue
|
||||||
|
# define ENGINE_cleanup() while(0) continue
|
||||||
/*#endif*/
|
/*#endif*/
|
||||||
#define CONF_modules_unload wolfSSL_CONF_modules_unload
|
#define CONF_modules_unload wolfSSL_CONF_modules_unload
|
||||||
|
|
||||||
@@ -506,7 +507,7 @@ typedef WOLFSSL_X509_NAME_ENTRY X509_NAME_ENTRY;
|
|||||||
#define SSL_total_renegotiations wolfSSL_SSSL_total_renegotiations
|
#define SSL_total_renegotiations wolfSSL_SSSL_total_renegotiations
|
||||||
#define SSL_set_tlsext_debug_arg wolfSSL_SSL_set_tlsext_debug_arg
|
#define SSL_set_tlsext_debug_arg wolfSSL_SSL_set_tlsext_debug_arg
|
||||||
#define SSL_set_tlsext_status_type wolfSSL_SSL_set_tlsext_status_type
|
#define SSL_set_tlsext_status_type wolfSSL_SSL_set_tlsext_status_type
|
||||||
#define SSL_set_tlsext_status_exts wolfSSL_SSL_set_tlsext_status_exts
|
#define SSL_set_tlsext_status_exts wolfSSL_SSL_set_tlsext_status_exts
|
||||||
#define SSL_get_tlsext_status_ids wolfSSL_SSL_get_tlsext_status_ids
|
#define SSL_get_tlsext_status_ids wolfSSL_SSL_get_tlsext_status_ids
|
||||||
#define SSL_set_tlsext_status_ids wolfSSL_SSL_set_tlsext_status_ids
|
#define SSL_set_tlsext_status_ids wolfSSL_SSL_set_tlsext_status_ids
|
||||||
#define SSL_get_tlsext_status_ocsp_resp wolfSSL_SSL_get_tlsext_status_ocsp_resp
|
#define SSL_get_tlsext_status_ocsp_resp wolfSSL_SSL_get_tlsext_status_ocsp_resp
|
||||||
|
Reference in New Issue
Block a user