package eqaf
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7626fd2e590a391eb3269e11f5e91cf12084e6b22108db2353aea466b7d9481e
md5=0e04772c3a0b67bf2c5393a03511878b
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!
Published: 03 Sep 2018
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!
Dev Dependencies
None
Used by (7)
-
callipyge
>= "0.2"
-
digestif
>= "0.7"
- hacl_x25519
- mec
- noise
- octez-libs
- octez-mec
Conflicts
None