12 releases (breaking)

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

#2223 in Cryptography

Download history 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 902/week @ 2024-11-07 700/week @ 2024-11-14 1667/week @ 2024-11-21 811/week @ 2024-11-28 661/week @ 2024-12-05 983/week @ 2024-12-12 305/week @ 2024-12-19 138/week @ 2024-12-26 394/week @ 2025-01-02 548/week @ 2025-01-09

1,632 downloads per month
Used in 8 crates (2 directly)

MIT/Apache

28MB
648K SLoC

GNU Style Assembly 362K SLoC // 0.0% comments C 283K SLoC // 0.3% comments Bitbake 3K SLoC // 0.1% comments Python 1K SLoC // 0.2% comments Rust 178 SLoC // 0.1% comments Shell 136 SLoC // 0.1% 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

  • vendored (default): Compile the included version of liboqs instead of linking to the system version.
  • 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
    • ml_kem
    • ntruprime
  • sigs (default): Compile with all signature schemes enabled
    • cross
    • dilithium
    • falcon
    • mayo
    • ml_dsa
    • sphincs: SPHINCS+

Dependencies