Module rsa

Module rsa 

Source
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.

Modules§

operand_sizes
Defines the exponentiation and multiplication lengths for RSA operations.

Structs§

Rsa
RSA peripheral driver.
RsaBackend
RSA processing backend.
RsaContext
An RSA work queue user.
RsaHandle
The handle to the pending RSA operation.
RsaModularExponentiation
Support for RSA peripheral’s modular exponentiation feature that could be used to find the (base ^ exponent) mod modulus.
RsaModularMultiplication
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.
RsaWorkQueueDriver
An active work queue driver.

Traits§

Multi
Defines the output type of RSA multiplications.
RsaMode
Defines the input size of an RSA operation.