Skip to main content

Module ecc

Module ecc 

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

AffinePointMultiplication
A marker type representing Base Point Multiplication
AffinePointVerification
A marker type representing Base Point Verification
AffinePointVerificationAndJacobianPointMultiplication
A marker type representing Base Point Verification + Jacobian Point Multiplication
AffinePointVerificationAndMultiplication
A marker type representing Base Point Verification and Multiplication
Config
ECC peripheral configuration.
Ecc
The ECC Accelerator driver.
EccBackend
ECC processing backend.
EccBackendOperation
An ECC operation that can be enqueued on the work queue.
EccHandle
A handle for an in-progress operation.
EccResultHandle
The result of an ECC operation.
EccWorkQueueDriver
An active work queue driver.
JacobianPointMultiplication
A marker type representing Jacobian Point Multiplication
JacobianPointVerification
A marker type representing Jacobian Point Verification
KeyLengthMismatch
The length of the arguments do not match the length required by the curve.

Enums§

EllipticCurve
Represents supported elliptic curves for cryptographic operations.
OperationError
ECC operation error.

Traits§

EccOperation
Marks an ECC operation.
OperationReturnsAffinePoint
Marks operations that return a point in affine format.
OperationReturnsJacobianPoint
Marks operations that return a point in Jacobian format.
OperationReturnsScalar
Marks operations that return a scalar value.
OperationVerifiesPoint
Marks operations that verify that the input point is on the curve.