void skein(void *hash, size_t bits, const void *key, const void *data, size_t szdata)
{
struct skein sk;
void skein(void *hash, size_t bits, const void *key, const void *data, size_t szdata)
{
struct skein sk;
tfc_byte *pblk;
size_t ldone, lblock, lrem, lio;
tfc_fsize total = 0;
tfc_byte *pblk;
size_t ldone, lblock, lrem, lio;
tfc_fsize total = 0;
pblk = skblk;
lblock = lrem = blk_len_adj(readto, total, TFC_BLKSIZE);
ldone = 0;
if (error_action == TFC_ERRACT_SYNC) rdpos = tfc_fdgetpos(fd);
_again: lio = xread(fd, pblk, lrem);
pblk = skblk;
lblock = lrem = blk_len_adj(readto, total, TFC_BLKSIZE);
ldone = 0;
if (error_action == TFC_ERRACT_SYNC) rdpos = tfc_fdgetpos(fd);
_again: lio = xread(fd, pblk, lrem);
total_processed_src = total_processed_dst = delta_processed = 0;
}
memset(skblk, 0, TFC_BLKSIZE);
total_processed_src = total_processed_dst = delta_processed = 0;
}
memset(skblk, 0, TFC_BLKSIZE);
sigaction(SIGQUIT, &sigact, NULL);
sigact.sa_handler = change_status_timer;
sigaction(SIGUSR2, &sigact, NULL);
sigaction(SIGQUIT, &sigact, NULL);
sigact.sa_handler = change_status_timer;
sigaction(SIGUSR2, &sigact, NULL);
sigaction(SIGINT, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
sigact.sa_handler = handle_sigtstp;
sigaction(SIGINT, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
sigact.sa_handler = handle_sigtstp;
if (fd == -1) {
xerror(YES, NO, YES, "%s", fname);
exitcode = 1;
if (fd == -1) {
xerror(YES, NO, YES, "%s", fname);
exitcode = 1;
for (x = 0; fargv[x] && xx; x++) {
if (!strcmp(fargv[x], "-")) fd = 0;
for (x = 0; fargv[x] && xx; x++) {
if (!strcmp(fargv[x], "-")) fd = 0;
if (fd == -1) {
xerror(YES, NO, YES, "%s", fargv[x]);
exitcode = 1;
if (fd == -1) {
xerror(YES, NO, YES, "%s", fargv[x]);
exitcode = 1;