Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp98 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 …]
Dandroid_keymaster.cpp234 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/
Dandroid_keymaster_messages_test.cpp150 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()
Dandroid_keymaster_test.cpp1955 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/
Dsoft_keymaster_device.cpp773 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/
DAndroidKeymaster4Device.cpp333 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()
DAndroidKeymaster3Device.cpp289 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/
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.h296 AuthorizationSet unenforced; member
328 AuthorizationSet unenforced; member
498 AuthorizationSet unenforced; member
818 AuthorizationSet unenforced; member