Module esp32_hal::rsa

source ·
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:

FeatureESP32ESP32-C3ESP32-C6ESP32-S2ESP32-S3
modular exponentiation40963072307240964096
modular multiplication40963072307240964096
multiplication20481536153620482048

Modules

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.