Commit 3f7c7bf2 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: src/symmetric/arcfour.c:1.2
Rev: src/symmetric/bf_test.c:1.2
Rev: src/symmetric/desQuick.c:1.3
Rev: src/symmetric/desdata.c:1.3
Rev: src/symmetric/desinfo.h:1.2
parent 077695fe
/* 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"
......
......@@ -8,17 +8,17 @@
#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 Mller, 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"
......@@ -58,7 +63,7 @@ int sorder[] = {
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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment