10 releases (breaking)

0.9.0 Oct 18, 2023
0.7.2 Aug 22, 2022
0.7.1 Dec 17, 2021
0.7.0 Aug 12, 2021
0.1.0 Dec 8, 2017

#468 in Cryptography

Download history 861/week @ 2024-01-24 1125/week @ 2024-01-31 846/week @ 2024-02-07 669/week @ 2024-02-14 920/week @ 2024-02-21 978/week @ 2024-02-28 578/week @ 2024-03-06 1150/week @ 2024-03-13 993/week @ 2024-03-20 688/week @ 2024-03-27 958/week @ 2024-04-03 1019/week @ 2024-04-10 676/week @ 2024-04-17 624/week @ 2024-04-24 613/week @ 2024-05-01 650/week @ 2024-05-08

2,781 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

20MB
447K SLoC

GNU Style Assembly 276K SLoC // 0.0% comments C 167K SLoC // 0.2% comments Bitbake 3K SLoC // 0.1% comments Rust 868 SLoC // 0.0% comments Python 617 SLoC // 0.3% comments Shell 14 SLoC // 0.3% 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: 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.
  • kems (default): Compile with all KEMs enabled
    • bike (only on non-Windows)
    • classic_mceliece
    • frodokem
    • hqc
    • kyber
    • ntru
    • ntruprime
    • saber
    • sidh
    • sike
  • sigs (default): Compile with all signature schemes enabled
    • dilithium
    • falcon
    • picnic
    • rainbow
    • sphincs: SPHINCS+

Dependencies