Available on crate feature
unstable
only.Expand description
§Elliptic Curve Cryptography (ECC) Accelerator
§Overview
Elliptic Curve Cryptography (ECC) is an approach to public-key cryptography based on the algebraic structure of elliptic curves. ECC allows smaller keys compared to RSA cryptography while providing equivalent security.
ECC Accelerator can complete various calculation based on different elliptic curves, thus accelerating ECC algorithm and ECC-derived algorithms (such as ECDSA).
§Configuration
ECC Accelerator supports:
- Two different elliptic curves, namely P-192 and P-256 defined in FIPS 186-3.
- Seven working modes.
- Interrupt upon completion of calculation.
Inputs of the ECC hardware accelerator must be provided in big-endian representation. The driver handles the inner representation of the blocks.
§Examples
Visit the ECC test for an example of using the ECC Accelerator.
Structs§
- Ecc
- The ECC Accelerator driver instance
Enums§
- Elliptic
Curve - Represents supported elliptic curves for cryptographic operations.
- Error
- ECC interface error
- Work
Mode - Represents the operational modes for elliptic curve or modular arithmetic computations.