]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - crypt.h
oggdec: Remove noisy debug message.
[paraslash.git] / crypt.h
diff --git a/crypt.h b/crypt.h
index d3d4f35a1e649de50d5f261750c66c1f2c417684..324a87b349a5b9f69443e47c44e242ffb0be04df 100644 (file)
--- a/crypt.h
+++ b/crypt.h
@@ -123,10 +123,12 @@ struct stream_cipher_context {
  *
  * \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);
+struct stream_cipher *sc_new(const unsigned char *data, int len,
+               bool use_aes);
 
 /**
  * Encrypt or decrypt a buffer using a stream cipher.