13 releases (8 breaking)

0.10.1+liboqs-0.12.0 Jan 30, 2025
0.10.0+liboqs-0.12.0 Dec 17, 2024
0.9.1+liboqs-0.9.0 Oct 23, 2023
0.7.2 Aug 22, 2022
0.1.0 Dec 8, 2017

#1735 in Cryptography

Download history 1027/week @ 2024-10-28 1122/week @ 2024-11-04 875/week @ 2024-11-11 1632/week @ 2024-11-18 831/week @ 2024-11-25 584/week @ 2024-12-02 754/week @ 2024-12-09 836/week @ 2024-12-16 162/week @ 2024-12-23 168/week @ 2024-12-30 723/week @ 2025-01-06 287/week @ 2025-01-13 650/week @ 2025-01-20 559/week @ 2025-01-27 656/week @ 2025-02-03 566/week @ 2025-02-10

2,450 downloads per month
Used in 8 crates (3 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 192 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