Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

ESP32/ENC28J60/EthernetENC: BearSSL "incoming record is too large to be processed, or buffer is too small" #22

Answered by khoih-prog
marcelstoer asked this question in Q&A
Discussion options

You must be logged in to vote

It's possible the ENC28J60 has to do many (uIP) jobs by software and slow down the TLS/SSL encryption/decryption process => overflowing the buffer.

It's very deep inside the BEARSSL code and also (server) use-case-dependent, and will take some time to debug to know where and when it happens and fix.

I suggest that you use the better W5500, or even the best LAN8720 in WT32_ETH01, to see if OK then.
Using WT32_ETH01 (ESP22 + LAN8720) you can use better and faster native SSL of ESP32.

You also can post question and ask for help at EthernetENC and/or OPEnSLab-OSU SSLClient

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@marcelstoer
Comment options

@khoih-prog
Comment options

Answer selected by marcelstoer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants