Searched refs:boot_patchlevel (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 61 std::optional<uint32_t> boot_patchlevel); 71 std::optional<uint32_t> boot_patchlevel,
|
/system/keymaster/include/keymaster/contexts/ |
D | pure_soft_keymaster_context.h | 102 keymaster_error_t SetBootPatchlevel(uint32_t boot_patchlevel) override { in SetBootPatchlevel() argument 103 if (boot_patchlevel_.has_value() && boot_patchlevel != boot_patchlevel_.value()) { in SetBootPatchlevel() 107 boot_patchlevel_ = boot_patchlevel; in SetBootPatchlevel()
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 387 std::optional<uint32_t> boot_patchlevel) { in ExtendKeyBlobAuthorizations() argument 393 if (boot_patchlevel.has_value()) { in ExtendKeyBlobAuthorizations() 394 pseudo_hw_enforced->push_back(TAG_BOOT_PATCHLEVEL, boot_patchlevel.value()); in ExtendKeyBlobAuthorizations() 412 std::optional<uint32_t> boot_patchlevel, in FullUpgradeSoftKeyBlob() argument 436 (boot_patchlevel.has_value() && in FullUpgradeSoftKeyBlob() 437 !UpgradeIntegerTag(TAG_BOOT_PATCHLEVEL, boot_patchlevel.value(), &key->sw_enforced(), in FullUpgradeSoftKeyBlob()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 93 auto boot_patchlevel = context.GetBootPatchlevel(); in CheckVersionInfo() local 94 if (boot_patchlevel.has_value()) { in CheckVersionInfo() 96 boot_patchlevel.value()); in CheckVersionInfo() 820 rsp.error = context_->SetBootPatchlevel(request.boot_patchlevel); in ConfigureBootPatchlevel()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 1167 size_t SerializedSize() const override { return sizeof(boot_patchlevel); } in SerializedSize() 1169 return append_uint32_to_buf(buf, end, boot_patchlevel); in Serialize() 1172 return copy_uint32_from_buf(buf_ptr, end, &boot_patchlevel); in Deserialize() 1175 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()
|