11 releases (7 breaking)

0.9.1+liboqs-0.9.0 Oct 23, 2023
0.8.0 Aug 21, 2023
0.7.2 Aug 22, 2022
0.7.1 Dec 17, 2021
0.1.0 Dec 8, 2017

#1749 in Cryptography

Download history 1239/week @ 2024-03-14 924/week @ 2024-03-21 830/week @ 2024-03-28 1318/week @ 2024-04-04 1041/week @ 2024-04-11 722/week @ 2024-04-18 755/week @ 2024-04-25 945/week @ 2024-05-02 717/week @ 2024-05-09 958/week @ 2024-05-16 832/week @ 2024-05-23 631/week @ 2024-05-30 889/week @ 2024-06-06 877/week @ 2024-06-13 1160/week @ 2024-06-20 756/week @ 2024-06-27

3,861 downloads per month
Used in 10 crates (3 directly)

MIT/Apache

20MB
446K SLoC

GNU Style Assembly 276K SLoC // 0.0% comments C 167K SLoC // 0.2% comments Bitbake 3K SLoC // 0.1% comments Python 618 SLoC // 0.3% comments Rust 169 SLoC // 0.1% comments Shell 15 SLoC // 0.3% comments

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