1 unstable release

0.10.0 Jul 2, 2024

#1994 in Cryptography

Download history 1/week @ 2024-08-10 4/week @ 2024-08-24 5/week @ 2024-08-31 19/week @ 2024-09-14 22/week @ 2024-09-21 23/week @ 2024-09-28 6/week @ 2024-10-05 2/week @ 2024-10-12 4/week @ 2024-10-19 94/week @ 2024-10-26 164/week @ 2024-11-02

264 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

23MB
506K SLoC

GNU Style Assembly 279K SLoC // 0.0% comments C 222K SLoC // 0.3% comments Bitbake 3K SLoC // 0.1% comments Rust 882 SLoC // 0.0% comments Python 671 SLoC // 0.3% comments Shell 172 SLoC // 0.1% comments

Bindings to Open-Quantum-Safe's liboqs

crates.io crates.io/docs

This crate provides convenience wrappers to access the functionality provided by liboqs. For the ffi interface bindings, see oqs-sys.

Features

  • std: (default) build with std support. This adds handly Display and Error implementations to relevant types. If you want a #![no_std] library, disable this feature (and you probably want to disable the default features because they pull in OpenSSL through oqs-sys).
  • non_portable: Don't build a portable library.
  • vendored: (default) Controls the oqs-sys/vendored feature which enables building the included version of liboqs.
  • 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+

Dependencies