Module Scalar_mult.Bytes

Bytes offers versions of each of the above formatters, which get their value from a bytes value.

type storage = bytes
val group_elt : storage Fmt.t

group_elt formats a group_elt in this fashion: (Scalar_mult.group_elt AAAAAA==). If the storage value is not Sodium.Scalar_mult.group_elt_size bytes long, it will be formatted as (Scalar_mult.group_elt <size mismatch>).

val integer : storage Fmt.t

integer formats a integer in this fashion: (Scalar_mult.integer AAAAAA==). If the storage value is not Sodium.Scalar_mult.integer_size bytes long, it will be formatted as (Scalar_mult.integer <size mismatch>).