axtls-8266 icon indicating copy to clipboard operation
axtls-8266 copied to clipboard

Merge new functions into the upstream axtls repository

Open slaff opened this issue 8 years ago • 3 comments

There are new and useful functions that are appearing in this repository. It would be great if we can push them to the upstream axTLS repository.

slaff avatar Mar 11 '16 15:03 slaff

That would probably be a good effort, although I imagine it may take quite a lot of resources. We should rebase our changes on the latest upstream version first (#9).

igrr avatar Mar 15 '16 09:03 igrr

Is there any news on this? I'm asking specifically, because I'm running out of memory with mbedtls on ESP32 (using micropython*) and, from evaluating code and guessing, I expect axtls being much more lightweight. However, unlike this fork, upstream axtls does not support verification against a CA so far, which is a major drawback. Is there any plan on upstreaming those changes? If not, could you provide a rough estimate on how much is ESP8266 specific and might/will conflict?

Thanks a lot in advance!

*micropython supports both mbedtls as well as axtls as ssl backend

mirko avatar Mar 24 '19 20:03 mirko

@mirko On the ESP32, you can enable CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN (https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kconfig.html#config-mbedtls-asymmetric-content-len) to reduce the amount of RAM used by the outgoing fragment buffer.

igrr avatar Mar 25 '19 14:03 igrr