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

#252 in Cryptography

Download history 822/week @ 2024-01-09 806/week @ 2024-01-16 752/week @ 2024-01-23 1148/week @ 2024-01-30 923/week @ 2024-02-06 726/week @ 2024-02-13 828/week @ 2024-02-20 927/week @ 2024-02-27 678/week @ 2024-03-05 976/week @ 2024-03-12 1103/week @ 2024-03-19 720/week @ 2024-03-26 957/week @ 2024-04-02 945/week @ 2024-04-09 783/week @ 2024-04-16 591/week @ 2024-04-23

3,498 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