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

Download history 64/week @ 2024-07-22 45/week @ 2024-07-29 74/week @ 2024-08-05 34/week @ 2024-08-12 59/week @ 2024-08-19 12/week @ 2024-08-26 4/week @ 2024-09-02 2/week @ 2024-09-09 6/week @ 2024-09-16 21/week @ 2024-09-23 10/week @ 2024-09-30 29/week @ 2024-10-07 22/week @ 2024-10-14 13/week @ 2024-10-21 4/week @ 2024-10-28 19/week @ 2024-11-04

62 downloads per month
Used in zerodrop

Apache-2.0

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

Documentation

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.

No runtime deps