Available on crate feature
unstable
only.Expand description
§RSA (Rivest–Shamir–Adleman) accelerator.
§Overview
The RSA accelerator provides hardware support for high precision computation used in various RSA asymmetric cipher algorithms by significantly reducing their software complexity. Compared with RSA algorithms implemented solely in software, this hardware accelerator can speed up RSA algorithms significantly.
§Configuration
The RSA accelerator also supports operands of different lengths, which provides more flexibility during the computation.
§Examples
§Modular Exponentiation, Modular Multiplication, and Multiplication
Visit the RSA test suite for an example of using the peripheral.
Modules§
- Module defining marker types for various RSA operand sizes. 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
.
Traits§
- Defines the output type of RSA multiplications.
- Defines the input size of an RSA operation.