Skip to content

Commit

Permalink
fix HAVE_SHA* configurations in IDE/iotsafe/user_settings.h to also s…
Browse files Browse the repository at this point in the history
…et WOLFSSL_SHA*, and in IDE/STM32Cube/default_conf.ftl, IDE/iotsafe/user_settings.h, and examples/configs/user_settings_stm32.h, comment HAVE_SHA* as "old freeRTOS settings.h requires this".
  • Loading branch information
douzzer committed Oct 23, 2024
1 parent 6e14889 commit afa5b01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IDE/STM32Cube/default_conf.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ extern ${variable.value} ${variable.name};
//#define USE_SLOW_SHA512

#define WOLFSSL_SHA512
#define HAVE_SHA512 /* freeRTOS settings.h requires this */
#define HAVE_SHA512 /* old freeRTOS settings.h requires this */
#endif

/* Sha2-384 */
Expand Down
6 changes: 4 additions & 2 deletions IDE/iotsafe/user_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ static inline long XTIME(long *x) { return jiffies;}
#define WOLFSSL_AES_DIRECT

/* Hashing */
#define HAVE_SHA384
#define HAVE_SHA512
#define WOLFSSL_SHA384
#define HAVE_SHA384 /* old freeRTOS settings.h requires this */
#define WOLFSSL_SHA512
#define HAVE_SHA512 /* old freeRTOS settings.h requires this */
#define HAVE_HKDF

/* TLS */
Expand Down
2 changes: 1 addition & 1 deletion examples/configs/user_settings_stm32.h
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ extern "C" {
//#define USE_SLOW_SHA512

#define WOLFSSL_SHA512
#define HAVE_SHA512 /* freeRTOS settings.h requires this */
#define HAVE_SHA512 /* old freeRTOS settings.h requires this */
#endif

/* Sha2-384 */
Expand Down

0 comments on commit afa5b01

Please sign in to comment.