These bindings provide an OCaml API to the olm and megolm cryptographic ratchets used by the open-source Matrix communication protocol. The repository containing the implementation of the libolm cryptography can be found here. Unfortunately the hyperlink on the git submodule in the olm/c/vendor subdirectory is broken due to being pointed at GitLab. Library API (as well as testing and documentation) has been modelled after the python bindings included in the Olm repository.
The C bindings themselves have been statically built using the ocaml-ctypes Cstubs module, with organization heavily inspired by Luv
Odoc generated docs can be found at
here, or
you may take a look at the .mli
files themselves.