[][src]Module salty::scalar

Structs

Scalar

Since the curve is an abelian group, it has a module structure, consisting of these scalars. They are the integers modulo "ell", where "ell" is 2**252 + something something.

TweetNaclScalar

NB: The buffer is assumed to be zero from byte 32 onward - each operation should call clear_upper_half to ensure this.

Type Definitions

U256le

32 octets, interpreted as little-endian 256 bit unsigned integer

U512le

64 octets, interpreted as little-endian 512 bit unsigned integer