X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Farctwo.h;h=dc23aeb54f97dce3cd9f93a7a41dd15760fe3866;hb=d63fa9d4fe8791bca39b5108c9970e70016e7a21;hp=89c581e20fcb75ac33bb67d0a7492ff5d59d03d4;hpb=0fd8d0f370a576598050c3572d6eb623095db936;p=gnulib.git diff --git a/lib/arctwo.h b/lib/arctwo.h index 89c581e20..dc23aeb54 100644 --- a/lib/arctwo.h +++ b/lib/arctwo.h @@ -1,5 +1,5 @@ /* arctwo.h --- The arctwo block cipher - * Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc. + * Copyright (C) 2000-2003, 2005, 2009-2011 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 @@ -39,7 +39,7 @@ typedef struct 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) \ arctwo_setkey_ekb (context, keylen, key, 8 * (keylen)) @@ -50,7 +50,7 @@ arctwo_setkey_ekb (arctwo_context *context, 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, @@ -58,6 +58,6 @@ arctwo_encrypt (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 */