API changes, most recent first:
-2015-11-xx - xxxxxxx - lavu 55.3.0 - xtea.h
++2015-11-xx - xxxxxxx - lavu 55.8.100 - xtea.h
+ Add av_xtea_le_init and av_xtea_le_crypt
-2015-11-xx - xxxxxxx - lavfi 6.1.0 - avfilter.h
- Add a frame_rate field to AVFilterLink
+2015-11-18 - lavu 55.7.100 - mem.h
+ Add av_fast_mallocz()
-2015-xx-xx - xxxxxxx - lavc 57.6.0 - avcodec.h
-
-2015-xx-xx - lavc 57.7.0 - avcodec.h
+2015-10-29 - lavc 57.12.100 / 57.8.0 - avcodec.h
xxxxxx - Deprecate av_free_packet(). Use av_packet_unref() as replacement,
it resets the packet in a more consistent way.
xxxxxx - Deprecate av_dup_packet(), it is a no-op for most cases.
* @{
*/
-#define LIBAVUTIL_VERSION_MAJOR 55
-#define LIBAVUTIL_VERSION_MINOR 3
-#define LIBAVUTIL_VERSION_MICRO 0
+#define LIBAVUTIL_VERSION_MAJOR 55
- #define LIBAVUTIL_VERSION_MINOR 7
++#define LIBAVUTIL_VERSION_MINOR 8
+#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
LIBAVUTIL_VERSION_MINOR, \
int main(void)
{
AVXTEA ctx;
- uint8_t buf[8], iv[8];
- int i;
+ uint8_t buf[16], iv[8];
+ int i, j;
- const uint8_t src[32] = "HelloWorldHelloWorldHelloWorld";
+ static const uint8_t src[32] = "HelloWorldHelloWorldHelloWorld";
uint8_t ct[32];
uint8_t pl[32];
/* decrypt into pl */
memcpy(iv, "HALLO123", 8);
- test_xtea(&ctx, pl, ct, src, 4, iv, 1, "CBC decryption");
+ test_xtea(&ctx, pl, ct, src, 4, iv, 1, "CBC decryption", av_xtea_crypt);
memcpy(iv, "HALLO123", 8);
- test_xtea(&ctx, ct, ct, src, 4, iv, 1, "CBC inplace decryption");
+ test_xtea(&ctx, ct, ct, src, 4, iv, 1, "CBC inplace decryption", av_xtea_crypt);
}
+
printf("Test encryption/decryption success.\n");
return 0;