/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 31 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()
|
D | keymaster1_passthrough_context.cpp | 43 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()
|
D | soft_keymaster_context.cpp | 98 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()
|
D | pure_soft_keymaster_context.cpp | 63 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()
|
D | soft_keymaster_device.cpp | 620 !params_copy.GetTagValue(TAG_OS_PATCHLEVEL, &request.os_patchlevel)) { in configure()
|
/system/keymaster/include/keymaster/key_blob_utils/ |
D | software_keyblobs.h | 55 uint32_t os_patchlevel, AuthorizationSet* hw_enforced, 58 const uint32_t os_version, const uint32_t os_patchlevel,
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 44 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;
|
D | keymaster1_passthrough_context.h | 51 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;
|
D | pure_soft_keymaster_context.h | 54 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;
|
D | soft_keymaster_context.h | 66 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/ |
D | keymaster_context.h | 77 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;
|
D | attestation_record.h | 88 ASN1_INTEGER* os_patchlevel; member 138 ASN1_EXP_OPT(KM_AUTH_LIST, os_patchlevel, ASN1_INTEGER, TAG_OS_PATCHLEVEL.masked_tag()),
|
D | android_keymaster_messages.h | 675 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/ |
D | keymaster_configuration.cpp | 71 uint32_t os_patchlevel) { in ConfigureDevice() argument 74 .Authorization(keymaster::TAG_OS_PATCHLEVEL, os_patchlevel)); in ConfigureDevice()
|
D | android_keymaster.cpp | 46 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/ |
D | software_keyblobs.cpp | 264 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/ |
D | TrustyKeymaster.cpp | 36 req.os_patchlevel = GetOsPatchlevel(); in Initialize()
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 191 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/ |
D | android_keymaster_messages_test.cpp | 517 req.os_patchlevel = 1; in TEST() 521 EXPECT_EQ(deserialized->os_patchlevel, req.os_patchlevel); in TEST()
|
D | android_keymaster_test.cpp | 1875 configReq.os_patchlevel = kOsPatchLevel; in SetUp()
|