mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-30 22:09:50 +01:00
Fixes for building wolfSSL along side openssl.
This commit is contained in:
@@ -2015,7 +2015,7 @@ int wolfSSL_EVP_PKEY_paramgen(WOLFSSL_EVP_PKEY_CTX* ctx,
|
||||
* The difference is nicely explained and illustrated in section
|
||||
* "ECDH and Named Curves" of
|
||||
* https://wiki.openssl.org/index.php/Elliptic_Curve_Diffie_Hellman */
|
||||
int EVP_PKEY_CTX_set_ec_param_enc(WOLFSSL_EVP_PKEY_CTX *ctx,
|
||||
int wolfSSL_EVP_PKEY_CTX_set_ec_param_enc(WOLFSSL_EVP_PKEY_CTX *ctx,
|
||||
int flag)
|
||||
{
|
||||
(void)ctx;
|
||||
@@ -2727,7 +2727,7 @@ int wolfSSL_EVP_add_cipher(const WOLFSSL_EVP_CIPHER *cipher)
|
||||
}
|
||||
|
||||
|
||||
WOLFSSL_EVP_PKEY* wolfSSL_EVP_PKEY_new_mac_key(int type, ENGINE* e,
|
||||
WOLFSSL_EVP_PKEY* wolfSSL_EVP_PKEY_new_mac_key(int type, WOLFSSL_ENGINE* e,
|
||||
const unsigned char* key, int keylen)
|
||||
{
|
||||
WOLFSSL_EVP_PKEY* pkey;
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
#define GET_U16(a) (*(word16*)(a))
|
||||
/**
|
||||
* Encode 64-bit nuumber to a little-endian byte array.
|
||||
* Encode 64-bit number to a little-endian byte array.
|
||||
*
|
||||
* @param [out] a Byte array to write into.
|
||||
* @param [in] n Number to encode.
|
||||
@@ -125,7 +125,7 @@
|
||||
#define GET_U16(a) (((word16)((a)[1]) << 8) | \
|
||||
((word16)((a)[0]) ))
|
||||
/**
|
||||
* Encode 64-bit nuumber to a little-endian byte array.
|
||||
* Encode 64-bit number to a little-endian byte array.
|
||||
*
|
||||
* @param [out] a Byte array to write into.
|
||||
* @param [in] n Number to encode.
|
||||
|
||||
Reference in New Issue
Block a user