mirror of https://github.com/wolfSSL/wolfssl.git
wolfhsm-mldsa-fixes
parent
29dc0f5d0b
commit
1283325f65
|
@ -1620,7 +1620,8 @@ struct SignatureCtx {
|
||||||
byte* sigCpy;
|
byte* sigCpy;
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_ECC) || defined(HAVE_ED25519) || defined(HAVE_ED448) || \
|
#if defined(HAVE_ECC) || defined(HAVE_ED25519) || defined(HAVE_ED448) || \
|
||||||
!defined(NO_DSA)
|
!defined(NO_DSA) || defined(HAVE_DILITHIUM) || defined(HAVE_FALCON) || \
|
||||||
|
defined(HAVE_SPHINCS)
|
||||||
int verify;
|
int verify;
|
||||||
#endif
|
#endif
|
||||||
union {
|
union {
|
||||||
|
@ -1898,12 +1899,14 @@ struct DecodedCert {
|
||||||
#endif
|
#endif
|
||||||
#endif /* WOLFSSL_SUBJ_INFO_ACC */
|
#endif /* WOLFSSL_SUBJ_INFO_ACC */
|
||||||
|
|
||||||
#if defined(HAVE_ECC) || defined(HAVE_ED25519) || defined(HAVE_ED448)
|
#if defined(HAVE_ECC) || defined(HAVE_ED25519) || defined(HAVE_ED448) || \
|
||||||
|
defined(HAVE_DILITHIUM) || defined(HAVE_FALCON) || defined(HAVE_SPHINCS)
|
||||||
word32 pkCurveOID; /* Public Key's curve OID */
|
word32 pkCurveOID; /* Public Key's curve OID */
|
||||||
#ifdef WOLFSSL_CUSTOM_CURVES
|
#ifdef WOLFSSL_CUSTOM_CURVES
|
||||||
int pkCurveSize; /* Public Key's curve size */
|
int pkCurveSize; /* Public Key's curve size */
|
||||||
#endif
|
#endif
|
||||||
#endif /* HAVE_ECC */
|
#endif /* HAVE_ECC || HAVE_ED25519 || HAVE_ED448 || HAVE_DILITHIUM ||
|
||||||
|
* HAVE_FALCON || HAVE_SPHINCS */
|
||||||
const byte* beforeDate;
|
const byte* beforeDate;
|
||||||
int beforeDateLen;
|
int beforeDateLen;
|
||||||
const byte* afterDate;
|
const byte* afterDate;
|
||||||
|
|
|
@ -50,6 +50,9 @@
|
||||||
#ifndef NO_SHA256
|
#ifndef NO_SHA256
|
||||||
#include <wolfssl/wolfcrypt/sha256.h>
|
#include <wolfssl/wolfcrypt/sha256.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WOLFSSL_SHA3
|
||||||
|
#include <wolfssl/wolfcrypt/sha3.h>
|
||||||
|
#endif
|
||||||
#ifndef NO_HMAC
|
#ifndef NO_HMAC
|
||||||
#include <wolfssl/wolfcrypt/hmac.h>
|
#include <wolfssl/wolfcrypt/hmac.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue