Closed fogzot closed 12 months ago
Memory usage change @ b7f79d8fdc77bbe4921378eb014a2f4ebb39585e
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:mbed:envie_m7 |
:green_heart: -32 - 0 | -0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_nano:nanorp2040connect |
:green_heart: -32 - 0 | -0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:megaavr:uno2018 |
:green_heart: -20 - 0 | -0.04 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkr1000 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrgsm1400 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrnb1500 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrvidor4000 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrwan1300 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrwan1310 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrwifi1010 |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:nano_33_iot |
:green_heart: -32 - 0 | -0.01 - 0.0 | 0 - 0 | 0.0 - 0.0 |
@pennam, would you mind to review? Thanks!
:+1: Thanks for the fix @fogzot
When using ECCX08.ecSign() the input buffer should be exactly 32 bytes long. The old example worked only because the signature was generated and then checked on the first 32 bytes of the 64 bytes buffer.