X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=crypt.h;h=f5f8aca628da98f34f5e8c22cc324f8afb62bc38;hb=dbf829aac09a69f4b51a6a1f9fe15873b99fbdcf;hp=e9657ff5c0ae2b9c5a8875ea9f37e8e145ff9f64;hpb=6eab6671f857009b6d6a2de2c2ec8187f869f705;p=paraslash.git diff --git a/crypt.h b/crypt.h index e9657ff5..f5f8aca6 100644 --- a/crypt.h +++ b/crypt.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2013 Andre Noll + * Copyright (C) 2005 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -119,16 +119,14 @@ struct stream_cipher_context { }; /** - * Allocate and initialize a stream cipher structure. + * Allocate and initialize an aes_ctr128 stream cipher structure. * * \param data The key. * \param len The size of the key. - * \param use_aes True: Use the aes_ctr128 stream cipher, false: Use RC4. * * \return A new stream cipher structure. */ -struct stream_cipher *sc_new(const unsigned char *data, int len, - bool use_aes); +struct stream_cipher *sc_new(const unsigned char *data, int len); /** * Encrypt or decrypt a buffer using a stream cipher.