Module tor_llcrypto::pk::curve25519
source · [−]Expand description
Re-exporting Curve25519 implementations.
TODO: Eventually we should probably recommend using is code via some
key-agreement trait, but for now we are just re-using the APIs from
x25519_dalek
.
Structs
A short-lived Diffie-Hellman secret key that can only be used to compute a single
SharedSecret
.
A Diffie-Hellman public key, corresponding to an EphemeralSecret
or
StaticSecret
key.
The result of a Diffie-Hellman key exchange.
A Diffie-Hellman secret key that can be used to compute multiple SharedSecret
s.