CSSM_CSP_CreateRandomGenContext

Function CSSM_CSP_CreateRandomGenContext 

Source
pub unsafe extern "C-unwind" fn CSSM_CSP_CreateRandomGenContext(
    csp_handle: CSSM_CSP_HANDLE,
    algorithm_id: CSSM_ALGORITHMS,
    seed: *const CSSM_CRYPTO_DATA,
    length: CSSM_SIZE,
    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

  • seed must be a valid pointer.
  • new_context_handle must be a valid pointer.