OSDN Git Service

Add a protocol handler for AES CBC decryption with PKCS7 padding
authorMartin Storsjö <martin@martin.st>
Sat, 22 Jan 2011 23:31:41 +0000 (01:31 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 22 Apr 2011 21:27:10 +0000 (00:27 +0300)
commit6e4f70a8de69884ce0caa8735d7a88915b4391d4
tree3cd02e093e4ab3bb14c2378010b501c4c40f6d40
parentd5c5a1c7e2959a5174522b5ac1d73d5095b8c5a3
Add a protocol handler for AES CBC decryption with PKCS7 padding

This can later be extended to support other AES bit sizes,
encryption, other crypto algorithms, reading the key from a URL, etc.

In order to use it, the key and initialization vector has to be
passed via AVOptions. Since such options can't be passed to
protocols from the command line, the protocol is currently
only for libavformat internal use.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/Makefile
libavformat/allformats.c
libavformat/crypto.c [new file with mode: 0644]