Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h91 template <typename T> inline T* dup_array(const T* a, size_t n) { in dup_array() function
104 template <typename T, size_t N> inline T* dup_array(const T (&a)[N]) { in dup_array() function
105 return dup_array(a, N); in dup_array()
Dandroid_keymaster_messages.h211 results = dup_array(arr, n); in SetResults()
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp138 (*cert_chain)->entries[i] = { dup_array(cchain.entries[i].data, in GenerateAttestation()
/system/keymaster/km_openssl/
Dattestation_utils.cpp51 keymaster_blob_t result = { dup_array(cert), N }; in certBlobifier()
60 keymaster_blob_t result = { dup_array(blob.data, blob.data_length), blob.data_length }; in certBlobifier()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp143 rsp.key_blob.key_material = dup_array(TEST_DATA); in TEST()
158 rsp.key_blob.key_material = dup_array(TEST_DATA); in TEST()
617 req.upgraded_key.key_material = dup_array(TEST_DATA); in TEST()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp109 response->results = dup_array(algorithms, algorithm_count); in SupportedAlgorithms()