Expand description
LibCtx — OSSL_LIB_CTX wrapper and Provider — OSSL_PROVIDER wrapper.
Most callers use the global default library context and never need this module. Create an explicit context when:
- FIPS mode is required (load
"fips"+"base"providers). - Per-process isolation of algorithm state is needed.
§Arc<LibCtx> ownership
OpenSSL does not expose OSSL_LIB_CTX_up_ref. Rust manages the lifetime
via Arc<LibCtx>. Algorithm descriptors that use an explicit context store
Option<Arc<LibCtx>> to extend its lifetime.