Naive question: for low-level primitives like crypto that require speed, when do you/we prefer native implementation (in C at the libOS level) vs oCaml implementation?
regards, Arnaud On Thu, Jan 14, 2016 at 9:41 AM, Hannes Mehnert <[email protected]> wrote: > Hi Tim, > > On 01/08/2016 11:19, Tim Cuthbertson wrote: > > I'd like to use `Bcrypt` from the `safepass` opam module in passe[0]. > > There is sadly no `safepass-xen` package, and trying to just use > > `safepass` results in link errors: > > I wonder whether it'd be more than a day of work to implement bcrypt > directly in OCaml. Would for sure safe from linking trouble (and be > automatically memory safe). An initial version might be 50% or 90% of > the speed of the pure C variant, but does this really matter for bcrypt? > > > hannes > > _______________________________________________ > MirageOS-devel mailing list > [email protected] > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel >
_______________________________________________ MirageOS-devel mailing list [email protected] http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
