projects
/
tfcrypt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Sync with tfcipher
[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
}