crypto_store_htobe32
crypto_store_htobe32(&iv[12], ctr);
crypto_store_htobe32(&out[0 * 4], s0);
crypto_store_htobe32(&out[1 * 4], s1);
crypto_store_htobe32(&out[2 * 4], s2);
crypto_store_htobe32(&out[3 * 4], s3);
crypto_store_htobe32(&out[0 * 4], s0);
crypto_store_htobe32(&out[1 * 4], s1);
crypto_store_htobe32(&out[2 * 4], s2);
crypto_store_htobe32(&out[3 * 4], s3);
crypto_store_htobe32(&ivec[12], ctr32);
crypto_store_htobe32(&ivec[12], ctr32);
crypto_store_htobe32(&md[0 * 4], c->h0);
crypto_store_htobe32(&md[1 * 4], c->h1);
crypto_store_htobe32(&md[2 * 4], c->h2);
crypto_store_htobe32(&md[3 * 4], c->h3);
crypto_store_htobe32(&md[4 * 4], c->h4);
crypto_store_htobe32(md, c->h[nn]);
crypto_store_htobe32(md, c->h[nn]);
crypto_store_htobe32(md, c->h[nn]);
crypto_store_htobe32(md, c->h[n] >> 32);
crypto_store_htobe32(&md[0 * 4], c->A);
crypto_store_htobe32(&md[1 * 4], c->B);
crypto_store_htobe32(&md[2 * 4], c->C);
crypto_store_htobe32(&md[3 * 4], c->D);
crypto_store_htobe32(&md[4 * 4], c->E);
crypto_store_htobe32(&md[5 * 4], c->F);
crypto_store_htobe32(&md[6 * 4], c->G);
crypto_store_htobe32(&md[7 * 4], c->H);
crypto_store_htobe32(&out[0 * 4], B3);
crypto_store_htobe32(&out[1 * 4], B2);
crypto_store_htobe32(&out[2 * 4], B1);
crypto_store_htobe32(&out[3 * 4], B0);
crypto_store_htobe32(&out[0 * 4], B3);
crypto_store_htobe32(&out[1 * 4], B2);
crypto_store_htobe32(&out[2 * 4], B1);
crypto_store_htobe32(&out[3 * 4], B0);