Skip to main content

pamoja_audit_entry_digest

Function pamoja_audit_entry_digest 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_audit_entry_digest( entry: *const PamojaAuditEntry, out_digest: *mut u8, ) -> PamojaStatus
Expand description

Copies out the hash of this entry, which the next one chains onto.

§Arguments

§Returns

PamojaStatus::Ok on success.

§Safety

entry must be a live handle, and out_digest must point to at least PAMOJA_AUDIT_DIGEST_LEN writable bytes.