8 releases (5 breaking)

Uses new Rust 2021

0.7.2 Aug 22, 2022
0.7.1 Dec 17, 2021
0.7.0 Aug 12, 2021
0.6.0 Jun 8, 2021
0.1.0 Dec 8, 2017

#477 in Cryptography

Download history 15/week @ 2022-06-11 17/week @ 2022-06-18 7/week @ 2022-06-25 17/week @ 2022-07-02 16/week @ 2022-07-09 20/week @ 2022-07-16 24/week @ 2022-07-23 26/week @ 2022-07-30 27/week @ 2022-08-06 22/week @ 2022-08-13 48/week @ 2022-08-20 29/week @ 2022-08-27 20/week @ 2022-09-03 27/week @ 2022-09-10 20/week @ 2022-09-17 17/week @ 2022-09-24

88 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

31MB
780K SLoC

GNU Style Assembly 451K SLoC // 0.0% comments C 328K SLoC // 0.2% comments SWIG 723 SLoC // 0.1% comments Rust 135 SLoC // 0.1% comments Batch 19 SLoC

FFI Rust binding to Open Quantum Safe's liboqs

crates.io crates.io/docs

This crate provides the unsafe ffi bindings to liboqs.

Features

  • openssl (default): Compile with OpenSSL features (mostly symmetric cryptography)
  • non_portable: Don't build a portable library.
  • kems (default): Compile with all KEMs enabled
    • bike (only on non-Windows)
    • classic_mceliece
    • frodokem
    • hqc
    • kyber
    • ntru
    • ntruprime
    • saber
    • sidh
    • sike
  • sigs (default): Compile with all signature schemes enabled
    • dilithium
    • falcon
    • picnic
    • rainbow
    • sphincs: SPHINCS+

lib.rs:

Bindings to liboqs

Dependencies