X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfcrypt.h;h=49073c96ad0d63fb63d97530a531ee247b77855b;hb=10d07f6813a5909bb9ae957bc7424b3ad3099b93;hp=a36cc16cfb6cd1d06d10dad53d20acd14ff0951f;hpb=f402e6aa2dd18138ec26e9bfb340dae294637aec;p=tfcrypt.git diff --git a/tfcrypt.h b/tfcrypt.h index a36cc16..49073c9 100644 --- a/tfcrypt.h +++ b/tfcrypt.h @@ -100,7 +100,7 @@ typedef unsigned long long tfc_useconds; #define NOFSIZE ((tfc_fsize)-1) #define TFC_ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) -#define TFC_KEY_BITS (do_tfcrypt1 == YES ? TF_MAX_BITS : TF_NR_KEY_BITS) +#define TFC_KEY_BITS (do_full_key == NO ? TF_MAX_BITS : TF_NR_KEY_BITS) #define TFC_ASCII_TFC_MAC_FOURCC "%TF" #define TFC_ASCII_TFC_MAC_FOURCC_LEN (sizeof(TFC_ASCII_TFC_MAC_FOURCC)-1) @@ -127,6 +127,7 @@ extern int ctr_mode; extern size_t macbits; extern size_t tfc_saltsz; extern tfc_byte tfc_salt[TFC_MAX_SALT]; +extern tfc_yesno do_full_key; extern char *progname; extern int exitcode; @@ -137,7 +138,7 @@ extern tfc_byte srcblk[TFC_BLKSIZE], dstblk[TFC_BLKSIZE], *pblk; extern tfc_byte macvrfy[SKEIN_DIGEST_SIZE], macresult[SKEIN_DIGEST_SIZE]; extern tfc_byte tmpdata[TFC_TMPSIZE]; extern char *randsource; -extern tfc_fsize iseek_blocks, iseek, oseek, maxlen; +extern tfc_fsize iseek_blocks, iseek, oseek, maxlen, ftrunc_dfd; extern tfc_fsize total_processed_src, total_processed_dst; extern tfc_fsize delta_processed; extern tfc_fsize genrandom_nr_bytes, genzero_nr_bytes; @@ -154,9 +155,9 @@ extern size_t sksum_turns; extern int do_edcrypt, do_stop, quiet, error_action; extern int counter_opt, mackey_opt, do_mac, do_outfmt, rawkey; extern int idx, write_flags; -extern tfc_yesno catch_all_errors, ignore_seek_errors, password, overwrite_source, do_fsync, do_pad, do_tfcrypt1; +extern tfc_yesno catch_all_errors, ignore_seek_errors, password, overwrite_source, do_fsync, do_pad; extern tfc_yesno do_preserve_time, do_stats_in_gibs, do_statline_dynamic, do_less_stats; -extern tfc_yesno no_repeat, do_full_hexdump, verbose, statline_was_shown; +extern tfc_yesno no_repeat, do_full_hexdump, verbose, statline_was_shown, show_secrets; extern char *srcfname, *dstfname, *do_mac_file, *counter_file, *sksum_hashlist_file; extern char *saltf, *genkeyf, *mackeyf, *tweakf; extern char *pw_prompt, *mac_pw_prompt;