Searched refs:vendor_patchlevel (Results 1 – 9 of 9) sorted by relevance
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 60 std::optional<uint32_t> vendor_patchlevel, 70 std::optional<uint32_t> vendor_patchlevel,
|
/system/keymaster/include/keymaster/contexts/ |
D | pure_soft_keymaster_context.h | 93 keymaster_error_t SetVendorPatchlevel(uint32_t vendor_patchlevel) override { in SetVendorPatchlevel() argument 94 if (vendor_patchlevel_.has_value() && vendor_patchlevel != vendor_patchlevel_.value()) { in SetVendorPatchlevel() 98 vendor_patchlevel_ = vendor_patchlevel; in SetVendorPatchlevel()
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 386 std::optional<uint32_t> vendor_patchlevel, in ExtendKeyBlobAuthorizations() argument 390 if (vendor_patchlevel.has_value()) { in ExtendKeyBlobAuthorizations() 391 pseudo_hw_enforced->push_back(TAG_VENDOR_PATCHLEVEL, vendor_patchlevel.value()); in ExtendKeyBlobAuthorizations() 411 std::optional<uint32_t> vendor_patchlevel, in FullUpgradeSoftKeyBlob() argument 433 (vendor_patchlevel.has_value() && in FullUpgradeSoftKeyBlob() 434 !UpgradeIntegerTag(TAG_VENDOR_PATCHLEVEL, vendor_patchlevel.value(), &key->sw_enforced(), in FullUpgradeSoftKeyBlob()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | attestation_record.h | 117 ASN1_INTEGER* vendor_patchlevel; member 185 ASN1_EXP_OPT(KM_AUTH_LIST, vendor_patchlevel, ASN1_INTEGER, TAG_VENDOR_PATCHLEVEL.masked_tag()),
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 87 auto vendor_patchlevel = context.GetVendorPatchlevel(); in CheckVersionInfo() local 88 if (vendor_patchlevel.has_value()) { in CheckVersionInfo() 90 vendor_patchlevel.value()); in CheckVersionInfo() 813 rsp.error = context_->SetVendorPatchlevel(request.vendor_patchlevel); in ConfigureVendorPatchlevel()
|
/system/core/trusty/keymaster/ |
D | TrustyKeymaster.cpp | 85 vendor_req.vendor_patchlevel = GetVendorPatchlevel(); in Initialize()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 1151 size_t SerializedSize() const override { return sizeof(vendor_patchlevel); } in SerializedSize() 1153 return append_uint32_to_buf(buf, end, vendor_patchlevel); in Serialize() 1156 return copy_uint32_from_buf(buf_ptr, end, &vendor_patchlevel); in Deserialize() 1159 uint32_t vendor_patchlevel{}; // YYYYMMDD
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 688 req.vendor_patchlevel = 2; in TEST() 691 EXPECT_EQ(deserialized->vendor_patchlevel, req.vendor_patchlevel); in TEST()
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 620 integer_ptr = &record->vendor_patchlevel; in build_auth_list() 1372 if (record->vendor_patchlevel && in extract_auth_list() 1373 !auth_list->push_back(TAG_VENDOR_PATCHLEVEL, ASN1_INTEGER_get(record->vendor_patchlevel))) { in extract_auth_list()
|