Lines Matching full:tv
32 const HChaCha20TV *tv; in tv_hchacha20() local
46 tv = &tvs[i]; in tv_hchacha20()
48 tv->key, strlen(tv->key), NULL, NULL, NULL); in tv_hchacha20()
50 tv->in, strlen(tv->in), NULL, NULL, NULL); in tv_hchacha20()
52 tv->out, strlen(tv->out), NULL, NULL, NULL); in tv_hchacha20()
104 const XChaCha20TV *tv; in tv_stream_xchacha20() local
117 tv = &tvs[i]; in tv_stream_xchacha20()
120 tv->key, strlen(tv->key), NULL, NULL, NULL); in tv_stream_xchacha20()
122 tv->nonce, strlen(tv->nonce), NULL, NULL, NULL); in tv_stream_xchacha20()
124 tv->out, strlen(tv->out), NULL, &out_len, NULL); in tv_stream_xchacha20()
214 const XChaCha20Poly1305TV *tv; in tv_secretbox_xchacha20poly1305() local
229 tv = &tvs[i]; in tv_secretbox_xchacha20poly1305()
230 m_len = strlen(tv->m) / 2; in tv_secretbox_xchacha20poly1305()
233 tv->key, strlen(tv->key), NULL, NULL, NULL); in tv_secretbox_xchacha20poly1305()
235 tv->nonce, strlen(tv->nonce), NULL, NULL, NULL); in tv_secretbox_xchacha20poly1305()
236 sodium_hex2bin(m, m_len, tv->m, strlen(tv->m), NULL, NULL, NULL); in tv_secretbox_xchacha20poly1305()
242 tv->out, strlen(tv->out), NULL, NULL, NULL); in tv_secretbox_xchacha20poly1305()