Hacl.Blake2s_Simd128
Vectorized BLAKE2s implementation, requiring 128-bit vector support
Buffers have the following size constraints:
key
: <= 64 bytes for BLAKE2b, <= 32 bytes for BLAKE2sdigest
: non-zero, <= 64 bytes for BLAKE2b, <= 32 bytes for BLAKE2stype bytes = SharedDefs.CBytes.t
hash ?key msg size
hashes msg
and returns a digest of length size
. An optional key
argument can be passed for keyed hashing.
module Noalloc : sig ... end
Version of this function which writes its output in a buffer passed in as an argument