Expand description
RSA Accelerator support.
This module provides functions and structs for multi precision arithmetic operations used in RSA asym-metric cipher algorithms
Features
The RSA peripheral supports maximum operand of the following sizes for each individual chips:
Feature | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
---|---|---|---|---|---|
modular exponentiation | 4096 | 3072 | 3072 | 4096 | 4096 |
modular multiplication | 4096 | 3072 | 3072 | 4096 | 4096 |
multiplication | 2048 | 1536 | 1536 | 2048 | 2048 |
Modules
- Marker types for the operand sizes
Structs
- RSA peripheral container
- Support for RSA peripheral’s modular exponentiation feature that could be used to find the
(base ^ exponent) mod modulus
. - Support for RSA peripheral’s modular multiplication feature that could be used to find the
(operand a * operand b) mod modulus
. - Support for RSA peripheral’s large number multiplication feature that could be used to find the
operand a * operand b
.