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 |
#1770 in Cryptography
62 downloads per month
Used in zerodrop
595KB
190 lines
Contains (WOFF font, 120KB) docs/Heuristica-Italic.woff, (WOFF font, 90KB) docs/FiraSans-Medium.woff, (WOFF font, 92KB) docs/FiraSans-Regular.woff, (WOFF font, 56KB) docs/SourceCodePro-Regular.woff, (WOFF font, 56KB) docs/SourceCodePro-Semibold.woff, (WOFF font, 49KB) docs/SourceSerifPro-Bold.woff and 1 more.
#constanttime
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 uint8
and uint32
into all Rust
integer types.
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"
#Audit
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.
####Legal
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
creating the crypto/subtile/constant_time.go
library which was used for
reference.
No Go-Lang source code exists within this project. Nonethless the orginal Go-Lang reference source is here, and is it's license is here. For future reference purporses.