CSSM_EncryptData

Function CSSM_EncryptData 

Source
pub unsafe extern "C-unwind" fn CSSM_EncryptData(
    cc_handle: CSSM_CC_HANDLE,
    clear_bufs: *const SecAsn1Item,
    clear_buf_count: uint32,
    cipher_bufs: CSSM_DATA_PTR,
    cipher_buf_count: uint32,
    bytes_encrypted: *mut CSSM_SIZE,
    rem_data: CSSM_DATA_PTR,
) -> CSSM_RETURN
๐Ÿ‘ŽDeprecated
Available on crate features SecAsn1Types and cssmapi and cssmconfig and cssmtype only.
Expand description

ยงSafety

  • clear_bufs must be a valid pointer.
  • cipher_bufs must be a valid pointer.
  • bytes_encrypted must be a valid pointer.
  • rem_data must be a valid pointer.