flags update
1. Fixed typo in ifdef for HAVE_ED448. 2. Fixed typos in comments in sha512. 3. Add include config.h to bio.c.
This commit is contained in:
parent
3bb2d55257
commit
2c62880fd2
@ -19,6 +19,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
|
||||
#if !defined(WOLFSSL_BIO_INCLUDED)
|
||||
|
@ -6675,7 +6675,7 @@ int AllocKey(WOLFSSL* ssl, int type, void** pKey)
|
||||
}
|
||||
|
||||
#if !defined(NO_RSA) || defined(HAVE_ECC) || defined(HAVE_ED25519) || \
|
||||
defined(HAVE_CURVE25519) || defined(HHAVE_ED448) || defined(HAVE_CURVE448)
|
||||
defined(HAVE_CURVE25519) || defined(HAVE_ED448) || defined(HAVE_CURVE448)
|
||||
static int ReuseKey(WOLFSSL* ssl, int type, void* pKey)
|
||||
{
|
||||
int ret = 0;
|
||||
|
@ -250,7 +250,7 @@ static int InitSha512(wc_Sha512* sha512)
|
||||
/*****
|
||||
Intel AVX1/AVX2 Macro Control Structure
|
||||
|
||||
#if defined(HAVE_INteL_SPEEDUP)
|
||||
#if defined(HAVE_INTEL_SPEEDUP)
|
||||
#define HAVE_INTEL_AVX1
|
||||
#define HAVE_INTEL_AVX2
|
||||
#endif
|
||||
@ -294,7 +294,7 @@ static int InitSha512(wc_Sha512* sha512)
|
||||
|
||||
#endif
|
||||
|
||||
#if defnied(HAVE_INTEL_AVX1)
|
||||
#if defined(HAVE_INTEL_AVX1)
|
||||
|
||||
int Transform_Sha512_AVX1() {
|
||||
Stitched Message Sched/Round
|
||||
@ -302,7 +302,7 @@ static int InitSha512(wc_Sha512* sha512)
|
||||
|
||||
#endif
|
||||
|
||||
#if defnied(HAVE_INTEL_AVX2)
|
||||
#if defined(HAVE_INTEL_AVX2)
|
||||
|
||||
int Transform_Sha512_AVX2() {
|
||||
Stitched Message Sched/Round
|
||||
|
Loading…
x
Reference in New Issue
Block a user