pub unsafe extern "C" fn TEE_CheckMemoryAccessRights( accessFlags: u32, buffer: *mut c_void, size: usize, ) -> TEE_Result