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

#2248 in Cryptography

Download history 481/week @ 2024-09-20 620/week @ 2024-09-27 968/week @ 2024-10-04 478/week @ 2024-10-11 843/week @ 2024-10-18 1072/week @ 2024-10-25 1049/week @ 2024-11-01 898/week @ 2024-11-08 739/week @ 2024-11-15 1616/week @ 2024-11-22 770/week @ 2024-11-29 689/week @ 2024-12-06 1003/week @ 2024-12-13 172/week @ 2024-12-20 164/week @ 2024-12-27 414/week @ 2025-01-03

1,881 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