Lines Matching refs:stream
19 $stream = $res[0];
22 $c1 = sodium_crypto_secretstream_xchacha20poly1305_push($stream, $msg1, $ad);
23 $c2 = sodium_crypto_secretstream_xchacha20poly1305_push($stream, $msg2, '', SODIUM_CRYPTO_SECRETSTR…
25 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
27 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
28 $r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);
35 var_dump(sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2));
36 var_dump(sodium_crypto_secretstream_xchacha20poly1305_pull($stream, 'x'));
38 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
39 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1);
41 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
44 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
45 sodium_crypto_secretstream_xchacha20poly1305_rekey($stream);
46 $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
48 $r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);