Skip to main content

Crate libcrux_curve25519

Crate libcrux_curve25519 

Source

Modules§

ecdh_api
hacl

Structs§

Error
Indicates that an error occurred
X25519

Constants§

DK_LEN
The length of Curve25519 secret keys.
EK_LEN
The length of Curve25519 public keys.
SS_LEN
The length of Curve25519 shared keys.

Functions§

clamp
Clamp a scalar.
ecdh
is_clamped
Test whether a scalar is already clamped, error indicating that it is not.
secret_to_public