pub unsafe extern "C-unwind" fn CSSM_CSP_CreateSymmetricContext(
csp_handle: CSSM_CSP_HANDLE,
algorithm_id: CSSM_ALGORITHMS,
mode: CSSM_ENCRYPT_MODE,
access_cred: *const CSSM_ACCESS_CREDENTIALS,
key: *const CSSM_KEY,
init_vector: *const SecAsn1Item,
padding: CSSM_PADDING,
reserved: *mut c_void,
new_context_handle: *mut CSSM_CC_HANDLE,
) -> CSSM_RETURN
๐Deprecated
Available on crate features
SecAsn1Types
and cssmapi
and cssmconfig
and cssmtype
only.Expand description
ยงSafety
access_cred
must be a valid pointer.key
must be a valid pointer.init_vector
must be a valid pointer.reserved
must be a valid pointer.new_context_handle
must be a valid pointer.