Home
last modified time | relevance | path

Searched refs:os_patchlevel (Results 1 – 20 of 20) sorted by relevance

/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp31 uint32_t os_patchlevel) { in SetSystemVersion() argument
33 os_patchlevel_ = os_patchlevel; in SetSystemVersion()
38 uint32_t* os_patchlevel) const { in GetSystemVersion()
40 if (os_patchlevel) *os_patchlevel = os_patchlevel_; in GetSystemVersion()
Dkeymaster1_passthrough_context.cpp43 uint32_t os_patchlevel) { in SetSystemVersion() argument
45 os_patchlevel_ = os_patchlevel; in SetSystemVersion()
50 uint32_t* os_patchlevel) const { in GetSystemVersion()
52 if (os_patchlevel) *os_patchlevel = os_patchlevel_; in GetSystemVersion()
Dsoft_keymaster_context.cpp98 uint32_t os_patchlevel) { in SetSystemVersion() argument
100 os_patchlevel_ = os_patchlevel; in SetSystemVersion()
104 void SoftKeymasterContext::GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) const { in GetSystemVersion()
106 *os_patchlevel = os_patchlevel_; in GetSystemVersion()
157 uint32_t os_patchlevel, AuthorizationSet* hw_enforced, in SetAuthorizations() argument
191 sw_enforced->push_back(TAG_OS_PATCHLEVEL, os_patchlevel); in SetAuthorizations()
Dpure_soft_keymaster_context.cpp63 uint32_t os_patchlevel) { in SetSystemVersion() argument
65 os_patchlevel_ = os_patchlevel; in SetSystemVersion()
69 void PureSoftKeymasterContext::GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) cons… in GetSystemVersion()
71 *os_patchlevel = os_patchlevel_; in GetSystemVersion()
Dsoft_keymaster_device.cpp620 !params_copy.GetTagValue(TAG_OS_PATCHLEVEL, &request.os_patchlevel)) { in configure()
/system/keymaster/include/keymaster/key_blob_utils/
Dsoftware_keyblobs.h55 uint32_t os_patchlevel, AuthorizationSet* hw_enforced,
58 const uint32_t os_version, const uint32_t os_patchlevel,
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h44 keymaster_error_t SetSystemVersion(uint32_t os_version, uint32_t os_patchlevel) override;
51 void GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) const override;
Dkeymaster1_passthrough_context.h51 keymaster_error_t SetSystemVersion(uint32_t os_version, uint32_t os_patchlevel) override;
58 void GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) const override;
Dpure_soft_keymaster_context.h54 keymaster_error_t SetSystemVersion(uint32_t os_version, uint32_t os_patchlevel) override;
55 void GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) const override;
Dsoft_keymaster_context.h66 keymaster_error_t SetSystemVersion(uint32_t os_version, uint32_t os_patchlevel) override;
67 void GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) const override;
/system/keymaster/include/keymaster/
Dkeymaster_context.h77 virtual keymaster_error_t SetSystemVersion(uint32_t os_version, uint32_t os_patchlevel) = 0;
84 virtual void GetSystemVersion(uint32_t* os_version, uint32_t* os_patchlevel) const = 0;
Dattestation_record.h88 ASN1_INTEGER* os_patchlevel; member
138 ASN1_EXP_OPT(KM_AUTH_LIST, os_patchlevel, ASN1_INTEGER, TAG_OS_PATCHLEVEL.masked_tag()),
Dandroid_keymaster_messages.h675 size_t SerializedSize() const override { return sizeof(os_version) + sizeof(os_patchlevel); } in SerializedSize()
678 return append_uint32_to_buf(buf, end, os_patchlevel); in Serialize()
682 copy_uint32_from_buf(buf_ptr, end, &os_patchlevel); in Deserialize()
686 uint32_t os_patchlevel; member
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp71 uint32_t os_patchlevel) { in ConfigureDevice() argument
74 .Authorization(keymaster::TAG_OS_PATCHLEVEL, os_patchlevel)); in ConfigureDevice()
Dandroid_keymaster.cpp46 uint32_t os_patchlevel; in CheckVersionInfo() local
47 context.GetSystemVersion(&os_version, &os_patchlevel); in CheckVersionInfo()
52 if (key_os_patchlevel < os_patchlevel) in CheckVersionInfo()
54 else if (key_os_patchlevel > os_patchlevel) in CheckVersionInfo()
470 response->error = context_->SetSystemVersion(request.os_version, request.os_patchlevel); in Configure()
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp264 uint32_t os_patchlevel, AuthorizationSet* hw_enforced, in SetKeyBlobAuthorizations() argument
299 pseudo_hw_enforced->push_back(TAG_OS_PATCHLEVEL, os_patchlevel); in SetKeyBlobAuthorizations()
311 const uint32_t os_version, const uint32_t os_patchlevel, in UpgradeSoftKeyBlob() argument
331 !UpgradeIntegerTag(TAG_OS_PATCHLEVEL, os_patchlevel, &key->sw_enforced(), &set_changed)) in UpgradeSoftKeyBlob()
/system/core/trusty/keymaster/
DTrustyKeymaster.cpp36 req.os_patchlevel = GetOsPatchlevel(); in Initialize()
/system/keymaster/km_openssl/
Dattestation_record.cpp191 integer_ptr = &record->os_patchlevel; in build_auth_list()
679 if (record->os_patchlevel && in extract_auth_list()
680 !auth_list->push_back(TAG_OS_PATCHLEVEL, ASN1_INTEGER_get(record->os_patchlevel))) in extract_auth_list()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp517 req.os_patchlevel = 1; in TEST()
521 EXPECT_EQ(deserialized->os_patchlevel, req.os_patchlevel); in TEST()
Dandroid_keymaster_test.cpp1875 configReq.os_patchlevel = kOsPatchLevel; in SetUp()