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

#2078 in Cryptography

Download history 837/week @ 2024-07-25 791/week @ 2024-08-01 773/week @ 2024-08-08 669/week @ 2024-08-15 786/week @ 2024-08-22 564/week @ 2024-08-29 558/week @ 2024-09-05 416/week @ 2024-09-12 431/week @ 2024-09-19 581/week @ 2024-09-26 932/week @ 2024-10-03 565/week @ 2024-10-10 740/week @ 2024-10-17 1091/week @ 2024-10-24 1039/week @ 2024-10-31 879/week @ 2024-11-07

3,838 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