Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dserializable.h181 inline bool copy_uint32_from_buf(const uint8_t** buf_ptr, const uint8_t* end, T* value) { in copy_uint32_from_buf() function
205 if (!copy_uint32_from_buf(buf_ptr, end, count)) return false; in copy_uint32_array_from_buf()
215 if (!copy_uint32_from_buf(buf_ptr, end, &(*data)[i])) return false; in copy_uint32_array_from_buf()
227 if (!copy_uint32_from_buf(buf_ptr, end, &buf_size)) { in copy_collection_from_buf()
Dandroid_keymaster_messages.h229 return copy_uint32_from_buf(buf_ptr, end, &algorithm); in Deserialize()
255 return copy_uint32_from_buf(buf_ptr, end, &algorithm) && in Deserialize()
256 copy_uint32_from_buf(buf_ptr, end, &purpose); in Deserialize()
791 return copy_uint32_from_buf(buf_ptr, end, &os_version) && in Deserialize()
792 copy_uint32_from_buf(buf_ptr, end, &os_patchlevel); in Deserialize()
1011 return copy_uint32_from_buf(buf_ptr, end, &error) && token.Deserialize(buf_ptr, end); in NonErrorDeserialize()
1068 return copy_uint32_from_buf(buf_ptr, end, &max_message_version); in Deserialize()
1110 copy_uint32_from_buf(buf_ptr, end, &security_level) && mac.Deserialize(buf_ptr, end); in Deserialize()
1220 return copy_uint32_from_buf(buf_ptr, end, &vendor_patchlevel); in Deserialize()
1236 return copy_uint32_from_buf(buf_ptr, end, &boot_patchlevel); in Deserialize()
[all …]
/system/keymaster/android_keymaster/
Dauthorization_set.cpp344 if (!copy_uint32_from_buf(buf_ptr, end, &param->tag)) return false; in deserialize()
351 return copy_uint32_from_buf(buf_ptr, end, &param->enumerated); in deserialize()
354 return copy_uint32_from_buf(buf_ptr, end, &param->integer); in deserialize()
377 if (!copy_uint32_from_buf(buf_ptr, end, &param->blob.data_length) || in deserialize()
378 !copy_uint32_from_buf(buf_ptr, end, &offset)) in deserialize()
432 if (!copy_uint32_from_buf(buf_ptr, end, &elements_count) || in DeserializeElementsData()
433 !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()
425 return copy_uint32_from_buf(buf_ptr, end, &purpose) && in Deserialize()
500 if (retval && message_version > 0) retval = copy_uint32_from_buf(buf_ptr, end, &input_consumed); in NonErrorDeserialize()
597 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
655 copy_uint32_from_buf(buf_ptr, end, &key_format) && in Deserialize()
827 if (!copy_uint32_from_buf(buf_ptr, end, &num_params)) return false; in Deserialize()
932 copy_uint32_from_buf(buf_ptr, end, &authenticator_type) && in Deserialize()
954 copy_uint32_from_buf(buf_ptr, end, &security_level) && in Deserialize()
971 return copy_uint32_from_buf(buf_ptr, end, &max_message_version) && in NonErrorDeserialize()
[all …]
Dserializable.cpp52 if (!copy_uint32_from_buf(buf_ptr, end, size)) return false; in copy_size_and_data_from_buf()
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp260 if (!copy_uint32_from_buf(buf_ptr, end, &retval.encrypted_key.kdf_version) || in DeserializeAuthEncryptedBlob()
261 !copy_uint32_from_buf(buf_ptr, end, &retval.encrypted_key.addl_info)) { in DeserializeAuthEncryptedBlob()
272 if (!copy_uint32_from_buf(buf_ptr, end, &retval.key_slot)) { in DeserializeAuthEncryptedBlob()
/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()