11 releases (7 breaking)

0.9.1+liboqs-0.9.0 Oct 23, 2023
0.8.0 Aug 21, 2023
0.7.2 Aug 22, 2022
0.7.1 Dec 17, 2021
0.1.0 Dec 8, 2017

#2294 in Cryptography

Download history 940/week @ 2024-01-07 768/week @ 2024-01-14 874/week @ 2024-01-21 1212/week @ 2024-01-28 1029/week @ 2024-02-04 918/week @ 2024-02-11 771/week @ 2024-02-18 1034/week @ 2024-02-25 817/week @ 2024-03-03 1089/week @ 2024-03-10 1057/week @ 2024-03-17 847/week @ 2024-03-24 1207/week @ 2024-03-31 1106/week @ 2024-04-07 906/week @ 2024-04-14 715/week @ 2024-04-21

3,960 downloads per month
Used in 9 crates (3 directly)

MIT/Apache

20MB
446K SLoC

GNU Style Assembly 276K SLoC // 0.0% comments C 167K SLoC // 0.2% comments Bitbake 3K SLoC // 0.1% comments Python 618 SLoC // 0.3% comments Rust 169 SLoC // 0.1% comments Shell 15 SLoC // 0.3% comments

FFI Rust binding to Open Quantum Safe's liboqs

crates.io crates.io/docs

This crate provides the unsafe ffi bindings to liboqs.

Features

  • openssl (default): Compile with OpenSSL features (mostly symmetric cryptography)
  • 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+

lib.rs:

Bindings to liboqs

Dependencies