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

#233 in Cryptography

Download history 42/week @ 2023-08-09 154/week @ 2023-08-16 606/week @ 2023-08-23 93/week @ 2023-08-30 440/week @ 2023-09-06 440/week @ 2023-09-13 277/week @ 2023-09-20 698/week @ 2023-09-27 1292/week @ 2023-10-04 1564/week @ 2023-10-11 1317/week @ 2023-10-18 575/week @ 2023-10-25 270/week @ 2023-11-01 787/week @ 2023-11-08 436/week @ 2023-11-15 265/week @ 2023-11-22

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

MIT/Apache

8.5MB
169K SLoC

C 147K SLoC // 0.3% comments GNU Style Assembly 18K SLoC // 0.0% comments Bitbake 2.5K SLoC // 0.0% comments Rust 868 SLoC // 0.0% comments D 689 SLoC 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