#crypto #cryptography #rand #ECC #RSA

sys no-std gnir

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

48 releases (8 breaking)

✓ Uses Rust 2018 edition

0.14.6 Feb 9, 2019
0.13.5 Feb 3, 2019

#204 in Cryptography

Download history 8/week @ 2019-01-27 380/week @ 2019-02-03 3/week @ 2019-02-10 2/week @ 2019-02-17 99/week @ 2019-02-24 90/week @ 2019-03-03 2/week @ 2019-03-10 97/week @ 2019-03-17 214/week @ 2019-03-24

298 downloads per month

Custom license

5.5MB
210K SLoC

Assembly 154K SLoC // 0.0% comments Perl 42K SLoC // 0.1% comments Rust 10K SLoC // 0.3% comments C 4K SLoC // 0.2% comments Python 327 SLoC // 0.2% comments

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


lib.rs:

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

git clone

Feature Flags

Feature Description
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.
use_heap (default) Enable features that require use of the heap, RSA in particular.

Dependencies

  • build build.rs
  • build cc 1.0