core/crypto/ristretto255

ristretto255

Types

2

Group_Element

Group_Element :: struct { // WARNING: While the internal representation is an Edwards25519 // group element, this is not guaranteed to always be the case, // and your code *WILL* break if you mess with `_p`. _p: grp.Group_Element, _is_initialized: bool, }Source

Group_Element is a ristretto255 group element. The zero-initialized value is invalid.

Constants

4

Procedures

32

sc_set_bytes_wide

sc_set_bytes_wide :: proc(sc: ^Scalar, b: []u8)Source

sc_set_wide_bytes sets sc to the result of deriving a ristretto255 scalar, from a wide (512-bit) byte string by interpreting b as a little-endian value, and reducing it mod the group order.

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.