Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 5 of 5) sorted by relevance

/optee_rust/examples/hotp-rs/ta/src/
A Dmain.rs141 let offset: usize = (hmac_result[19] & 0xf) as usize; in truncate()
143 bin_code = ((hmac_result[offset] & 0x7f) as u32) << 24 in truncate()
144 | ((hmac_result[offset + 1] & 0xff) as u32) << 16 in truncate()
145 | ((hmac_result[offset + 2] & 0xff) as u32) << 8 in truncate()
146 | ((hmac_result[offset + 3] & 0xff) as u32); in truncate()
/optee_rust/optee-teec/optee-teec-sys/src/
A Dtee_client_api.rs123 pub offset: size_t, field
/optee_rust/optee-utee/src/
A Dobject.rs1331 pub fn seek(&self, offset: i32, whence: Whence) -> Result<()> { in seek()
1332 match unsafe { raw::TEE_SeekObjectData(self.handle(), offset, whence.into()) } { in seek()
/optee_rust/optee-utee/optee-utee-sys/src/
A Dutee_syscalls.rs225 pub fn _utee_storage_obj_seek(obj: c_ulong, offset: i32, whence: c_ulong) -> TEE_Result; in _utee_storage_obj_seek()
A Dtee_api.rs239 offset: i32, in TEE_SeekObjectData()

Completed in 16 milliseconds