//! TPM context creation helper
use ;
/// Create a TPM context from an optional TCTI configuration string.
///
/// If `tcti` is `Some(s)`, parses `s` as a TCTI configuration.
/// If `tcti` is `None`, uses the default TCTI (device:/dev/tpmrm0).
///
/// Returns the raw `tss_esapi::Error` so callers can map to their own error types
/// and add their own log messages.
pub