On Wed, 4 Jul 2012, Samuel Pitoiset wrote:
On Wed, Jul 4, 2012 at 3:15 PM, Måns Rullgård <[email protected]> wrote:
Samuel Pitoiset <[email protected]> writes:
[...]
+void av_xtea_crypt(AVXTEA *ctx, uint8_t *dst, const uint8_t *src, int count,
+ uint8_t *iv, int decrypt)
+{
+ int i;
+
+ while (count > 0) {
[...]
+ count -= 8;
+ }
+}
[...]
+/**
+ * Encrypt or decrypt a buffer using a previously initialized context.
+ *
+ * @param x an AVXTEA context
+ * @param dst destination array, can be equal to src
+ * @param src source array, can be equal to dst
+ * @param count number of 8 byte blocks
The description of the count argument is wrong.
Why this description is wrong?
Please have a look at the code snippets that Måns quoted.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel