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

#1654 in Cryptography

Download history 1160/week @ 2024-06-20 853/week @ 2024-06-27 626/week @ 2024-07-04 828/week @ 2024-07-11 1021/week @ 2024-07-18 837/week @ 2024-07-25 791/week @ 2024-08-01 773/week @ 2024-08-08 669/week @ 2024-08-15 786/week @ 2024-08-22 564/week @ 2024-08-29 558/week @ 2024-09-05 416/week @ 2024-09-12 431/week @ 2024-09-19 581/week @ 2024-09-26 675/week @ 2024-10-03

2,158 downloads per month
Used in 10 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