Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dserializable.h160 inline bool copy_uint32_from_buf(const uint8_t** buf_ptr, const uint8_t* end, T* value) { in copy_uint32_from_buf() function
185 if (!copy_uint32_from_buf(buf_ptr, end, count)) in copy_uint32_array_from_buf()
197 if (!copy_uint32_from_buf(buf_ptr, end, &(*data)[i])) in copy_uint32_array_from_buf()
Dandroid_keymaster_messages.h150 return copy_uint32_from_buf(buf_ptr, end, &algorithm); in Deserialize()
176 return copy_uint32_from_buf(buf_ptr, end, &algorithm) && in Deserialize()
177 copy_uint32_from_buf(buf_ptr, end, &purpose); in Deserialize()
675 return copy_uint32_from_buf(buf_ptr, end, &os_version) && in Deserialize()
676 copy_uint32_from_buf(buf_ptr, end, &os_patchlevel); in Deserialize()
899 return copy_uint32_from_buf(buf_ptr, end, &error) && token.Deserialize(buf_ptr, end); in NonErrorDeserialize()
/system/keymaster/android_keymaster/
Dauthorization_set.cpp368 if (!copy_uint32_from_buf(buf_ptr, end, &param->tag)) in deserialize()
376 return copy_uint32_from_buf(buf_ptr, end, &param->enumerated); in deserialize()
379 return copy_uint32_from_buf(buf_ptr, end, &param->integer); in deserialize()
402 if (!copy_uint32_from_buf(buf_ptr, end, &param->blob.data_length) || in deserialize()
403 !copy_uint32_from_buf(buf_ptr, end, &offset)) in deserialize()
457 if (!copy_uint32_from_buf(buf_ptr, end, &elements_count) || in DeserializeElementsData()
458 !copy_uint32_from_buf(buf_ptr, end, &elements_size)) { in DeserializeElementsData()
Dandroid_keymaster_messages.cpp86 if (!copy_uint32_from_buf(buf_ptr, end, &error)) in Deserialize()
164 return copy_uint32_from_buf(buf_ptr, end, &purpose) && in Deserialize()
245 retval = copy_uint32_from_buf(buf_ptr, end, &input_consumed); in NonErrorDeserialize()
347 !copy_uint32_from_buf(buf_ptr, end, &key_format) || in Deserialize()
390 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
529 if (!copy_uint32_from_buf(buf_ptr, end, &entry_count) || !AllocateChain(entry_count)) in NonErrorDeserialize()
613 if (!copy_uint32_from_buf(buf_ptr, end, &num_params)) return false; in Deserialize()
709 copy_uint32_from_buf(buf_ptr, end, &authenticator_type) && in Deserialize()
731 copy_uint32_from_buf(buf_ptr, end, &security_level) && in Deserialize()
Dserializable.cpp51 if (!copy_uint32_from_buf(buf_ptr, end, size)) in copy_size_and_data_from_buf()