Searched refs:unenforced (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 98 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() 104 return unenforced.Serialize(buf, end); in NonErrorSerialize() 109 unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize() 135 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() 140 return unenforced.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() 365 return unenforced.Serialize(buf, end); in NonErrorSerialize() 370 unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize() 677 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize() [all …]
|
D | android_keymaster.cpp | 234 response->unenforced.Clear(); in GenerateKey() 236 &response->enforced, &response->unenforced); in GenerateKey() 256 response->unenforced = move(key->sw_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 | 150 EXPECT_EQ(deserialized->unenforced, rsp.unenforced); in TEST() 165 EXPECT_EQ(0U, deserialized->unenforced.size()); in TEST() 188 msg.unenforced.Reinitialize(params, array_length(params)); in TEST() 192 EXPECT_EQ(msg.unenforced, deserialized->unenforced); in TEST() 405 msg.unenforced.Reinitialize(params, array_length(params)); in TEST() 413 EXPECT_EQ(msg.unenforced, deserialized->unenforced); in TEST()
|
D | android_keymaster_test.cpp | 1955 ASSERT_EQ(response.unenforced.Contains(TAG_ALGORITHM), true); in TEST_F() 1956 ASSERT_EQ(response.unenforced.Contains(TAG_KEY_SIZE), true); in TEST_F() 1957 ASSERT_EQ(response.unenforced.Contains(TAG_PURPOSE), true); in TEST_F() 1958 ASSERT_EQ(response.unenforced.Contains(TAG_BLOCK_MODE), true); in TEST_F()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 773 response.unenforced.erase(response.unenforced.find(TAG_OS_VERSION)); in generate_key() 774 response.unenforced.erase(response.unenforced.find(TAG_OS_PATCHLEVEL)); in generate_key() 776 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in generate_key() 853 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in generate_key() 893 response.unenforced.erase(response.unenforced.find(TAG_OS_VERSION)); in get_key_characteristics() 894 response.unenforced.erase(response.unenforced.find(TAG_OS_PATCHLEVEL)); in get_key_characteristics() 896 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in get_key_characteristics() 929 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in get_key_characteristics() 974 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in import_key()
|
/system/keymaster/ng/ |
D | AndroidKeymaster4Device.cpp | 333 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in generateKey() 353 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in getKeyCharacteristics() 376 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importKey() 403 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importWrappedKey()
|
D | AndroidKeymaster3Device.cpp | 289 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in generateKey() 309 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in getKeyCharacteristics() 331 resultCharacteristics.softwareEnforced = kmParamSet2Hidl(response.unenforced); in importKey()
|
/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 | 296 AuthorizationSet unenforced; member 328 AuthorizationSet unenforced; member 498 AuthorizationSet unenforced; member 818 AuthorizationSet unenforced; member
|