arduino-libraries / ArduinoBearSSL

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

Increase buffer size for more capable boards #72

Closed manchoz closed 1 year ago

manchoz commented 1 year ago

Increase the size of the input and output buffers of the TLS client on boards based on SMT32H7.

github-actions[bot] commented 1 year ago

Memory usage change @ b9b0d2f4f29714db29a360d1926aca54a182802d

Board flash % RAM for global variables %
arduino:megaavr:uno2018 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|`examples/SHA1`
flash|%|`examples/SHA1`
RAM for global variables|%|`examples/SHA256`
flash|%|`examples/SHA256`
RAM for global variables|%|`examples/WiFiSSLClient`
flash|%|`examples/WiFiSSLClient`
RAM for global variables|%|`examples/MKRGSMSSLClient`
flash|%|`examples/MKRGSMSSLClient`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- `arduino:megaavr:uno2018`|0|0.0|0|0.0|0|0.0|0|0.0 `arduino:samd:mkr1000`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 `arduino:samd:mkrgsm1400`|0|0.0|0|0.0|0|0.0|0|0.0|||||0|0.0|0|0.0
Click for full report CSV ``` Board,examples/SHA1
flash,%,examples/SHA1
RAM for global variables,%,examples/SHA256
flash,%,examples/SHA256
RAM for global variables,%,examples/WiFiSSLClient
flash,%,examples/WiFiSSLClient
RAM for global variables,%,examples/MKRGSMSSLClient
flash,%,examples/MKRGSMSSLClient
RAM for global variables,% arduino:megaavr:uno2018,0,0.0,0,0.0,0,0.0,0,0.0 arduino:samd:mkr1000,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:samd:mkrgsm1400,0,0.0,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0 ```