Lines Matching defs:os_2
161 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v2_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
166 o_stream_nsend(os_2, ptr, siz);
170 i_assert(o_stream_finish(os_2) > 0);
172 o_stream_close(os_2);
191 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v2_kp.pub, IO_STREAM_ENC_VERSION_1);
192 o_stream_nsend(os_2, payload, sizeof(payload));
194 if (os_2->stream_errno != 0)
195 i_debug("error: %s", o_stream_get_error(os_2));
197 test_assert(os_2->stream_errno == 0);
198 test_assert(o_stream_finish(os_2) > 0);
199 test_assert(os_2->stream_errno == 0);
202 o_stream_unref(&os_2);
242 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v2_kp.pub, IO_STREAM_ENC_VERSION_1);
243 o_stream_nsend(os_2, payload, sizeof(payload));
245 if (os_2->stream_errno != 0)
246 i_debug("error: %s", o_stream_get_error(os_2));
248 test_assert(os_2->stream_errno == 0);
249 test_assert(o_stream_finish(os_2) > 0);
250 test_assert(os_2->stream_errno == 0);
253 o_stream_unref(&os_2);
290 struct ostream *os_2 = o_stream_create_encrypt(os, "<unused>", test_v1_kp.pub, IO_STREAM_ENC_VERSION_1);
291 test_assert(o_stream_finish(os_2) > 0);
292 if (os_2->stream_errno != 0)
293 i_debug("error: %s", o_stream_get_error(os_2));
296 o_stream_unref(&os_2);
335 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v1_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
336 o_stream_nsend(os_2, payload, sizeof(payload));
337 test_assert(o_stream_finish(os_2) > 0);
338 if (os_2->stream_errno != 0)
339 i_debug("error: %s", o_stream_get_error(os_2));
342 o_stream_unref(&os_2);
388 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v1_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
389 o_stream_nsend(os_2, payload, sizeof(payload));
390 test_assert(o_stream_finish(os_2) > 0);
391 if (os_2->stream_errno != 0)
392 i_debug("error: %s", o_stream_get_error(os_2));
395 o_stream_unref(&os_2);
433 struct ostream *os_2 = o_stream_create_encrypt(os, "aes-256-gcm-sha256", test_v1_kp.pub, IO_STREAM_ENC_INTEGRITY_AEAD);
434 test_assert(o_stream_finish(os_2) > 0);
435 if (os_2->stream_errno != 0)
436 i_debug("error: %s", o_stream_get_error(os_2));
439 o_stream_unref(&os_2);