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).
Structs§
- Affine
Point Multiplication - A marker type representing Base Point Multiplication
- Affine
Point Verification - A marker type representing Base Point Verification
- Affine
Point Verification AndJacobian Point Multiplication - A marker type representing Base Point Verification + Jacobian Point Multiplication
- Affine
Point Verification AndMultiplication - A marker type representing Base Point Verification and Multiplication
- Config
- ECC peripheral configuration.
- Ecc
- The ECC Accelerator driver.
- EccBackend
- ECC processing backend.
- EccBackend
Operation - An ECC operation that can be enqueued on the work queue.
- EccHandle
- A handle for an in-progress operation.
- EccResult
Handle - The result of an ECC operation.
- EccWork
Queue Driver - An active work queue driver.
- Jacobian
Point Multiplication - A marker type representing Jacobian Point Multiplication
- Jacobian
Point Verification - A marker type representing Jacobian Point Verification
- KeyLength
Mismatch - The length of the arguments do not match the length required by the curve.
Enums§
- Elliptic
Curve - Represents supported elliptic curves for cryptographic operations.
- Operation
Error - ECC operation error.
Traits§
- EccOperation
- Marks an ECC operation.
- Operation
Returns Affine Point - Marks operations that return a point in affine format.
- Operation
Returns Jacobian Point - Marks operations that return a point in Jacobian format.
- Operation
Returns Scalar - Marks operations that return a scalar value.
- Operation
Verifies Point - Marks operations that verify that the input point is on the curve.