chacha_ivsetup
static inline void chacha_ivsetup(struct chacha_ctx *x, const u8 *iv,
chacha_ivsetup((chacha_ctx *)ctx, iv, counter);
chacha_ivsetup(&ctx, iv, NULL);
void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
chacha_ivsetup(&ctx->header_ctx, seqbuf, NULL);
chacha_ivsetup(&ctx->main_ctx, seqbuf, one);
chacha_ivsetup(&ctx->header_ctx, seqbuf, NULL);
chacha_ivsetup(&ctx->main_ctx, seqbuf, NULL);
chacha_ivsetup(&rsx->rs_chacha, buf + KEYSZ, NULL);
LOCAL void chacha_ivsetup(struct chacha_ctx *x, const uint8_t *iv,
chacha_ivsetup(&ctx->chacha, nonce64, counter64);
chacha_ivsetup(&state->cipher_ctx, NULL, counter);