projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sync with tfcipher
[tfcrypt.git]
/
tfc_misc.c
diff --git
a/tfc_misc.c
b/tfc_misc.c
index 5a6c53b213510b0cbc3867bfe8c5f001cb273066..01998f2f13a877e451fd007cfac347282a2c896d 100644
(file)
--- a/
tfc_misc.c
+++ b/
tfc_misc.c
@@
-102,6
+102,16
@@
const char *tfc_modename(int mode)
return NULL;
}
+tfc_yesno tfc_is_freestream(int mode)
+{
+ switch (mode) {
+ case TFC_MODE_PLAIN:
+ case TFC_MODE_STREAM: return YES;
+ }
+
+ return NO;
+}
+
void tfc_getcurtime(tfc_useconds *tx)
{
struct timespec t;