/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 98 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() 103 buf = enforced.Serialize(buf, end); in NonErrorSerialize() 108 return deserialize_key_blob(&key_blob, buf_ptr, end) && enforced.Deserialize(buf_ptr, end) && in NonErrorDeserialize() 135 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() 139 buf = enforced.Serialize(buf, end); in NonErrorSerialize() 145 return enforced.Deserialize(buf_ptr, end) && unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize() 359 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() 364 buf = enforced.Serialize(buf, end); in NonErrorSerialize() 369 return deserialize_key_blob(&key_blob, buf_ptr, end) && enforced.Deserialize(buf_ptr, end) && in NonErrorDeserialize() 677 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() [all …]
|
D | android_keymaster.cpp | 233 response->enforced.Clear(); in GenerateKey() 236 &response->enforced, &response->unenforced); in GenerateKey() 255 response->enforced = move(key->hw_enforced()); in GetKeyCharacteristics() 258 response->error = CheckVersionInfo(response->enforced, response->unenforced, *context_); in GetKeyCharacteristics() 449 &response->enforced, &response->unenforced); in ImportKey() 529 &response->enforced, &response->unenforced); in ImportWrappedKey()
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 145 rsp.enforced.Reinitialize(params, array_length(params)); in TEST() 149 EXPECT_EQ(deserialized->enforced, rsp.enforced); in TEST() 160 rsp.enforced.Reinitialize(params, array_length(params)); in TEST() 164 EXPECT_EQ(0U, deserialized->enforced.size()); in TEST() 187 msg.enforced.Reinitialize(params, array_length(params)); in TEST() 191 EXPECT_EQ(msg.enforced, deserialized->enforced); in TEST() 404 msg.enforced.Reinitialize(params, array_length(params)); in TEST() 412 EXPECT_EQ(msg.enforced, deserialized->enforced); in TEST()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 771 response.enforced.erase(response.enforced.find(TAG_OS_VERSION)); in generate_key() 772 response.enforced.erase(response.enforced.find(TAG_OS_PATCHLEVEL)); in generate_key() 776 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in generate_key() 852 response.enforced.CopyToParamSet(&characteristics->hw_enforced); in generate_key() 891 response.enforced.erase(response.enforced.find(TAG_OS_VERSION)); in get_key_characteristics() 892 response.enforced.erase(response.enforced.find(TAG_OS_PATCHLEVEL)); in get_key_characteristics() 896 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in get_key_characteristics() 928 response.enforced.CopyToParamSet(&characteristics->hw_enforced); in get_key_characteristics() 974 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in import_key()
|
/system/sepolicy/private/ |
D | untrusted_app_27.te | 19 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
|
D | untrusted_app_25.te | 30 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
|
D | priv_app.te | 189 # enforced via levelFrom=user in seapp_contexts and the mls
|
D | app_neverallows.te | 73 # enforced via levelFrom=user in seapp_contexts and the mls
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | untrusted_app_27.te | 19 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
|
D | untrusted_app_25.te | 30 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
|
/system/keymaster/ng/ |
D | AndroidKeymaster4Device.cpp | 332 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in generateKey() 352 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in getKeyCharacteristics() 375 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in importKey() 402 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in importWrappedKey()
|
D | AndroidKeymaster3Device.cpp | 288 resultCharacteristics.teeEnforced = kmParamSet2Hidl(response.enforced); in generateKey() 308 resultCharacteristics.teeEnforced = kmParamSet2Hidl(response.enforced); in getKeyCharacteristics() 330 resultCharacteristics.teeEnforced = kmParamSet2Hidl(response.enforced); in importKey()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 245 resultCharacteristics.teeEnforced = kmParamSet2Hidl(response.enforced); in generateKey() 265 resultCharacteristics.teeEnforced = kmParamSet2Hidl(response.enforced); in getKeyCharacteristics() 288 resultCharacteristics.teeEnforced = kmParamSet2Hidl(response.enforced); in importKey()
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | untrusted_app_27.te | 31 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
|
D | untrusted_app_25.te | 46 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 360 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in generateKey() 380 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in getKeyCharacteristics() 403 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in importKey() 429 resultCharacteristics.hardwareEnforced = kmParamSet2Hidl(response.enforced); in importWrappedKey()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 295 AuthorizationSet enforced; member 327 AuthorizationSet enforced; member 497 AuthorizationSet enforced; member 817 AuthorizationSet enforced; member
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | README | 52 denials are logged but not enforced for these domains. While
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | priv_app.te | 154 # enforced via levelFrom=user in seapp_contexts and the mls
|
D | app_neverallows.te | 36 # enforced via levelFrom=user in seapp_contexts and the mls
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | priv_app.te | 145 # enforced via levelFrom=user in seapp_contexts and the mls
|
D | app_neverallows.te | 41 # enforced via levelFrom=user in seapp_contexts and the mls
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | priv_app.te | 187 # enforced via levelFrom=user in seapp_contexts and the mls
|
D | app_neverallows.te | 46 # enforced via levelFrom=user in seapp_contexts and the mls
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | attributes | 222 # device types are allowed to use this attribute (enforced by CTS).
|