Skip to content

Commit 24eeb72

Browse files
authored
Merge pull request #27 from douzzer/20250411-regen-and-libwolfssl_sources_h
20250411-regen-and-libwolfssl_sources_h
2 parents a443583 + 0e6b8ce commit 24eeb72

File tree

13 files changed

+1174
-572
lines changed

13 files changed

+1174
-572
lines changed

sm2.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,12 @@
2323
* https://datatracker.ietf.org/doc/html/draft-shen-sm2-ecdsa-02
2424
*/
2525

26-
#ifdef HAVE_CONFIG_H
27-
#include <config.h>
28-
#endif
29-
30-
#include <wolfssl/wolfcrypt/settings.h>
26+
#include <wolfssl/wolfcrypt/libwolfssl_sources.h>
3127

3228
#if defined(WOLFSSL_SM2) && defined(HAVE_ECC)
3329

3430
#include <wolfssl/wolfcrypt/sm2.h>
3531
#include <wolfssl/wolfcrypt/sp.h>
36-
#include <wolfssl/wolfcrypt/error-crypt.h>
3732
#include <wolfssl/wolfcrypt/hash.h>
3833
#include <wolfssl/wolfcrypt/coding.h>
3934
#include <wolfssl/wolfcrypt/asn.h>

sm3.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,11 @@
2323
* https://datatracker.ietf.org/doc/html/draft-oscca-cfrg-sm3-02
2424
*/
2525

26-
#ifdef HAVE_CONFIG_H
27-
#include <config.h>
28-
#endif
29-
30-
#include <wolfssl/wolfcrypt/settings.h>
31-
#include <wolfssl/wolfcrypt/types.h>
26+
#include <wolfssl/wolfcrypt/libwolfssl_sources.h>
3227

3328
#ifdef WOLFSSL_SM3
3429

3530
#include <wolfssl/wolfcrypt/sm3.h>
36-
#include <wolfssl/wolfcrypt/error-crypt.h>
3731
#include <wolfssl/wolfcrypt/cpuid.h>
3832
#include <wolfssl/wolfcrypt/hash.h>
3933

sm3_asm.S

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* sm3_asm.S */
22
/*
3-
* Copyright (C) 2006-2024 wolfSSL Inc.
3+
* Copyright (C) 2006-2025 wolfSSL Inc.
44
*
55
* This file is part of wolfSSL.
66
*
@@ -42,7 +42,9 @@
4242
#define HAVE_INTEL_AVX1
4343
#endif /* HAVE_INTEL_AVX1 */
4444
#ifndef NO_AVX2_SUPPORT
45+
#ifndef HAVE_INTEL_AVX2
4546
#define HAVE_INTEL_AVX2
47+
#endif /* HAVE_INTEL_AVX2 */
4648
#endif /* NO_AVX2_SUPPORT */
4749

4850
#ifdef WOLFSSL_SM3

sm3_asm.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; /* sm3_asm.asm */
22
; /*
3-
; * Copyright (C) 2006-2024 wolfSSL Inc.
3+
; * Copyright (C) 2006-2025 wolfSSL Inc.
44
; *
55
; * This file is part of wolfSSL.
66
; *

sm4.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@
2323
* https://datatracker.ietf.org/doc/html/draft-ribose-cfrg-sm4
2424
*/
2525

26-
#ifdef HAVE_CONFIG_H
27-
#include <config.h>
28-
#endif
29-
30-
#include <wolfssl/wolfcrypt/settings.h>
31-
#include <wolfssl/wolfcrypt/error-crypt.h>
26+
#include <wolfssl/wolfcrypt/libwolfssl_sources.h>
3227

3328
#ifdef WOLFSSL_SM4
3429

0 commit comments

Comments
 (0)