4 stable releases

Uses new Rust 2024

new 1.5.0 Mar 3, 2026
1.4.0 Dec 8, 2025
1.3.1 Sep 18, 2025

#719 in Cryptography

Download history 232/week @ 2025-11-13 26/week @ 2025-11-20 30/week @ 2025-11-27 22/week @ 2025-12-04 41/week @ 2025-12-11 53/week @ 2025-12-18 10/week @ 2025-12-25 23/week @ 2026-01-01 22/week @ 2026-01-08 39/week @ 2026-01-15 16/week @ 2026-01-22 30/week @ 2026-01-29 7/week @ 2026-02-05 14/week @ 2026-02-19 22/week @ 2026-02-26

54 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

285KB
7K SLoC

This package provides common utilities, wrappers, and constants for interacting with the OpenSSL library (libcrypto) via its C API, primarily focusing on the EVP (high-level) interface and parameter handling (OSSL_PARAM).


ossl

A crate providing low-level Rust bindings to the OpenSSL library.

ossl was spun off from the kryoptic project to provide a focused, standalone set of bindings for interacting with OpenSSL's C API.

This crate is intentionally focused on the modern OpenSSL 3+ APIs, primarily the high-level EVP interface and the OSSL_PARAM mechanism for parameter handling. It avoids legacy APIs to promote a more consistent and forward-looking approach to using OpenSSL from Rust.

This crate provides unsafe FFI bindings and some thin, safe wrappers around common OpenSSL objects and patterns. It is intended as a foundational building block for higher-level cryptographic libraries rather than for direct application use.

Dependencies

~0–2MB
~39K SLoC