Re:TLS/SSL implementation in Haskell
by pintor on Tuesday April 08, 2014 @10:07PM
(#7557317)
Maybe Rust will provide the right balance between the two.
[ Parent
| on HN ]
No programming language seems to provide primitives for constant-time algorithms.
At this point, gcc and clang should at least provide constant time memcmp primitives; any custom solution not supported by the compiler is not portable and needs to be validated separately for each implementation, each platform, each compiler version.
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.