Lines Matching refs:buf_ptr
63 const uint8_t** buf_ptr = &tmp;
69 if (!copy_from_buf(buf_ptr, end, nonce->peek_write(), OCB_NONCE_LENGTH) ||
70 !encrypted_key_material->Deserialize(buf_ptr, end) ||
71 !copy_from_buf(buf_ptr, end, tag->peek_write(), OCB_TAG_LENGTH) ||
72 !hw_enforced->Deserialize(buf_ptr, end) || //
73 !sw_enforced->Deserialize(buf_ptr, end)) {
91 const uint8_t** buf_ptr = &tmp;
94 if (end <= *buf_ptr)
97 uint8_t version = *(*buf_ptr)++;
99 !nonce->Deserialize(buf_ptr, end) || nonce->available_read() != OCB_NONCE_LENGTH ||
100 !encrypted_key_material->Deserialize(buf_ptr, end) || //
101 !tag->Deserialize(buf_ptr, end) || tag->available_read() != OCB_TAG_LENGTH ||
102 !hw_enforced->Deserialize(buf_ptr, end) || //
103 !sw_enforced->Deserialize(buf_ptr, end)) {