1 unstable release

0.10.0+liboqs-0.10.1 Jul 2, 2024

#2485 in Cryptography


Used in 3 crates (via safe-oqs)

MIT/Apache

23MB
505K SLoC

GNU Style Assembly 279K SLoC // 0.0% comments C 222K SLoC // 0.3% comments Bitbake 3K SLoC // 0.1% comments Python 672 SLoC // 0.3% comments Shell 173 SLoC // 0.1% comments Rust 171 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
    • ntruprime
  • sigs (default): Compile with all signature schemes enabled
    • dilithium
    • falcon
    • sphincs: SPHINCS+

lib.rs:

Bindings to liboqs

Dependencies