51 broke -E logic completely, rewise it
[tfcrypt.git] / tfstream.c
1 #include <string.h>
2 #include "tfdef.h"
3 #include "tfe.h"
4
5 void tf_stream_crypt(struct tfe_stream *tfe, void *out, const void *in, size_t sz)
6 {
7         tfe_emit(out, sz, tfe);
8         xor_block(out, in, sz);
9 }