#[unsafe(no_mangle)]pub unsafe extern "C" fn pqc_format_new(
algorithm_id: u16,
iv: *const c_uchar,
iv_len: usize,
tag: *const c_uchar,
tag_len: usize,
data: *const c_uchar,
data_len: usize,
) -> *mut PqcFormatHandleExpand description
Create a new PQC Binary Format structure
§Parameters
algorithm_id: Algorithm identifier (see Algorithm enum)iv: IV/nonce bytesiv_len: Length of IVtag: Authentication tag bytestag_len: Length of tagdata: Encrypted data bytesdata_len: Length of encrypted data
§Returns
Opaque handle to PqcBinaryFormat, or NULL on error
§Safety
All pointers must be valid. The returned handle must be freed with pqc_format_free.