Searched refs:copy_from_buf (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/include/keymaster/ |
D | serializable.h | 143 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/ |
D | auth_encrypted_key_blob.cpp | 69 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/ |
D | serializable.cpp | 47 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()
|
D | android_keymaster_messages.cpp | 593 copy_from_buf(buf_ptr, end, nonce, sizeof(nonce)); in Deserialize()
|