diff --git a/wolfcrypt/src/port/Espressif/esp32_mp.c b/wolfcrypt/src/port/Espressif/esp32_mp.c index 9092f7778..c40998ac7 100644 --- a/wolfcrypt/src/port/Espressif/esp32_mp.c +++ b/wolfcrypt/src/port/Espressif/esp32_mp.c @@ -2154,7 +2154,7 @@ int esp_mp_mulmod(MATH_INT_T* X, MATH_INT_T* Y, MATH_INT_T* M, MATH_INT_T* Z) DPORT_REG_WRITE(RSA_MULT_MODE_REG, (mph->hwWords_sz >> 4) - 1); #if defined(DEBUG_WOLFSSL) ESP_LOGV(TAG, "RSA_MULT_MODE_REG = %d", (mph->hwWords_sz >> 4) - 1); -#endif /* WOLFSSL_DEBUG */ +#endif /* DEBUG_WOLFSSL */ /* step.2 write X, M, and r_inv into memory. * The capacity of each memory block is 128 words. diff --git a/wolfcrypt/src/port/devcrypto/devcrypto_aes.c b/wolfcrypt/src/port/devcrypto/devcrypto_aes.c index 0a946ffa7..0cfd50955 100644 --- a/wolfcrypt/src/port/devcrypto/devcrypto_aes.c +++ b/wolfcrypt/src/port/devcrypto/devcrypto_aes.c @@ -317,7 +317,7 @@ static int wc_DevCrypto_AesGcm(Aes* aes, byte* out, byte* in, word32 sz, dir, (byte*)authIn, authInSz, authTag, authTagSz); ret = ioctl(aes->ctx.cfd, CIOCAUTHCRYPT, &crt); if (ret != 0) { - #ifdef WOLFSSL_DEBUG + #ifdef DEBUG_WOLFSSL if (authInSz > sysconf(_SC_PAGESIZE)) { WOLFSSL_MSG("authIn Buffer greater than System Page Size"); } diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 1c38e9920..1005103a7 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -18663,7 +18663,7 @@ static wc_test_ret_t const_byte_ptr_test(const byte* in, word32 *outJ) j = *outJ; /* Found index to use in const array. */ if (j == 0) { -#ifdef WOLFSSL_DEBUG +#ifdef DEBUG_WOLFSSL printf("Testing const byte ptr reference...\n"); #endif /* although j is zero, in[0] does not detect the Illegal instruction */ diff --git a/wolfssl/test.h b/wolfssl/test.h index 14fc939e9..bb8f4ac57 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -3124,7 +3124,7 @@ static WC_INLINE int wolfSSL_PrintStats(WOLFSSL_MEM_STATS* stats) return 0; } - /* print to stderr so is on the same pipe as WOLFSSL_DEBUG */ + /* print to stderr so is on the same pipe as DEBUG_WOLFSSL */ fprintf(stderr, "Total mallocs = %d\n", stats->totalAlloc); fprintf(stderr, "Total frees = %d\n", stats->totalFr); fprintf(stderr, "Current mallocs = %d\n", stats->curAlloc);