Lines Matching refs:buffer_append
83 buffer_append(values, IOSTREAM_CRYPT_MAGIC, sizeof(IOSTREAM_CRYPT_MAGIC));
86 buffer_append(values, &c, 1);
89 buffer_append(values, &s, 2);
91 buffer_append(values, stream->key_data, stream->key_data_len);
108 buffer_append(values, IOSTREAM_CRYPT_MAGIC, sizeof(IOSTREAM_CRYPT_MAGIC));
110 buffer_append(values, &c, 1);
112 buffer_append(values, &i, 4);
118 buffer_append(values, &i, 4);
123 buffer_append(values, &i, 4);
125 buffer_append(values, &i, 4);
126 buffer_append(values, stream->key_data, stream->key_data_len);
221 buffer_append(res, &s, 2);
222 buffer_append(res, ephemeral_key->data, ephemeral_key->used);
225 buffer_append(res, &s, 2);
226 buffer_append(res, pkhash, sizeof(pkhash));
229 buffer_append(res, &s, 2);
230 buffer_append(res, ekhash, sizeof(ekhash));
233 buffer_append(res, &s, 2);
234 buffer_append(res, encrypted_key->data, encrypted_key->used);
312 buffer_append(res, &kt, 1);
317 buffer_append(res, &val, 4);
321 buffer_append(res, &val, 4);
365 buffer_append(res, "\1", 1); /* one key for now */
391 buffer_append(res, &val, 4);
392 buffer_append(res, hres, sizeof(hres));