Home
last modified time | relevance | path

Searched refs:keys_to_sign_array (Results 1 – 6 of 6) sorted by relevance

/system/core/trusty/keymaster/keymint/
DTrustyRemotelyProvisionedComponentDevice.cpp102 request.keys_to_sign_array = new KeymasterBlob[keysToSign.size()]; in generateCertificateRequest()
/system/keymaster/ng/
DAndroidRemotelyProvisionedComponentDevice.cpp114 request.keys_to_sign_array = new KeymasterBlob[keysToSign.size()]; in generateCertificateRequest()
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp250 size += blob_size(keys_to_sign_array[i]); in SerializedSize()
261 buf = serialize_blob(keys_to_sign_array[i], buf, end); in Serialize()
272 keys_to_sign_array = new (std::nothrow) KeymasterBlob[num_keys]; in Deserialize()
273 if (!keys_to_sign_array) return false; in Deserialize()
275 if (!deserialize_blob(&keys_to_sign_array[i], buf_ptr, end)) return false; in Deserialize()
285 set_blob(&keys_to_sign_array[index], data, length); in SetKeyToSign()
Dandroid_keymaster.cpp419 request.keys_to_sign_array, macFunction); in GenerateCsr()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp196 req.keys_to_sign_array = new KeymasterBlob[req.num_keys]; in TEST()
206 EXPECT_EQ(deserialized->keys_to_sign_array[i].data_length, in TEST()
207 req.keys_to_sign_array[i].data_length); in TEST()
208 EXPECT_EQ(0, std::memcmp(deserialized->keys_to_sign_array[i].data, in TEST()
209 req.keys_to_sign_array[i].data, in TEST()
210 req.keys_to_sign_array[i].data_length)); in TEST()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h395 ~GenerateCsrRequest() override { delete[] keys_to_sign_array; } in ~GenerateCsrRequest()
406 KeymasterBlob* keys_to_sign_array = nullptr; member