/* arcfour.c
*
+ * This implements the Arcfour stream cipher with 128 bit keys.
+ *
+ * The Arcfour cipher is believed to be compatible with the RC4 cipher.
+ * RC4 is a registered trademark of RSA Data Security Inc.
+ *
*/
#include "crypto_types.h"
#include <stdio.h>
#include <stdlib.h>
-int main (int argc, char **argv)
+int main (int argc UNUSED, char **argv UNUSED)
{
if (bf_selftest())
{
fprintf(stderr, "Blowfish works.\n");
- exit(EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}
else
{
fprintf(stderr, "ERROR: Blowfish failed.\n");
- exit(EXIT_FAILURE);
+ return EXIT_FAILURE;
}
}
/*
* des - fast & portable DES encryption & decryption.
* Copyright (C) 1992 Dana L. How
- * Please see the file `README' for the complete copyright notice.
+ * Please see the file `descore.README' for the complete copyright notice.
*
* Slightly edited by Niels Möller, 1997
*/
+/* desdata.c
+ *
+ * Generate tables used by desUtil.c and desCode.h.
+ *
+ * $Id$ */
+
/*
* des - fast & portable DES encryption & decryption.
* Copyright (C) 1992 Dana L. How
- * Please see the file `README' for the complete copyright notice.
+ * Please see the file `descore.README' for the complete copyright notice.
*
- * Generate tables used by desUtil.c and desCode.h.
*/
#include "desinfo.h"
int printf(const char *, ...);
int
-main(int argc, char **argv)
+main(int argc UNUSED, char **argv UNUSED)
{
UINT32 d, i, j, k, l, m, n, s;
char b[256], ksr[56];
-/*
- * des - fast & portable DES encryption & decryption.
- * Copyright (C) 1992 Dana L. How
- * Please see the file `README' for the complete copyright notice.
+/* desinfo.h
+ *
+ * Tables describing DES rather than just this implementation.
+ * These are used in desdata but NOT in runtime code.
*
- * Tables describing DES rather than just this implementation.
- * These are used in desdata but NOT in runtime code.
+ * $Id$ */
+
+/* des - fast & portable DES encryption & decryption.
+ * Copyright (C) 1992 Dana L. How
+ * Please see the file `descore.README' for the complete copyright notice.
*/
#include "RCSID.h"