package nocrypto
Module Cipher_block.Counter
BE counter function.
Each incrX cs i increments X-sized block of cs at the offset i by one, returning true if an overfow occurred (and the block is now zeroed-out).
Each addX cs i n adds n to the X-sized block.
val incr1 : Cstruct.t -> int -> boolval incr2 : Cstruct.t -> int -> boolval incr4 : Cstruct.t -> int -> boolval incr8 : Cstruct.t -> int -> boolval incr16 : Cstruct.t -> int -> boolval add4 : Cstruct.t -> int -> int32 -> unitval add8 : Cstruct.t -> int -> int64 -> unitval add16 : Cstruct.t -> int -> int64 -> unit