projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update nearly all FSF copyright year lists to include 2010
[pspp]
/
lib
/
arctwo.h
diff --git
a/lib/arctwo.h
b/lib/arctwo.h
index ac97fcf676c7f6f76fa006272fd896a3cb112468..d35c117c2fee0820492140dd2bc2c778b16c77d7 100644
(file)
--- a/
lib/arctwo.h
+++ b/
lib/arctwo.h
@@
-1,5
+1,6
@@
/* arctwo.h --- The arctwo block cipher
/* arctwo.h --- The arctwo block cipher
- * Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001, 2002, 2003, 2005, 2009, 2010 Free Software
+ * Foundation, Inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
@@
-39,10
+40,10
@@
typedef struct
EFFECTIVE_KEYLEN of 0, but see RFC 2268 for more information. */
void
arctwo_setkey_ekb (arctwo_context *context,
EFFECTIVE_KEYLEN of 0, but see RFC 2268 for more information. */
void
arctwo_setkey_ekb (arctwo_context *context,
- size_t keylen, const char *key, size_t effective_keylen);
+
size_t keylen, const char *key, size_t effective_keylen);
#define arctwo_setkey(context,keylen,key) \
#define arctwo_setkey(context,keylen,key) \
- arctwo_setkey_ekb (context, keylen, key, 8 *
keylen
)
+ arctwo_setkey_ekb (context, keylen, key, 8 *
(keylen)
)
/* Encrypt INBUF of size LENGTH into OUTBUF. LENGTH must be a
multiple of ARCTWO_BLOCK_SIZE. CONTEXT hold the encryption key,
/* Encrypt INBUF of size LENGTH into OUTBUF. LENGTH must be a
multiple of ARCTWO_BLOCK_SIZE. CONTEXT hold the encryption key,
@@
-50,7
+51,7
@@
arctwo_setkey_ekb (arctwo_context *context,
arctwo_setkey_ekb. */
extern void
arctwo_encrypt (arctwo_context *context, const char *inbuf,
arctwo_setkey_ekb. */
extern void
arctwo_encrypt (arctwo_context *context, const char *inbuf,
- char *outbuf, size_t length);
+
char *outbuf, size_t length);
/* Decrypt INBUF of size LENGTH into OUTBUF. LENGTH must be a
multiple of ARCTWO_BLOCK_SIZE. CONTEXT hold the decryption key,
/* Decrypt INBUF of size LENGTH into OUTBUF. LENGTH must be a
multiple of ARCTWO_BLOCK_SIZE. CONTEXT hold the decryption key,
@@
-58,6
+59,6
@@
arctwo_encrypt (arctwo_context *context, const char *inbuf,
arctwo_setkey_ekb. */
extern void
arctwo_decrypt (arctwo_context *context, const char *inbuf,
arctwo_setkey_ekb. */
extern void
arctwo_decrypt (arctwo_context *context, const char *inbuf,
- char *outbuf, size_t length);
+
char *outbuf, size_t length);
#endif /* ARCTWO_H */
#endif /* ARCTWO_H */