4 releases (2 breaking)
Uses old Rust 2015
|0.2.0||Dec 10, 2016|
|0.1.0||Dec 9, 2016|
|0.0.2||Dec 9, 2016|
|0.0.1||Dec 9, 2016|
#422 in Cryptography
618 downloads per month
Used in zerodrop
A crate that supports many constant time operations. The reference is Go-Lang's crypto/subtile
which implements the orginal form of these constant time operations. I took the library of extrapolating the
uint32 into all Rust
These operations are not designed to be fast. They are designed to take the same if they suceeded or fail. This is to prevent side channel attacks on cryptographic libraries and applications.
This crate is
core only. So it does not require
std therefore it can be
used without an operating system for OS and Embedded Development.
To use this crate include:
[dependencies] constanttime = "0.2"
Does this crate work as advertised?
I'd sure like to find out! If you know asm, or a lot about low level machine hacking I'd love your help.
This project can be considered licensed under Apache2.0 Software License. A full copy can of this license can found here.
A large thank you goes to the Go-Lang standard library development team for
crypto/subtile/constant_time.go library which was used for