Home
last modified time | relevance | path

Searched refs:enforced (Results 1 – 25 of 43) sorted by relevance

12

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp98 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 …]
Dandroid_keymaster.cpp233 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/
Dandroid_keymaster_messages_test.cpp145 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/
Dsoft_keymaster_device.cpp771 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/
Duntrusted_app_27.te19 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
Duntrusted_app_25.te30 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
Dpriv_app.te189 # enforced via levelFrom=user in seapp_contexts and the mls
Dapp_neverallows.te73 # enforced via levelFrom=user in seapp_contexts and the mls
/system/sepolicy/prebuilts/api/30.0/private/
Duntrusted_app_27.te19 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
Duntrusted_app_25.te30 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
/system/keymaster/ng/
DAndroidKeymaster4Device.cpp332 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()
DAndroidKeymaster3Device.cpp288 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/
DTrustyKeymaster3Device.cpp245 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/
Duntrusted_app_27.te31 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
Duntrusted_app_25.te46 …rm/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp360 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/
Dandroid_keymaster_messages.h295 AuthorizationSet enforced; member
327 AuthorizationSet enforced; member
497 AuthorizationSet enforced; member
817 AuthorizationSet enforced; member
/system/sepolicy/tools/sepolicy-analyze/
DREADME52 denials are logged but not enforced for these domains. While
/system/sepolicy/prebuilts/api/26.0/private/
Dpriv_app.te154 # enforced via levelFrom=user in seapp_contexts and the mls
Dapp_neverallows.te36 # enforced via levelFrom=user in seapp_contexts and the mls
/system/sepolicy/prebuilts/api/27.0/private/
Dpriv_app.te145 # enforced via levelFrom=user in seapp_contexts and the mls
Dapp_neverallows.te41 # enforced via levelFrom=user in seapp_contexts and the mls
/system/sepolicy/prebuilts/api/28.0/private/
Dpriv_app.te187 # enforced via levelFrom=user in seapp_contexts and the mls
Dapp_neverallows.te46 # enforced via levelFrom=user in seapp_contexts and the mls
/system/sepolicy/prebuilts/api/28.0/public/
Dattributes222 # device types are allowed to use this attribute (enforced by CTS).

12