Home
last modified time | relevance | path

Searched refs:TimeStampToken (Results 1 – 25 of 29) sorted by relevance

12

/system/keymint/ta/src/
Dclock.rs20 use kmr_wire::secureclock::{TimeStampToken, TIME_STAMP_MAC_LABEL};
23 pub(crate) fn generate_timestamp(&self, challenge: i64) -> Result<TimeStampToken, Error> { in generate_timestamp() argument
26 TimeStampToken { challenge, timestamp: clock.now().into(), mac: Vec::new() }; in generate_timestamp()
37 pub fn timestamp_token_mac_input(token: &TimeStampToken) -> Result<Vec<u8>, Error> { in timestamp_token_mac_input()
Doperation.rs26 secureclock::{TimeStampToken, Timestamp},
435 timestamp_token: Option<TimeStampToken>, in op_update_aad() argument
453 timestamp_token: Option<TimeStampToken>, in op_update() argument
518 timestamp_token: Option<TimeStampToken>, in op_finish() argument
781 timestamp_token: Option<TimeStampToken>, in with_authed_operation() argument
820 timestamp_token: Option<TimeStampToken>, in check_subsequent_auth() argument
Ddevice.rs23 use kmr_wire::{keymint, rpc, secureclock::TimeStampToken, CborError};
101 fn timestamp_token_mac_input(&self, token: &TimeStampToken) -> Result<Vec<u8>, Error> { in timestamp_token_mac_input()
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeyMintOperation.h30 using secureclock::TimeStampToken;
44 const optional<TimeStampToken>& timestampToken) override;
47 const optional<TimeStampToken>& timestampToken,
53 const optional<TimeStampToken>& timestampToken,
DTrustyKeyMintDevice.h29 using secureclock::TimeStampToken;
78 const optional<TimeStampToken>& timestampToken) override;
DTrustySecureClock.h32 ::ndk::ScopedAStatus generateTimeStamp(int64_t challenge, TimeStampToken* token) override;
/system/keymaster/ng/include/
DAndroidKeyMintOperation.h31 using secureclock::TimeStampToken;
45 const optional<TimeStampToken>& timestampToken) override;
48 const optional<TimeStampToken>& timestampToken,
54 const optional<TimeStampToken>& timestampToken,
DAndroidKeyMintDevice.h34 using secureclock::TimeStampToken;
74 const optional<TimeStampToken>& timestampToken) override;
DAndroidSecureClock.h37 ScopedAStatus generateTimeStamp(int64_t challenge, TimeStampToken* token) override;
/system/keymint/hal/src/
Dsecureclock.rs19 use crate::hal::secureclock::{ISecureClock, TimeStampToken::TimeStampToken};
53 fn generateTimeStamp(&self, challenge: i64) -> binder::Result<TimeStampToken> { in generateTimeStamp() argument
Dkeymint.rs20 secureclock::TimeStampToken::TimeStampToken, Innto, TryInnto,
233 _timestampToken: Option<&TimeStampToken>, in deviceLocked() argument
368 timeStampToken: Option<&TimeStampToken>, in updateAad() argument
396 timeStampToken: Option<&TimeStampToken>, in update() argument
426 timestampToken: Option<&TimeStampToken>, in finish() argument
Dtests.rs26 secureclock::{TimeStampToken, Timestamp},
126 timestamp_token: Some(TimeStampToken { in test_overhead_size()
Dhal.rs171 impl Fromm<wire::secureclock::TimeStampToken> for secureclock::TimeStampToken::TimeStampToken { implementation
172 fn fromm(val: wire::secureclock::TimeStampToken) -> Self { in fromm()
412 impl Fromm<secureclock::TimeStampToken::TimeStampToken> for wire::secureclock::TimeStampToken { implementation
413 fn fromm(val: secureclock::TimeStampToken::TimeStampToken) -> Self { in fromm()
/system/security/keystore2/aidl/android/security/authorization/
DAuthorizationTokens.aidl18 import android.hardware.security.secureclock.TimeStampToken;
32 TimeStampToken timestampToken;
/system/security/keystore2/src/
Denforcements.rs32 TimeStampToken::TimeStampToken,
54 TimeStampedOpAuth(Mutex<Receiver<Result<TimeStampToken, Error>>>),
56 TimeStamp(Mutex<Receiver<Result<TimeStampToken, Error>>>),
72 fn timestamped_op_auth(receiver: Receiver<Result<TimeStampToken, Error>>) -> Arc<Self> { in timestamped_op_auth() argument
81 receiver: Receiver<Result<TimeStampToken, Error>>, in timestamp() argument
93 fn get_auth_tokens(&self) -> Result<(HardwareAuthToken, Option<TimeStampToken>)> { in get_auth_tokens() argument
145 Token(HardwareAuthToken, Option<TimeStampToken>),
226 fn get_timestamp_token(challenge: i64) -> Result<TimeStampToken, Error> { in get_timestamp_token() argument
234 fn timestamp_token_request(challenge: i64, sender: Sender<Result<TimeStampToken, Error>>) { in timestamp_token_request() argument
258 let (sender, receiver) = channel::<Result<TimeStampToken, Error>>(); in finalize_create_authorization()
[all …]
Dkm_compat.rs21 …curity_secureclock::aidl::android::hardware::security::secureclock::TimeStampToken::TimeStampToken;
195 timestamp_token: Option<&TimeStampToken>, in deviceLocked() argument
/system/keymaster/ng/
DAndroidKeyMintOperation.cpp38 using secureclock::TimeStampToken;
54 const optional<TimeStampToken>& /* timestampToken */) { in updateAad() argument
72 const optional<TimeStampToken>& in update() argument
102 const optional<TimeStampToken>& /* timestampToken */, in finish() argument
DAndroidSecureClock.cpp41 ScopedAStatus AndroidSecureClock::generateTimeStamp(int64_t challenge, TimeStampToken* token) { in generateTimeStamp()
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintOperation.cpp42 using secureclock::TimeStampToken;
56 const optional<TimeStampToken>& /* timestampToken */) { in updateAad() argument
73 const optional<TimeStampToken>& /* timestampToken */, in update() argument
117 const optional<TimeStampToken>& /* timestampToken */, in finish() argument
DTrustySecureClock.cpp29 TimeStampToken* token) { in generateTimeStamp()
/system/security/keystore2/src/km_compat/
Dkm_compat.h46 using ::aidl::android::hardware::security::secureclock::TimeStampToken;
134 const std::optional<TimeStampToken>& timestampToken) override;
175 const std::optional<TimeStampToken>& timestampToken) override;
179 const std::optional<TimeStampToken>& timestampToken,
185 const std::optional<TimeStampToken>& timeStampToken,
232 ScopedAStatus generateTimeStamp(int64_t in_challenge, TimeStampToken* _aidl_return) override;
/system/keymint/wire/src/
Dsecureclock.rs28 pub struct TimeStampToken { struct
Dtypes.rs20 use crate::secureclock::TimeStampToken;
246 pub timestamp_token: Option<TimeStampToken>,
255 pub timestamp_token: Option<TimeStampToken>,
267 pub timestamp_token: Option<TimeStampToken>,
344 pub ret: TimeStampToken,
/system/keymint/common/
Dgenerated.cddl304 TimeStampToken = [
491 timestamp_token: [? TimeStampToken],
498 timestamp_token: [? TimeStampToken],
508 timestamp_token: [? TimeStampToken],
561 ret: TimeStampToken,
/system/keymint/common/src/bin/
Dcddl-dump.rs64 show_schema::<TimeStampToken>(); in main()

12