Lines Matching refs:buf_ptr
104 static void copy_from_buf(uint8_t **buf_ptr, void *data, uint32_t data_size) in copy_from_buf() argument
106 memcpy(data, *buf_ptr, data_size); in copy_from_buf()
107 *buf_ptr += data_size; in copy_from_buf()
110 static void copy_uint32_from_buf(uint8_t **buf_ptr, uint32_t *x) in copy_uint32_from_buf() argument
112 copy_from_buf(buf_ptr, x, sizeof(uint32_t)); in copy_uint32_from_buf()
115 static bool copy_blob_from_buf(uint8_t **buf_ptr, atap_blob *blob) in copy_blob_from_buf() argument
118 copy_uint32_from_buf(buf_ptr, &blob->data_length); in copy_blob_from_buf()
128 copy_from_buf(buf_ptr, blob->data, blob->data_length); in copy_blob_from_buf()
133 static bool copy_cert_chain_from_buf(uint8_t **buf_ptr, in copy_cert_chain_from_buf() argument
144 copy_from_buf(buf_ptr, &cert_chain_size, sizeof(cert_chain_size)); in copy_cert_chain_from_buf()
154 if (!copy_blob_from_buf(buf_ptr, &cert_chain->entries[i])) { in copy_cert_chain_from_buf()