[Ffmpeg-devel] [RFC] MXF AES decryption

Michael Niedermayer michaelni
Sat Jan 13 18:24:30 CET 2007


Hi

On Sat, Jan 13, 2007 at 02:13:37PM +0100, Reimar D?ffinger wrote:
> Hello,
> updated version.
> Note that it still contains two unrelated hunks:
> the one I sent in "[PATCH] respect type when resolving MXF strong ref"
> and one simplifying klv_decode_ber_length, hope that makes reviewing not
> too inconvenient, if it does just review those before and I'll send a
> new patch after they are applied ;-)
> The key in AVFormatParameters is supposed to be a string for easier
> extensibility and easy way to specify on commandline mostly.

iam unhappy with this, what about per stream keys? and why not simply
pass a uint8_t array? also i hate AVFormatParameters why not use 
AVFormatContext ?


> The current format is just a hex string like "02045a...", 32 characters for
> AES-128 (the only format supported currently).
> IMO openssl should be replaced, it is too bloated for such a simple
> functionality but I'm not yet sure by what, not to mention that I am not
> up to date if it still has such an inconvenient license...

<random bloated crpto lib> dependance for just AES is completely unacceptable
write your own 2 page implementation of AES

see
http://www.iaik.tu-graz.ac.at/research/krypto/AES/old/%7Erijmen/rijndael/rijndaelref.zip

or

http://fp.gladman.plus.com/AES/aes-byte-22-11-06.zip

for 2 somewhat readable implementations ...


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070113/8c399349/attachment.pgp>



More information about the ffmpeg-devel mailing list