diff --git a/IDE/STM32Cube/default_conf.ftl b/IDE/STM32Cube/default_conf.ftl index 486f3742669..18a9eab672f 100644 --- a/IDE/STM32Cube/default_conf.ftl +++ b/IDE/STM32Cube/default_conf.ftl @@ -169,7 +169,6 @@ extern ${variable.value} ${variable.name}; #endif #elif defined(STM32L552xx) #define WOLFSSL_STM32L5 - #undef NO_STM32_HASH #ifndef HAL_CONSOLE_UART #define HAL_CONSOLE_UART hlpuart1 #endif diff --git a/examples/configs/user_settings_stm32.h b/examples/configs/user_settings_stm32.h index 765e4375149..43161f64fa1 100644 --- a/examples/configs/user_settings_stm32.h +++ b/examples/configs/user_settings_stm32.h @@ -211,7 +211,6 @@ extern "C" { #define HAL_CONSOLE_UART huart1 #elif defined(STM32L552xx) #define WOLFSSL_STM32L5 - #undef NO_STM32_HASH #define HAL_CONSOLE_UART hlpuart1 #elif defined(STM32F207xx) #define WOLFSSL_STM32F2 diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 49deeaf0cec..7396ed93e67 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -43736,7 +43736,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t ecc_test_buffers(void) word32 idx = 0; #ifndef WC_NO_RNG /* pad our test message to 32 bytes so evenly divisible by AES_BLOCK_SZ */ - byte in[] = "Everyone gets Friday off. ecc p"; + byte in[] = "Everyone gets Friday off. ecc p!"; word32 inLen = (word32)XSTRLEN((char*)in); byte out[256]; byte plain[256]; @@ -43807,7 +43807,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t ecc_test_buffers(void) #if defined(HAVE_ECC_ENCRYPT) && defined(HAVE_HKDF) && \ defined(HAVE_AES_CBC) && defined(WOLFSSL_AES_128) - ret = ecc_buffers_encrypt_test(cliKey, servKey, tmpKey, in, sizeof(in), out, + ret = ecc_buffers_encrypt_test(cliKey, servKey, tmpKey, in, inLen, out, plain, inLen); if (ret != 0) goto done; @@ -72515,7 +72515,7 @@ static wc_test_ret_t ecc_onlycb_test(myCryptoDevCtx *ctx) word32 keyIdx = 0; #endif #if defined(HAVE_ECC_SIGN) && defined(HAVE_ECC_VERIFY) - byte in[] = "Everyone gets Friday off. ecc p"; + byte in[] = "Everyone gets Friday off. ecc p!"; word32 inLen = (word32)XSTRLEN((char*)in); word32 outLen; int verify;