News for hackers. Stuff that matters.
Re:Elliptic curve arithmetic and cryptography library in Rust by bascule on Saturday December 13, 2014 @09:55PM (#8747302)
Rust has an asm! macro. You can implement the constant time operations in assembly.

Here's a syntax extension that tries to use black magic to turn a subset of Rust code into corresponding asm! macros:

https://github.com/klutzy/nadeko/blob/tmp/tests/rot13.rs

Note it presently has no support for loops whatsoever.

Re:Elliptic curve arithmetic and cryptography library in Rust by e12e on Monday December 15, 2014 @01:55AM (#8750944)
> Note it presently has no support for loops whatsoever.

Could you comment on why? Is it perhaps necessary to save/restore ECX [edit: I meant RCX for 64bit] between procedure/function calls/rets?

Re:Elliptic curve arithmetic and cryptography library in Rust by bascule on Friday December 26, 2014 @01:39AM (#8798279)
It's because nadeko is a young project and it hasn't been implemented yet. Coming soon!