#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lorawan_block_mic_update(
mic: *mut PamojaLorawanBlockMic,
data: *const u8,
data_len: usize,
) -> PamojaStatusExpand description
Adds a piece of the block to a code.
§Arguments
mic- the code.data- the next bytes of the block, in order, without any padding.data_len- how many.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument for a null handle.
§Safety
mic must be a live handle and data must point to data_len readable bytes.