1 unstable release

0.10.0 Jul 2, 2024

#1806 in Cryptography

Download history 159/week @ 2024-06-30 3/week @ 2024-07-07 1/week @ 2024-08-11 6/week @ 2024-08-25 3/week @ 2024-09-01 21/week @ 2024-09-15 22/week @ 2024-09-22 22/week @ 2024-09-29 7/week @ 2024-10-06

72 downloads per month
Used in 3 crates (via sentc-crypto-rec-keys)

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