package eqaf

Build not checked
  1. Overview
  2. Docs

Description

From some crypto libraries like digestif or Callipyge, it needed to have a constant time equal function to avoid timing attacks. To avoid replication of code and ensure maintainability of this kind of function, we decide to provide a little package which implements equal function on string.

This package provides 2 implementations (a C implementation which comes from OpenBSD's code and an OCaml implementation which is simply a translation of the C code) well tested to check constant time assumption (see tests).

Happy hacking!

Added to opam-repository:

README

Eqaf - Constant time equal function on string

From some crypto libraries like digestif or Callipyge, it needed to have a constant time equal function to avoid timing attacks. To avoid replication of code and ensure maintainability of this kind of function, we decide to provide a little package which implements equal function on string.

This package provides 2 implementations (a C implementation which comes from OpenBSD's code and an OCaml implementation which is simply a translation of the C code) well tested to check constant time assumption (see tests).

Happy hacking!

Dependencies (2)

  1. jbuilder >= "1.0+beta10"
  2. ocaml >= "4.03.0"

Dev Dependencies

None

Optional Dependencies

None

Conflicts

None

Build status

Results of building eqaf with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.10 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure