Home
last modified time | relevance | path

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

/optee_rust/examples/hotp-rs/ta/src/
A Dmain.rs106 let hotp_val = truncate(&mut mac); in get_hotp()
125 tmp_key.truncate(hotp.key_len); in hmac_sha1()
139 pub fn truncate(hmac_result: &mut [u8]) -> u32 { in truncate() function
/optee_rust/examples/digest-rs/host/src/
A Dmain.rs65 res.truncate(hash_length as usize); in main()
/optee_rust/optee-utee/src/
A Darithmetical.rs70 tmp_vec.truncate(buffer_size as usize); in convert_to_octet_string()
A Dcrypto_op.rs1287 res_vec.truncate(res_size as usize); in encrypt()
1330 res_vec.truncate(res_size as usize); in decrypt()
A Dobject.rs1288 pub fn truncate(&self, size: u32) -> Result<()> { in truncate() method

Completed in 10 milliseconds