]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - crypt.h
crypt: Remove RC4 support.
[paraslash.git] / crypt.h
diff --git a/crypt.h b/crypt.h
index 9be7a23e6da4d6d1796d4d98da7d8280152c6c2a..f5f8aca628da98f34f5e8c22cc324f8afb62bc38 100644 (file)
--- a/crypt.h
+++ b/crypt.h
@@ -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.