Home
last modified time | relevance | path

Searched refs:ms_since_epoch (Results 1 – 7 of 7) sorted by relevance

/system/keymint/hal/src/
Dhal.rs342 (Tag::ACTIVE_DATETIME, KeyParameterValue::DateTime(v.ms_since_epoch)) in fromm()
345 (Tag::ORIGINATION_EXPIRE_DATETIME, KeyParameterValue::DateTime(v.ms_since_epoch)) in fromm()
348 (Tag::USAGE_EXPIRE_DATETIME, KeyParameterValue::DateTime(v.ms_since_epoch)) in fromm()
351 (Tag::CREATION_DATETIME, KeyParameterValue::DateTime(v.ms_since_epoch)) in fromm()
354 (Tag::CERTIFICATE_NOT_BEFORE, KeyParameterValue::DateTime(v.ms_since_epoch)) in fromm()
357 (Tag::CERTIFICATE_NOT_AFTER, KeyParameterValue::DateTime(v.ms_since_epoch)) in fromm()
643 ms_since_epoch: value_of!(val, DateTime)?, in try_fromm()
647 ms_since_epoch: value_of!(val, DateTime)?, in try_fromm()
652 ms_since_epoch: value_of!(val, DateTime)?, in try_fromm()
656 ms_since_epoch: value_of!(val, DateTime)?, in try_fromm()
[all …]
/system/keymint/common/src/bin/
Dkeyblob-cddl-dump.rs118 ms_since_epoch: 22_593_600_000, in main()
132 schema.add(keymint::DateTime { ms_since_epoch: 22_593_600_000 }); in main()
/system/keymint/tests/src/bin/
Dauth-keyblob-parse.rs158 keygen_params.push(KeyParam::CertificateNotBefore(DateTime { ms_since_epoch: 0 })); in process()
160 ms_since_epoch: 1_900_000_000_000, in process()
/system/keymint/common/src/tag/
Dlegacy.rs223 result.try_extend_from_slice(&(v.ms_since_epoch as u64).to_ne_bytes())? in serialize()
427 KeyParam::ActiveDatetime(DateTime { ms_since_epoch: consume_i64(data)? }) in deserialize()
430 KeyParam::OriginationExpireDatetime(DateTime { ms_since_epoch: consume_i64(data)? }) in deserialize()
433 KeyParam::UsageExpireDatetime(DateTime { ms_since_epoch: consume_i64(data)? }) in deserialize()
436 KeyParam::CreationDatetime(DateTime { ms_since_epoch: consume_i64(data)? }) in deserialize()
439 KeyParam::CertificateNotBefore(DateTime { ms_since_epoch: consume_i64(data)? }) in deserialize()
442 KeyParam::CertificateNotAfter(DateTime { ms_since_epoch: consume_i64(data)? }) in deserialize()
/system/keymint/wire/src/
Dkeymint.rs59 pub const UNDEFINED_NOT_BEFORE: DateTime = DateTime { ms_since_epoch: 0 };
62 pub const UNDEFINED_NOT_AFTER: DateTime = DateTime { ms_since_epoch: 253402300799000 };
110 pub ms_since_epoch: i64, field
116 Ok(Self { ms_since_epoch: val }) in from_cbor_value()
119 self.ms_since_epoch.to_cbor_value() in to_cbor_value()
/system/keymint/ta/src/
Dcert.rs183 let secs_since_epoch: i64 = when.ms_since_epoch / 1000; in validity_time_from_datetime()
185 if when.ms_since_epoch >= 0 { in validity_time_from_datetime()
712 .try_push(KeyParam::$variant(DateTime{ms_since_epoch: val}))
1001 val: val.ms_since_epoch
Dkeys.rs250 let rounded_datetime = creation_datetime.ms_since_epoch / 2_592_000_000i64; in calculate_unique_id()