11 releases (breaking)

0.10.0 Dec 17, 2024
0.9.0 Oct 18, 2023
0.8.0 Aug 21, 2023
0.7.2 Aug 22, 2022
0.1.0 Dec 8, 2017

#132 in Cryptography

Download history 422/week @ 2024-09-21 412/week @ 2024-09-28 735/week @ 2024-10-05 398/week @ 2024-10-12 607/week @ 2024-10-19 830/week @ 2024-10-26 691/week @ 2024-11-02 479/week @ 2024-11-09 797/week @ 2024-11-16 1488/week @ 2024-11-23 299/week @ 2024-11-30 271/week @ 2024-12-07 336/week @ 2024-12-14 34/week @ 2024-12-21 52/week @ 2024-12-28 313/week @ 2025-01-04

763 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

28MB
649K SLoC

GNU Style Assembly 362K SLoC // 0.0% comments C 283K SLoC // 0.3% comments Bitbake 3K SLoC // 0.1% comments Rust 1K SLoC // 0.1% comments Python 1K SLoC // 0.2% comments Shell 135 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
    • ml_kem
    • ntruprime
  • sigs (default): Compile with all signature schemes enabled
    • cross
    • dilithium
    • falcon
    • mayo
    • ml_dsa
    • sphincs: SPHINCS+

Dependencies