@@ -7564,6 +7564,34 @@ property-based testing and the magical bug-finding powers of
[afl-fuzz](http://lcamtuf.coredump.cx/afl/).")
(license license:expat)))
+(define-public ocaml-eqaf
+ (package
+ (name "ocaml-eqaf")
+ (version "0.7")
+ (home-page "https://github.com/mirage/eqaf")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06hsnnjax1kb3qsi3cj0nyyz8c2hj2gbw3h517gpjinpnwy2fr85"))))
+ (build-system dune-build-system)
+ (propagated-inputs
+ ;; required to build the eqaf.cstruct library (see https://github.com/mirage/eqaf/pull/27)
+ `(("ocaml-bigarray-compat" ,ocaml-bigarray-compat)
+ ("ocaml-cstruct" ,ocaml-cstruct)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)
+ ("ocaml-crowbar" ,ocaml-crowbar)))
+ (synopsis "OCaml library for constant-time equal function on string")
+ (description "This OCaml library provides an equal function on string in
+constant-time to avoid timing-attack with crypto stuff.")
+ (license license:expat)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")