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

#1773 in Cryptography

Download history 867/week @ 2024-10-30 1024/week @ 2024-11-06 828/week @ 2024-11-13 1685/week @ 2024-11-20 709/week @ 2024-11-27 690/week @ 2024-12-04 831/week @ 2024-12-11 532/week @ 2024-12-18 132/week @ 2024-12-25 326/week @ 2025-01-01 638/week @ 2025-01-08 456/week @ 2025-01-15 589/week @ 2025-01-22 660/week @ 2025-01-29 501/week @ 2025-02-05 505/week @ 2025-02-12

2,343 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