X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=crypt.h;h=5e25748c09551bf1b33e7b142baaafd73df5bd36;hp=6f3befdb0c637cdfa706346e5e1adff59f2bcb9f;hb=a826152ba51fd4813f715e5fa30e7d70407dc846;hpb=9090ef9c56f488ea019b8cb8a40f22112bc3311a diff --git a/crypt.h b/crypt.h index 6f3befdb..5e25748c 100644 --- a/crypt.h +++ b/crypt.h @@ -118,16 +118,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.