File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 #include <wolfcrypt/src/misc.c>
2929#endif
3030
31+ #ifdef WOLFSSL_ASYNC_CRYPT
32+ #define WOLFSSL_SMALL_STACK
33+ #endif
34+
3135#include <wolfssl/wolfcrypt/rsa.h>
3236#include <wolfssl/wolfcrypt/types.h>
3337#include <tests/api/api.h>
Original file line number Diff line number Diff line change 6969/* Macro to disable benchmark */
7070#ifndef NO_CRYPT_BENCHMARK
7171
72+ #ifdef WOLFSSL_ASYNC_CRYPT
73+ #define WOLFSSL_SMALL_STACK
74+ #endif
7275#define WC_ALLOC_DO_ON_FAILURE() do { printf("out of memory at benchmark.c L %d\n", __LINE__); ret = MEMORY_E; goto exit; } while (0)
7376
7477#include <wolfssl/wolfcrypt/types.h>
Original file line number Diff line number Diff line change 4343 #define WOLFSSL_DEBUG_TRACE_ERROR_CODES_ALWAYS
4444#endif
4545
46+ #ifdef WOLFSSL_ASYNC_CRYPT
47+ #define WOLFSSL_SMALL_STACK
48+ #endif
49+
4650#if !defined(NO_CRYPT_TEST) || defined(WC_TEST_EXPORT_SUBTESTS)
4751
4852#include <wolfssl/version.h>
You can’t perform that action at this time.
0 commit comments