Home
last modified time | relevance | path

Searched refs:tst (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore2/src/
Denforcements.rs101 let tst = match &self.state { in get_auth_tokens() localVariable
111 Ok((hat, tst)) in get_auth_tokens()
313 self.get_auth_tokens().map(|(hat, tst)| (hat, tst, confirmation_token)) in before_finish()
346 if let Some((hat, tst)) = deferred_tokens { in get_auth_tokens()
347 self.state = DeferredAuthState::Token(hat, tst); in get_auth_tokens()
352 DeferredAuthState::Token(hat, tst) => Ok((Some((*hat).clone()), (*tst).clone())), in get_auth_tokens()
849 let tst = get_timestamp_token(challenge) in get_auth_tokens() localVariable
851 Ok((auth_token, tst)) in get_auth_tokens()
Doperation.rs368 let (hat, tst) = self in update_aad()
377 map_km_error(km_op.updateAad(aad_input, hat.as_ref(), tst.as_ref())) in update_aad()
394 let (hat, tst) = self in update()
404 map_km_error(km_op.update(input, hat.as_ref(), tst.as_ref())) in update()
427 let (hat, tst, confirmation_token) = self in finish()
441 tst.as_ref(), in finish()
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp359 convertTimestampTokenToLegacy(const std::optional<TimeStampToken>& tst) { in convertTimestampTokenToLegacy() argument
360 if (!tst) return {}; in convertTimestampTokenToLegacy()
363 legacyVt.challenge = tst->challenge; in convertTimestampTokenToLegacy()
364 legacyVt.timestamp = tst->timestamp.milliSeconds; in convertTimestampTokenToLegacy()
367 legacyVt.mac = tst->mac; in convertTimestampTokenToLegacy()