File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1620,7 +1620,8 @@ struct SignatureCtx {
16201620 byte * sigCpy ;
16211621#endif
16221622#if defined(HAVE_ECC ) || defined(HAVE_ED25519 ) || defined(HAVE_ED448 ) || \
1623- !defined(NO_DSA )
1623+ !defined(NO_DSA ) || defined(HAVE_DILITHIUM ) || defined(HAVE_FALCON ) || \
1624+ defined(HAVE_SPHINCS )
16241625 int verify ;
16251626#endif
16261627 union {
@@ -1898,12 +1899,14 @@ struct DecodedCert {
18981899 #endif
18991900#endif /* WOLFSSL_SUBJ_INFO_ACC */
19001901
1901- #if defined(HAVE_ECC ) || defined(HAVE_ED25519 ) || defined(HAVE_ED448 )
1902+ #if defined(HAVE_ECC ) || defined(HAVE_ED25519 ) || defined(HAVE_ED448 ) || \
1903+ defined(HAVE_DILITHIUM ) || defined(HAVE_FALCON ) || defined(HAVE_SPHINCS )
19021904 word32 pkCurveOID ; /* Public Key's curve OID */
19031905 #ifdef WOLFSSL_CUSTOM_CURVES
19041906 int pkCurveSize ; /* Public Key's curve size */
19051907 #endif
1906- #endif /* HAVE_ECC */
1908+ #endif /* HAVE_ECC || HAVE_ED25519 || HAVE_ED448 || HAVE_DILITHIUM ||
1909+ * HAVE_FALCON || HAVE_SPHINCS */
19071910 const byte * beforeDate ;
19081911 int beforeDateLen ;
19091912 const byte * afterDate ;
Original file line number Diff line number Diff line change 5050#ifndef NO_SHA256
5151 #include <wolfssl/wolfcrypt/sha256.h>
5252#endif
53+ #ifdef WOLFSSL_SHA3
54+ #include <wolfssl/wolfcrypt/sha3.h>
55+ #endif
5356#ifndef NO_HMAC
5457 #include <wolfssl/wolfcrypt/hmac.h>
5558#endif
You can’t perform that action at this time.
0 commit comments