unsafe extern "C" fn merkle_add_(ptr: *const u8, len: u32) -> i64