Expand description
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).
Modules§
- asymcipher
- This module provides a coherent abstraction over the several OpenSSL asymmetric encryption apis
- bindings
- Part of this module is automatically generated by bindgen from the OpenSSL Headers and includes a selection of functions and other items needed to access the libcrypto/libfips functions needed.
- cipher
- This module provides a coherent abstraction over the OpenSSL symmetric encryption apis
- derive
- This module provides a coherent abstraction over the OpenSSL key deriveation apis
- digest
- This module provides a coherent abstraction over the OpenSSL digest apis
- mac
- This module provides a coherent abstraction over the OpenSSL EVP_MAC apis
- pkey
- This module provides a coherent abstraction for OpenSSL asymmetric Key management. It handles import/export and key generation
- rand
- This module provides access to the openSSL random number generator
- signature
- This module provides a coherent abstraction over the several OpenSSL signature apis
Structs§
- Error
- Ossl
Context - A structure representing the main crypto library context
- Ossl
Param - A finalized OpenSSL
OSSL_PARAMarray. - Ossl
Param Builder - A safe builder and manager for OpenSSL
OSSL_PARAMarrays. - Ossl
Secret - A container for sensitive data that is securely zeroized on drop.
Enums§
- Borrowed
Reference - Helper container to keep references around in structure that deal with FFI structures that reference pointers, like arrays of CK_ATTRIBUTEs and OSSL_PARAMs
- Error
Kind
Functions§
- zeromem
- Securely zeroizes a memory slice using
OPENSSL_cleanse.