Merge pull request #4287 from ejohnstown/ac-upd

flags update
This commit is contained in:
David Garske 2021-08-06 16:22:15 -07:00 committed by GitHub
commit bd6b765b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -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)

View File

@ -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;

View File

@ -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