#rsa #ecc #rand #random #crypto

sys no-std ring-fork-dtool

Extended ring lib by dtool

3 releases

0.16.13 Mar 8, 2020
0.16.12 Feb 21, 2020
0.16.11 Jan 20, 2020
0.16.10 Jan 20, 2020
0.16.9 Jan 20, 2020

#48 in #rsa

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

See https://github.com/briansmith/ring.


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