[MPlayer-dev-eng] [PATCH] Zattoo

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Mar 10 14:35:56 CET 2007


Hello,
On Sat, Mar 10, 2007 at 02:04:37PM +0100, Vladimir Serbinenko wrote:
[...]
> > 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
>
> And what to do with RSA?

Well, that's not really related, is it?
The AES code in libavutil is always available, small, and tested in
productive use with high-bitrate multimedia content.
The API seems quite a bit more straight-forward as well.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list