Email list hosting service & mailing list manager

Re: SSL pipe SRFI Lassi Kortela (14 Sep 2019 15:47 UTC)
Implementing crypto in a GC'ed dynamic language Lassi Kortela (14 Sep 2019 15:59 UTC)
Re: Implementing crypto in a GC'ed dynamic language John Cowan (14 Sep 2019 20:04 UTC)
Re: Implementing crypto in a GC'ed dynamic language Lassi Kortela (14 Sep 2019 20:15 UTC)
Papers about timing attacks on garbage collectors Lassi Kortela (14 Sep 2019 20:22 UTC)

Implementing crypto in a GC'ed dynamic language Lassi Kortela 14 Sep 2019 15:59 UTC

> [Discussion of how to erase secret data in a garbage collected language.]

Another problem that always plagues crypto implementations is timing
attacks. Once again, OpenBSD has timingsafe_memcmp()
<http://man.openbsd.org/timingsafe_memcmp>.

I expect it would be quite difficult to guarantee predictable timing in
Scheme code, especially in portable code. Perhaps so difficult that it'd
be best to write the core transforms in assembler and simply call out to
them using the FFI.

The alternative would be to pick a particular implementation and
religiously read (disassemble my-procedure) output until it looks right,
praying that relevant implementation details don't change...