Module Make.Strategy

type scalar = Scalar.t
type state

The state of the strategy

val init : ?input_length:int -> scalar array -> state

Initialize the state with the given input

val apply_perm : state -> unit

Apply a permutation round

val get : state -> scalar array

Return the current scalar elements in the state

val input_length : state -> int option

Return the expected input length if specified