arduino-libraries / ArduinoBearSSL

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

Add _ecVrfy and _ecSign #31

Closed ffontaine closed 4 years ago

ffontaine commented 4 years ago

Add _ecVrfy and _ecSign to allow the user to customize the verification and signature functions (could be useful if the user wants to use BearSSLClient without ECC508)

The functions can be customized through the constructor and are set to their current values as soon as the user calls setEccSlot

Signed-off-by: Fabrice Fontaine fabrice.fontaine@orange.com

github-actions[bot] commented 4 years ago

Memory usage change @436c232c451dc4ad7a1ce0ebd606cfbb4b21699b

FQBN Flash Usage RAM For Global Variables
arduino:megaavr:uno2018 0 0
arduino:samd:mkr1000 0 0
arduino:samd:mkrgsm1400 0 0
ffontaine commented 4 years ago

Thanks for merging this PR, I sent another small one to also allow the user to set its own certificate