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§
- operand_
sizes - Module defining marker types for various RSA operand sizes. Marker types for the operand sizes
Structs§
- Rsa
- RSA peripheral container
- RsaModular
Exponentiation - Support for RSA peripheral’s modular exponentiation feature that could be
used to find the
(base ^ exponent) mod modulus
. - RsaModular
Multiplication - Support for RSA peripheral’s modular multiplication feature that could be
used to find the
(operand a * operand b) mod modulus
. - RsaMultiplication
- Support for RSA peripheral’s large number multiplication feature that could
be used to find the
operand a * operand b
.