commits
Fix the documentation of Digestif.S.hmac_feed_bytes
Upgrade setup-ocaml
Remove setup-dkml from CI
Use CAMLextern in caml_ forward declarations
add x-maintenance-intent field to the opam file
Analogous to `ctx` and `feed_*` but for computing hmacs incrementally.
For when `hmaci_*` is not suitable.
Implement get_into_bytes
Add lower bound on fmt
Add a new type hash', a polymorphic variant
We use `Fmt.str` etc. which is introduced in fmt.0.8.7.
The hash' type permits to manipulate hash implementations without the type information.
It can be useful when the user does not want to prove the type of the hash.
Co-authored-by: Romain Calascibetta <romain.calascibetta@gmail.com>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
get_into_bytes finalizes the hash and writes it to the buffer.
Co-authored-by: Romain Calascibetta <romain.calascibetta@gmail.com>
Co-authored-by: Reynir Björnsson <reynir@reynir.dk>
Update description to include SHA3
Fix primitives used for bytes
Add a test about CVE-2022-37454
Delete the old MirageOS 3 trick
Such trick is to compile digestif with ocaml-solo5 and distribute
it for MirageOS 3 then. We need to patch the generated META file
from `dune` to finally install something good for MirageOS 3.
It seems clear that at this date, we don't really need to continue
the support of MirageOS. It seems that such trick bothers dune
cache and installation on some platform. Let's just remove that.
Use extern instead of caml/threads.h
test_conv.ml requires /dev/urandom and work only on Unix system
Support MSVC compiler
raise to OCaml 4.07.0, remove dependency to compat packages
Such trick is to compile digestif with ocaml-solo5 and distribute
it for MirageOS 3 then. We need to patch the generated META file
from `dune` to finally install something good for MirageOS 3.
It seems clear that at this date, we don't really need to continue
the support of MirageOS. It seems that such trick bothers dune
cache and installation on some platform. Let's just remove that.