[vlc-devel] [PATCH 04/48] hls: Support encryption

Jean-Paul Saman jpsaman at videolan.org
Tue Jan 10 13:08:02 CET 2012


2012/1/10 Rémi Denis-Courmont <remi at remlab.net>:
> On Tue, 10 Jan 2012 11:38:25 +0100, Jean-Paul Saman <jpsaman at videolan.org>
> wrote:
>> make this psz_AES_key[AES_BLOCK_SIZE]; since it depends on the define
>> above.
>
> Why? Block size and key size are different things.
>

You are right.

However in the code it says:

memcpy(seg->psz_AES_key, aeskey, AES_BLOCK_SIZE);

which is ikky.

Kind regards,
Jean-Paul Saman.
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list