Home
last modified time | relevance | path

Searched refs:boot_patchlevel (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h63 std::optional<uint32_t> boot_patchlevel);
73 std::optional<uint32_t> boot_patchlevel,
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp392 std::optional<uint32_t> boot_patchlevel) { in ExtendKeyBlobAuthorizations() argument
398 if (boot_patchlevel.has_value()) { in ExtendKeyBlobAuthorizations()
399 pseudo_hw_enforced->push_back(TAG_BOOT_PATCHLEVEL, boot_patchlevel.value()); in ExtendKeyBlobAuthorizations()
417 std::optional<uint32_t> boot_patchlevel, in FullUpgradeSoftKeyBlob() argument
441 (boot_patchlevel.has_value() && in FullUpgradeSoftKeyBlob()
442 !UpgradeIntegerTag(TAG_BOOT_PATCHLEVEL, boot_patchlevel.value(), &key->sw_enforced(), in FullUpgradeSoftKeyBlob()
/system/keymaster/include/keymaster/contexts/
Dpure_soft_remote_provisioning_context.h51 void SetBootPatchlevel(uint32_t boot_patchlevel);
Dpure_soft_keymaster_context.h103 keymaster_error_t SetBootPatchlevel(uint32_t boot_patchlevel) override;
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp131 keymaster_error_t PureSoftKeymasterContext::SetBootPatchlevel(uint32_t boot_patchlevel) { in SetBootPatchlevel() argument
132 if (boot_patchlevel_.has_value() && boot_patchlevel != boot_patchlevel_.value()) { in SetBootPatchlevel()
136 boot_patchlevel_ = boot_patchlevel; in SetBootPatchlevel()
138 pure_soft_remote_provisioning_context_->SetBootPatchlevel(boot_patchlevel); in SetBootPatchlevel()
Dpure_soft_remote_provisioning_context.cpp206 void PureSoftRemoteProvisioningContext::SetBootPatchlevel(uint32_t boot_patchlevel) { in SetBootPatchlevel() argument
207 boot_patchlevel_ = boot_patchlevel; in SetBootPatchlevel()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp96 auto boot_patchlevel = context.GetBootPatchlevel(); in CheckVersionInfo() local
97 if (boot_patchlevel.has_value()) { in CheckVersionInfo()
99 boot_patchlevel.value()); in CheckVersionInfo()
835 rsp.error = context_->SetBootPatchlevel(request.boot_patchlevel); in ConfigureBootPatchlevel()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h1175 size_t SerializedSize() const override { return sizeof(boot_patchlevel); } in SerializedSize()
1177 return append_uint32_to_buf(buf, end, boot_patchlevel); in Serialize()
1180 return copy_uint32_from_buf(buf_ptr, end, &boot_patchlevel); in Deserialize()
1183 uint32_t boot_patchlevel{}; // YYYYMMDD
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp705 req.boot_patchlevel = 2; in TEST()
708 EXPECT_EQ(deserialized->boot_patchlevel, req.boot_patchlevel); in TEST()