1 unstable release

0.10.0 Jul 2, 2024

#2465 in Cryptography

Download history 72/week @ 2024-10-23 46/week @ 2024-10-30 143/week @ 2024-11-06 3/week @ 2024-11-13 8/week @ 2024-11-20 8/week @ 2024-11-27 27/week @ 2024-12-04 17/week @ 2024-12-11 19/week @ 2024-12-18 260/week @ 2025-01-15 51/week @ 2025-01-22 8/week @ 2025-01-29 50/week @ 2025-02-05

369 downloads per month
Used in 5 crates (3 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