Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dauthorization_set.cpp351 if (!copy_uint32_from_buf(buf_ptr, end, &param->tag)) return false; in deserialize()
358 return copy_uint32_from_buf(buf_ptr, end, &param->enumerated); in deserialize()
361 return copy_uint32_from_buf(buf_ptr, end, &param->integer); in deserialize()
384 if (!copy_uint32_from_buf(buf_ptr, end, &param->blob.data_length) || in deserialize()
385 !copy_uint32_from_buf(buf_ptr, end, &offset)) in deserialize()
439 if (!copy_uint32_from_buf(buf_ptr, end, &elements_count) || in DeserializeElementsData()
440 !copy_uint32_from_buf(buf_ptr, end, &elements_size)) { in DeserializeElementsData()
Dandroid_keymaster_messages.cpp107 if (!copy_uint32_from_buf(buf_ptr, end, &entry_count) || entry_count > kMaxChainEntryCount) { in deserialize_chain()
176 if (!copy_uint32_from_buf(buf_ptr, end, &error)) return false; in Deserialize()
365 return copy_uint32_from_buf(buf_ptr, end, &purpose) && in Deserialize()
440 if (retval && message_version > 0) retval = copy_uint32_from_buf(buf_ptr, end, &input_consumed); in NonErrorDeserialize()
537 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
595 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
767 if (!copy_uint32_from_buf(buf_ptr, end, &num_params)) return false; in Deserialize()
872 copy_uint32_from_buf(buf_ptr, end, &authenticator_type) && in Deserialize()
894 copy_uint32_from_buf(buf_ptr, end, &security_level) && in Deserialize()
911 return copy_uint32_from_buf(buf_ptr, end, &max_message_version) && in NonErrorDeserialize()
[all …]
Dserializable.cpp57 if (!copy_uint32_from_buf(buf_ptr, end, size)) return false; in copy_size_and_data_from_buf()
/system/keymaster/include/keymaster/
Dserializable.h157 inline bool copy_uint32_from_buf(const uint8_t** buf_ptr, const uint8_t* end, T* value) { in copy_uint32_from_buf() function
181 if (!copy_uint32_from_buf(buf_ptr, end, count)) return false; in copy_uint32_array_from_buf()
191 if (!copy_uint32_from_buf(buf_ptr, end, &(*data)[i])) return false; in copy_uint32_array_from_buf()
Dandroid_keymaster_messages.h216 return copy_uint32_from_buf(buf_ptr, end, &algorithm); in Deserialize()
242 return copy_uint32_from_buf(buf_ptr, end, &algorithm) && in Deserialize()
243 copy_uint32_from_buf(buf_ptr, end, &purpose); in Deserialize()
751 return copy_uint32_from_buf(buf_ptr, end, &os_version) && in Deserialize()
752 copy_uint32_from_buf(buf_ptr, end, &os_patchlevel); in Deserialize()
970 return copy_uint32_from_buf(buf_ptr, end, &error) && token.Deserialize(buf_ptr, end); in NonErrorDeserialize()
1027 return copy_uint32_from_buf(buf_ptr, end, &max_message_version); in Deserialize()
1069 copy_uint32_from_buf(buf_ptr, end, &security_level) && mac.Deserialize(buf_ptr, end); in Deserialize()
1156 return copy_uint32_from_buf(buf_ptr, end, &vendor_patchlevel); in Deserialize()
1172 return copy_uint32_from_buf(buf_ptr, end, &boot_patchlevel); in Deserialize()
/system/core/trusty/keymaster/set_attestation_key/
Dset_attestation_key.cpp82 return keymaster::copy_uint32_from_buf(buf_ptr, end, &algorithm) && in Deserialize()
110 return keymaster::copy_uint32_from_buf(buf_ptr, end, &algorithm); in Deserialize()