arduino-libraries / ArduinoBearSSL

Port of BearSSL to Arduino
MIT License
86 stars 49 forks source link

RAM usage #11

Closed ravelab closed 5 years ago

ravelab commented 5 years ago

Thank you for this great library. It works great but is using more than 60% of my available RAM. Is there any way to reduce the BearSSL memory usage (with compilation or linking options, removing some BearSSL source code ...etc)?

ravelab commented 5 years ago

it looks like I can change BearSSLClient _iobuf[8192 + 85 + 325] to _iobuf[1024 + 85 + 325] to save 7K RAM usage.