Psa.HashMessage digests.
See also Message digests (Hashes) in Alg.
val compute :
Alg.t ->
input:Bytesrw.Bytes.Slice.t ->
hash:Bytesrw.Bytes.Slice.t ->
(int, Status.t) Stdlib.resultval compare :
Alg.t ->
input:Bytesrw.Bytes.Slice.t ->
hash:Bytesrw.Bytes.Slice.t ->
Status.tmodule Operation : sig ... endHash operations.
val setup : Operation.t -> Alg.t -> Status.tval update : Operation.t -> Bytesrw.Bytes.Slice.t -> Status.tval finish :
Operation.t ->
hash:Bytesrw.Bytes.Slice.t ->
(int, Status.t) Stdlib.resultval verify : Operation.t -> hash:Bytesrw.Bytes.Slice.t -> Status.tval abort : Operation.t -> Status.tval clone : src:Operation.t -> dst:Operation.t -> Status.tval length : Alg.t -> intval block_length : Alg.t -> int