CSSM_CSP_CreateDeriveKeyContext

Function CSSM_CSP_CreateDeriveKeyContext 

Source
pub unsafe extern "C-unwind" fn CSSM_CSP_CreateDeriveKeyContext(
    csp_handle: CSSM_CSP_HANDLE,
    algorithm_id: CSSM_ALGORITHMS,
    derive_key_type: CSSM_KEY_TYPE,
    derive_key_length_in_bits: uint32,
    access_cred: *const CSSM_ACCESS_CREDENTIALS,
    base_key: *const CSSM_KEY,
    iteration_count: uint32,
    salt: *const SecAsn1Item,
    seed: *const CSSM_CRYPTO_DATA,
    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.
  • base_key must be a valid pointer.
  • salt must be a valid pointer.
  • seed must be a valid pointer.
  • new_context_handle must be a valid pointer.