8 releases (5 breaking)

Uses new Rust 2021

0.7.2 Aug 22, 2022
0.7.1 Dec 17, 2021
0.7.0 Aug 12, 2021
0.6.0 Jun 8, 2021
0.1.0 Dec 8, 2017

#672 in Cryptography

Download history 42/week @ 2022-06-06 6/week @ 2022-06-13 11/week @ 2022-06-20 14/week @ 2022-06-27 20/week @ 2022-07-04 13/week @ 2022-07-11 20/week @ 2022-07-18 21/week @ 2022-07-25 30/week @ 2022-08-01 24/week @ 2022-08-08 7/week @ 2022-08-15 46/week @ 2022-08-22 10/week @ 2022-08-29 26/week @ 2022-09-05 14/week @ 2022-09-12 8/week @ 2022-09-19

66 downloads per month
Used in secret_sealing

MIT/Apache

31MB
781K SLoC

GNU Style Assembly 451K SLoC // 0.0% comments C 328K SLoC // 0.2% comments Rust 894 SLoC // 0.0% comments SWIG 722 SLoC // 0.1% comments Batch 18 SLoC

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