5 void tf_stream_crypt(struct tfe_stream *tfe, void *out, const void *in, size_t sz)
7 const TF_UNIT_TYPE *uin = in;
8 TF_UNIT_TYPE *uout = out;
9 const TF_BYTE_TYPE *uuin = in;
10 TF_BYTE_TYPE *uuout = out;
13 switch (TF_SIZE_UNIT) {
19 tfe_emit(out, sz, tfe);
20 for (z = 0; z < (sz >> n); z++) uout[z] ^= uin[z];
21 if (sz - (z << n)) for (x = (z << n); x < sz; x++) uuout[x] ^= uuin[x];