Home
last modified time | relevance | path

Searched refs:unenforced (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp208 key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
216 buf = unenforced.Serialize(buf, end); in NonErrorSerialize()
224 !unenforced.Deserialize(buf_ptr, end)) { in NonErrorDeserialize()
336 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
341 return unenforced.Serialize(buf, end); in NonErrorSerialize()
346 return enforced.Deserialize(buf_ptr, end) && unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize()
554 key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
562 buf = unenforced.Serialize(buf, end); in NonErrorSerialize()
570 !unenforced.Deserialize(buf_ptr, end)) { in NonErrorDeserialize()
830 key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
[all …]
Dandroid_keymaster.cpp335 response->unenforced.Clear(); in GenerateKey()
341 &response->unenforced, // in GenerateKey()
532 response->unenforced = move(key->sw_enforced()); in GetKeyCharacteristics()
534 response->error = CheckVersionInfo(response->enforced, response->unenforced, *context_); in GetKeyCharacteristics()
791 &response->unenforced, // in ImportKey()
890 &response->unenforced, // in ImportWrappedKey()
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp138 convertKeyCharacteristics(response.unenforced, response.enforced); in generateKey()
157 *characteristics = convertKeyCharacteristics(response.unenforced, response.enforced, in getKeyCharacteristics()
187 convertKeyCharacteristics(response.unenforced, response.enforced); in importKey()
217 convertKeyCharacteristics(response.unenforced, response.enforced); in importWrappedKey()
/system/keymaster/ng/
DAndroidKeyMintDevice.cpp284 securityLevel_, request.key_description, response.unenforced, response.enforced); in generateKey()
315 securityLevel_, request.key_description, response.unenforced, response.enforced); in importKey()
346 securityLevel_, request.additional_params, response.unenforced, response.enforced); in importWrappedKey()
462 convertKeyCharacteristics(securityLevel_, emptySet, response.unenforced, response.enforced, in getKeyCharacteristics()
DAndroidKeymaster4Device.cpp329 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in generateKey()
349 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in getKeyCharacteristics()
372 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importKey()
399 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importWrappedKey()
DAndroidKeymaster3Device.cpp290 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in generateKey()
310 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in getKeyCharacteristics()
333 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importKey()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp712 response.unenforced.erase(response.unenforced.find(TAG_OS_VERSION)); in generate_key()
713 response.unenforced.erase(response.unenforced.find(TAG_OS_PATCHLEVEL)); in generate_key()
715 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in generate_key()
786 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in generate_key()
824 response.unenforced.erase(response.unenforced.find(TAG_OS_VERSION)); in get_key_characteristics()
825 response.unenforced.erase(response.unenforced.find(TAG_OS_PATCHLEVEL)); in get_key_characteristics()
827 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in get_key_characteristics()
856 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in get_key_characteristics()
897 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in import_key()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp125 EXPECT_EQ(deserialized->unenforced, rsp.unenforced); in TEST()
154 EXPECT_EQ(0U, deserialized->unenforced.size()); in TEST()
270 msg.unenforced.Reinitialize(params, array_length(params)); in TEST()
274 EXPECT_EQ(msg.unenforced, deserialized->unenforced); in TEST()
510 msg.unenforced.Reinitialize(params, array_length(params)); in TEST()
529 EXPECT_EQ(msg.unenforced, deserialized->unenforced); in TEST()
Dandroid_keymaster_test.cpp1705 ASSERT_EQ(response.unenforced.Contains(TAG_ALGORITHM), true); in TEST_F()
1706 ASSERT_EQ(response.unenforced.Contains(TAG_KEY_SIZE), true); in TEST_F()
1707 ASSERT_EQ(response.unenforced.Contains(TAG_PURPOSE), true); in TEST_F()
1708 ASSERT_EQ(response.unenforced.Contains(TAG_BLOCK_MODE), true); in TEST_F()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp246 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in generateKey()
266 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in getKeyCharacteristics()
289 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importKey()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp361 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in generateKey()
381 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in getKeyCharacteristics()
404 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importKey()
430 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importWrappedKey()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h363 AuthorizationSet unenforced; member
451 AuthorizationSet unenforced; member
591 AuthorizationSet unenforced; member
884 AuthorizationSet unenforced; member