Bigcrypto.ScalarmultScalar multiplication.
The primitive is curve25519, NaCl documentation.
type scalar = Bytes.tThe type for scalars.
type group_element = Bytes.tThe type for group elements.
val mult : scalar -> group_element -> group_elementmult n p multiplies p by n. Raises Invalid_argument if either n or p has not the right length.
val base : scalar -> group_elementbase n multiplies a standard group element by n. Raises Invalid_argument if n has not the right length.