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

#2255 in Cryptography

Download history 705/week @ 2023-12-18 187/week @ 2023-12-25 404/week @ 2024-01-01 952/week @ 2024-01-08 777/week @ 2024-01-15 856/week @ 2024-01-22 1244/week @ 2024-01-29 1005/week @ 2024-02-05 936/week @ 2024-02-12 792/week @ 2024-02-19 1029/week @ 2024-02-26 806/week @ 2024-03-04 1067/week @ 2024-03-11 1254/week @ 2024-03-18 688/week @ 2024-03-25 1344/week @ 2024-04-01

4,391 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