11/* user_settings.h
2- *
3- * Copyright (C) 2006-2024 wolfSSL Inc.
2+ *
3+ * Copyright (C) 2006-2024 wolfSSL Inc. All rights reserved.
44 *
55 * This file is part of wolfSSL.
66 *
7- * wolfSSL is free software; you can redistribute it and/or modify
8- * it under the terms of the GNU General Public License as published by
9- * the Free Software Foundation; either version 2 of the License, or
10- * (at your option) any later version.
11- *
12- * wolfSSL is distributed in the hope that it will be useful,
13- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15- * GNU General Public License for more details.
7+ * Contact licensing@wolfssl.com with any questions or comments.
168 *
17- * You should have received a copy of the GNU General Public License
18- * along with this program; if not, write to the Free Software
19- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
9+ * https://www.wolfssl.com
2010 */
2111
2212#ifndef WOLFSSL_USER_SETTINGS_H
@@ -83,7 +73,7 @@ extern "C" {
8373/* Math Configuration */
8474/* ------------------------------------------------------------------------- */
8575
86- #define WOLFCRYPT_FIPS_CORE_HASH_VALUE 0A6927AF3BD0323E22FDF77B618A9E8AF7E19713D8634F6CCBD2E3548E5866D7
76+ #define WOLFCRYPT_FIPS_CORE_HASH_VALUE F0E3A7F32D8FDE71DA017855072247B27D8C0F5A74CACE89AED272A7CF5EAC0E
8777#if 0
8878 #define WOLFSSL_SP_MATH_ALL
8979 #define WOLFSSL_SP_RSA
@@ -379,8 +369,8 @@ extern "C" {
379369#if 1
380370 #define WOLFSSL_SHA512
381371
382- // #define WOLFSSL_NOSHA512_224 /* Not in FIPS mode */
383- // #define WOLFSSL_NOSHA512_256 /* Not in FIPS mode */
372+ #define WOLFSSL_NOSHA512_224 /* Not in FIPS mode */
373+ #define WOLFSSL_NOSHA512_256 /* Not in FIPS mode */
384374
385375 /* Sha384 */
386376 #undef WOLFSSL_SHA384
@@ -497,7 +487,7 @@ extern "C" {
497487/* ------------------------------------------------------------------------- */
498488/* Enable Features */
499489/* ------------------------------------------------------------------------- */
500- #if 1
490+ #if 0
501491 #undef WOLFSSL_TLS13
502492 #define WOLFSSL_TLS13
503493#endif
@@ -524,7 +514,7 @@ extern "C" {
524514#define WOLFSSL_BASE16
525515
526516/* TLS Session Cache */
527- #if 0
517+ #if 1
528518 #define SMALL_SESSION_CACHE
529519#else
530520 #define NO_SESSION_CACHE
@@ -620,14 +610,44 @@ extern "C" {
620610 #define HAVE_FORCE_FIPS_FAILURE
621611
622612 #define USE_CERT_BUFFERS_2048
623- #define USE_CERT_BUFFERS_256
613+ #define USE_CERT_BUFFERS_256
624614 #define FORCE_BUFFER_TEST
625615 #define NO_MAIN_OPTEST_DRIVER
626616 #define DEEPLY_EMBEDDED
627617
628618#endif
629619/* End optesting only section */
630620
621+ /* START Customer specified options */
622+ #if 1
623+ #undef HAVE_SECRET_CALLBACK
624+ #define HAVE_SECRET_CALLBACK
625+
626+ #undef ATOMIC_USER
627+ #define ATOMIC_USER
628+
629+ #undef HAVE_EX_DATA
630+ #define HAVE_EX_DATA
631+
632+ #undef NO_WOLFSSL_STUB
633+ #define NO_WOLFSSL_STUB
634+
635+ #undef OPENSSL_EXTRA
636+ #define OPENSSL_EXTRA
637+
638+ #undef OPENSSL_ALL
639+ #define OPENSSL_ALL
640+
641+ #undef HAVE_EXTENDED_MASTER
642+ #define HAVE_EXTENDED_MASTER
643+
644+ #undef WC_NO_ASYNC_THREADING
645+ #define WC_NO_ASYNC_THREADING
646+
647+ #undef NO_TESTSUITE_MAIN_DRIVER
648+ #define NO_TESTSUITE_MAIN_DRIVER
649+ #endif
650+ /* END Customer specified options */
631651#ifdef __cplusplus
632652}
633653#endif
0 commit comments