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