/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 208 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 …]
|
D | android_keymaster.cpp | 335 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/ |
D | TrustyKeyMintDevice.cpp | 138 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/ |
D | AndroidKeyMintDevice.cpp | 284 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()
|
D | AndroidKeymaster4Device.cpp | 329 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()
|
D | AndroidKeymaster3Device.cpp | 290 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/ |
D | soft_keymaster_device.cpp | 712 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/ |
D | android_keymaster_messages_test.cpp | 125 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()
|
D | android_keymaster_test.cpp | 1705 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/ |
D | TrustyKeymaster3Device.cpp | 246 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/ |
D | TrustyKeymaster4Device.cpp | 361 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/ |
D | android_keymaster_messages.h | 363 AuthorizationSet unenforced; member 451 AuthorizationSet unenforced; member 591 AuthorizationSet unenforced; member 884 AuthorizationSet unenforced; member
|