Home
last modified time | relevance | path

Searched refs:copy_from_buf (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/include/keymaster/
Dserializable.h140 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size);
159 if (!copy_from_buf(buf_ptr, end, &val, sizeof(val))) return false; in copy_uint32_from_buf()
169 return copy_from_buf(buf_ptr, end, value, sizeof(*value)); in copy_uint64_from_buf()
Dandroid_keymaster_messages.h375 return copy_from_buf(buf_ptr, end, &test_mode, sizeof(uint8_t)); in Deserialize()
/system/keymaster/android_keymaster/
Dserializable.cpp45 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { in copy_from_buf() function
69 return copy_from_buf(buf_ptr, end, dest->get(), *size); in copy_size_and_data_from_buf()
Dandroid_keymaster_messages.cpp268 if (!copy_from_buf(buf_ptr, end, &test_mode, sizeof(uint8_t)) || in Deserialize()
269 !copy_from_buf(buf_ptr, end, &num_keys, sizeof(uint32_t))) { in Deserialize()
747 copy_from_buf(buf_ptr, end, nonce, sizeof(nonce)); in Deserialize()