Searched refs:truncate (Results 1 – 5 of 5) sorted by relevance
106 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
65 res.truncate(hash_length as usize); in main()
70 tmp_vec.truncate(buffer_size as usize); in convert_to_octet_string()
1287 res_vec.truncate(res_size as usize); in encrypt()1330 res_vec.truncate(res_size as usize); in decrypt()
1288 pub fn truncate(&self, size: u32) -> Result<()> { in truncate() method
Completed in 10 milliseconds