[MPlayer-dev-eng] [PATCH] Zattoo

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Mar 10 13:39:49 CET 2007


Hello,
On Sat, Mar 10, 2007 at 11:26:22AM +0100, Vladimir Serbinenko wrote:
> +  EVP_DecryptInit(&ctx, EVP_aes_128_cbc(), 
> +		  DATA(stream)->keys[headl2.kselector],
> +		  headl2.iv);
> +  EVP_DecryptUpdate (&ctx, obuf, &olen, packet+sizeof(struct l2_header),
> +		     packet_size-sizeof(struct l2_header));
> +  EVP_DecryptFinal(&ctx,obuf+olen,&t);

Please use the AES functions from libavutil/aes.h

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list