Home
last modified time | relevance | path

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

/system/keymaster/
Dauthorization_set.cpp279 if (!copy_uint32_from_buf(buf_ptr, end, &param->tag)) in deserialize()
288 return copy_uint32_from_buf(buf_ptr, end, &param->enumerated); in deserialize()
291 return copy_uint32_from_buf(buf_ptr, end, &param->integer); in deserialize()
308 if (!copy_uint32_from_buf(buf_ptr, end, &param->blob.data_length) || in deserialize()
309 !copy_uint32_from_buf(buf_ptr, end, &offset)) in deserialize()
359 if (!copy_uint32_from_buf(buf_ptr, end, &elements_count) || in DeserializeElementsData()
360 !copy_uint32_from_buf(buf_ptr, end, &elements_size)) { in DeserializeElementsData()
Dgoogle_keymaster_messages.cpp37 if (!copy_uint32_from_buf(buf_ptr, end, &error)) in Deserialize()
156 if (!copy_uint32_from_buf(buf_ptr, end, &purpose) || in Deserialize()
249 !copy_uint32_from_buf(buf_ptr, end, &key_format) || in Deserialize()
307 !copy_uint32_from_buf(buf_ptr, end, &key_format) || in Deserialize()
Dserializable.cpp38 if (!copy_uint32_from_buf(buf_ptr, end, size) || *buf_ptr + *size > end) { in copy_size_and_data_from_buf()
/system/keymaster/include/keymaster/
Dserializable.h143 inline bool copy_uint32_from_buf(const uint8_t** buf_ptr, const uint8_t* end, T* value) { in copy_uint32_from_buf() function
168 if (!copy_uint32_from_buf(buf_ptr, end, count) || *buf_ptr + *count * sizeof(uint32_t) > end) in copy_uint32_array_from_buf()
172 if (!copy_uint32_from_buf(buf_ptr, end, &(*data)[i])) in copy_uint32_array_from_buf()