Lines Matching refs:stream
18 $stream = $res[0];
21 $c1 = sodium_crypto_secretstream_xchacha20poly1305_push($stream, $msg1, $ad);
22 $c2 = sodium_crypto_secretstream_xchacha20poly1305_push($stream, $msg2, '', SODIUM_CRYPTO_SECRETSTR…
24 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
26 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
27 $r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);
34 var_dump(sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2));
35 var_dump(sodium_crypto_secretstream_xchacha20poly1305_pull($stream, 'x'));
37 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
38 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1);
40 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
43 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
44 sodium_crypto_secretstream_xchacha20poly1305_rekey($stream);
45 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
47 $r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);