Searched refs:boot_patchlevel (Results 1 – 9 of 9) sorted by relevance
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 63 std::optional<uint32_t> boot_patchlevel); 73 std::optional<uint32_t> boot_patchlevel,
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 392 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/ |
D | pure_soft_remote_provisioning_context.h | 51 void SetBootPatchlevel(uint32_t boot_patchlevel);
|
D | pure_soft_keymaster_context.h | 103 keymaster_error_t SetBootPatchlevel(uint32_t boot_patchlevel) override;
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 131 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()
|
D | pure_soft_remote_provisioning_context.cpp | 206 void PureSoftRemoteProvisioningContext::SetBootPatchlevel(uint32_t boot_patchlevel) { in SetBootPatchlevel() argument 207 boot_patchlevel_ = boot_patchlevel; in SetBootPatchlevel()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 96 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/ |
D | android_keymaster_messages.h | 1175 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/ |
D | android_keymaster_messages_test.cpp | 705 req.boot_patchlevel = 2; in TEST() 708 EXPECT_EQ(deserialized->boot_patchlevel, req.boot_patchlevel); in TEST()
|