Skip to content

Commit

Permalink
Espressif wolfssh server user_settings for threads, WOLFSSL_KEY_GEN f…
Browse files Browse the repository at this point in the history
…or CalcRsaInverses
  • Loading branch information
gojimmypi committed Dec 16, 2023
1 parent ed34a6c commit 788078f
Showing 1 changed file with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#undef WOLFSSL_ESP32
#undef WOLFSSL_ESP8266

#define WOLFSSL_ESPIDF

/* The Espressif sdkconfig will have chipset info.
**
** Possible values:
Expand All @@ -38,13 +40,29 @@
** CONFIG_IDF_TARGET_ESP32C6
*/

/* wolfSSH */
#undef WOLFSSH_TERM /* may be defined in cmake for other examples */
#define WOLFSSH_TERM
#undef DEBUG_WOLFSSH /* may be defined in cmake for other examples */
#define DEBUG_WOLFSSH
/* Optionally enable some wolfSSH settings */
#define ESP_ENABLE_WOLFSSH
#ifdef ESP_ENABLE_WOLFSSH
/* These may be defined in cmake for other examples: */
#undef WOLFSSH_TERM
#define WOLFSSH_TERM

#define WOLFSSL_ESPIDF
#undef DEBUG_WOLFSSH
#define DEBUG_WOLFSSH

#undef WOLFSSL_KEY_GEN
#define WOLFSSL_KEY_GEN

#undef WOLFSSL_PTHREADS
#define WOLFSSL_PTHREADS

#define WOLFSSH_TEST_SERVER
#define WOLFSSH_TEST_THREADING

#endif /* ESP_ENABLE_WOLFSSH */

/* when you want to use SINGLE THREAD */
/* #define SINGLE_THREADED */

/*
* choose ONE of these Espressif chips to define:
Expand Down Expand Up @@ -73,8 +91,6 @@

#define WOLFSSL_BENCHMARK_FIXED_UNITS_KB

/* when you want to use SINGLE THREAD */
#define SINGLE_THREADED

#define NO_FILESYSTEM

Expand Down

0 comments on commit 788078f

Please sign in to comment.