Searched refs:mac_input (Results 1 – 2 of 2) sorted by relevance
27 let mac_input = self.dev.keys.timestamp_token_mac_input(&ret)?; in generate_timestamp() localVariable28 ret.mac = self.device_hmac(&mac_input)?; in generate_timestamp()
674 let mac_input = crate::hardware_auth_token_mac_input(&auth_token)?; in check_auth_token() localVariable675 if !self.verify_device_hmac(&mac_input, &auth_token.mac)? { in check_auth_token()846 let mac_input = crate::clock::timestamp_token_mac_input(×tamp_token)?; in check_subsequent_auth() localVariable847 if !self.verify_device_hmac(&mac_input, ×tamp_token.mac)? { in check_subsequent_auth()