Searched refs:copy_uint32_from_buf (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/ |
D | authorization_set.cpp | 279 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->tag)) in deserialize() 288 return copy_uint32_from_buf(buf_ptr, end, ¶m->enumerated); in deserialize() 291 return copy_uint32_from_buf(buf_ptr, end, ¶m->integer); in deserialize() 308 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->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()
|
D | google_keymaster_messages.cpp | 37 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()
|
D | serializable.cpp | 38 if (!copy_uint32_from_buf(buf_ptr, end, size) || *buf_ptr + *size > end) { in copy_size_and_data_from_buf()
|
/system/keymaster/include/keymaster/ |
D | serializable.h | 143 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()
|