Reference for Digital Signature Peripheral in the ESP32SS
https://www.espressif.com/sites/default ... ual_en.pdf
Digital signatures provide a way to cryptographically authenticate a message using a private key, to be verified using the corresponding public key. This can be used to validate a device’s identity to a server, or to authenticate the integrity of a message has not been tampered with.ESP32-S2 includes a digital signature (DS) peripheral which produces hardware accelerated RSA digital signatures, without the RSA private key being accessible by software.
- RSA Digital Signatures with key lengths up to 4096 bits
- Private key data is encrypted and only readable by DS peripheral
- SHA-256 digest is used to protect private key data against tampering by an attacker