diff options
Diffstat (limited to 'libdes/util.c')
-rw-r--r-- | libdes/util.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libdes/util.c b/libdes/util.c deleted file mode 100644 index 770ebd1..0000000 --- a/libdes/util.c +++ /dev/null @@ -1,36 +0,0 @@ -/* - * $Source$ - * $Author$ - * - * Copyright 1988 by the Massachusetts Institute of Technology. - * - * For copying and distribution information, please see the file - * <mit-copyright.h>. - * - * Miscellaneous debug printing utilities - */ - -#ifndef lint -static char rcsid_util_c[] = - "$Id$"; -#endif - -#include <mit-copyright.h> -#include <stdio.h> -#include <des.h> - -des_cblock_print_file(x, fp) - des_cblock *x; - FILE *fp; -{ - unsigned char *y = (unsigned char *) x; - register int i = 0; - fprintf(fp," 0x { "); - - while (i++ < 8) { - fprintf(fp,"%x",*y++); - if (i < 8) - fprintf(fp,", "); - } - fprintf(fp," }"); -} |