[][src]Module schnorrkel::points

Ristretto point tooling

We provide a RistrettoBoth type that contains both an uncompressed RistrettoPoint along side its matching CompressedRistretto, which helps several protocols avoid duplicate ristretto compressions and/or decompressions.

Structs

RistrettoBoth

A RistrettoBoth contains both an uncompressed RistrettoPoint as well as the corresponding CompressedRistretto. It provides a convenient middle ground for protocols that both hash compressed points to derive scalars for use with uncompressed points.

Constants

RISTRETTO_POINT_LENGTH

Compressed Ristretto point length