Skip to main content

cfm_tc_session_create

Function cfm_tc_session_create 

Source
#[unsafe(no_mangle)]
pub extern "C" fn cfm_tc_session_create( out: *mut *mut FFITcSession, scheme: *const c_char, party_list: *const CFMTcPartyList, threshold: u32, this_party_idx: u32, local_share: *const CFMTcShare, message: *const u8, message_len: u32, ) -> u32
Expand description

Create a new threshold session.

On success, *out is a heap-allocated FFITcSession * owned by the caller. Destroy with cfm_tc_session_destroy.