[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Compiling C components for mirage-xen



On Fri, Jan 15, 2016 at 1:41 AM, Hannes Mehnert <hannes@xxxxxxxxxxx> 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?


I would certainly be happy with an ocaml implementation, but am not
sure that I'd trust myself to code one up, not having implemented any
low-level crypto algorithms before. If
https://github.com/mirleft/ocaml-nocrypto/issues/71 happened I'd
probably be pleased :)

Cheers,
 - Tim.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.