Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dserializable.h143 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size);
162 if (!copy_from_buf(buf_ptr, end, &val, sizeof(val))) in copy_uint32_from_buf()
173 return copy_from_buf(buf_ptr, end, value, sizeof(*value)); in copy_uint64_from_buf()
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp69 if (!copy_from_buf(buf_ptr, end, nonce->peek_write(), OCB_NONCE_LENGTH) || in DeserializeUnversionedBlob()
71 !copy_from_buf(buf_ptr, end, tag->peek_write(), OCB_TAG_LENGTH) || in DeserializeUnversionedBlob()
/system/keymaster/android_keymaster/
Dserializable.cpp47 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { in copy_from_buf() function
72 return copy_from_buf(buf_ptr, end, dest->get(), *size); in copy_size_and_data_from_buf()
Dandroid_keymaster_messages.cpp593 copy_from_buf(buf_ptr, end, nonce, sizeof(nonce)); in Deserialize()