#rsa #ecc #rand #random #crypto

sys no-std gnir

Automated mirror of ring - Safe, fast, small crypto using Rust

59 releases (10 breaking)

0.16.5 Aug 9, 2019
0.15.0 Aug 9, 2019
0.14.6 Feb 9, 2019

#1744 in Cryptography

Download history 4/week @ 2024-07-01 313/week @ 2024-07-29

103 downloads per month

Custom license

5.5MB
178K SLoC

GNU Style Assembly 95K SLoC // 0.0% comments Perl 39K SLoC // 0.1% comments Assembly 29K SLoC // 0.0% comments Rust 12K SLoC // 0.1% comments C 2.5K SLoC // 0.2% comments Python 266 SLoC // 0.4% comments

gnir - a republish of ring

This crate is, apart from the name, an exact duplicate of ring. It has been produced by an automatic tool to work around some inconvenience in the upstream crate.

For more information see https://crates.io/crates/isildur.

Original README.md file follows:

No readme file included in crate.


lib.rs:

Safe, fast, small crypto using Rust with BoringSSL's cryptography primitives.

git clone https://github.com/briansmith/ring

Feature Flags

Feature Description
alloc (default) Enable features that require use of the heap, RSA in particular.
dev_urandom_fallback (default) This is only applicable to Linux. On Linux, by default, ring::rand::SystemRandom will fall back to reading from /dev/urandom if the getrandom() syscall isn't supported at runtime. When the dev_urandom_fallback feature is disabled, such fallbacks will not occur. See the documentation for rand::SystemRandom for more details.
std Enable features that use libstd, in particular `std::error::Error` integration.

Dependencies