Stabilize concurrent SSH and WebSocket transports
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "lwip/inet.h"
|
||||
#include "lwip/sockets.h"
|
||||
#include "lwip/tcp.h"
|
||||
#include "sdkconfig.h"
|
||||
#include "secure_random.h"
|
||||
#include "serial_service.h"
|
||||
#include "ssh_security.h"
|
||||
@@ -26,6 +27,14 @@
|
||||
#include <wolfssl/wolfcrypt/random.h>
|
||||
#include <wolfssh/ssh.h>
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_HARDWARE_AES) && CONFIG_MBEDTLS_HARDWARE_AES
|
||||
#error "Concurrent mbedTLS/wolfSSH operation requires mbedTLS software AES"
|
||||
#endif
|
||||
#if !defined(NO_WOLFSSL_ESP32_CRYPT_AES) || \
|
||||
!defined(NO_WOLFSSL_ESP32_CRYPT_HASH)
|
||||
#error "wolfSSH AES/SHA must not use independently locked ESP32 crypto hardware"
|
||||
#endif
|
||||
|
||||
#define SSH_TRANSPORT_TASK_STACK_SIZE 20480U
|
||||
#define SSH_TRANSPORT_TASK_PRIORITY 5U
|
||||
#define SSH_TRANSPORT_TASK_CORE 1
|
||||
|
||||
Reference in New Issue
Block a user