shaka-packager/packager/media/crypto
KongQun Yang 9ecee46658 Fix SAMPLE-AES EC3 encryption
The IV was incorrectly updated across samples.

Created a new cryptor SampleAesEc3Cryptor specially for SAMPLE-AES
EC3 encryption / decryption. The new cryptor uses constant-iv, and
makes sure the IV is reset to the initial value at the beginning
of each audio frame and chained across syncframes within the the
audio frame.

Also added E-AC3 end to end test.

Fixes #279

Change-Id: I0aa60c17836daeef5ba433a05e5ff0906191d9ac
2018-01-24 03:02:49 +00:00
..
crypto.gyp Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
encryption_handler.cc Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
encryption_handler.h Support encrypted E-AC3 in TS 2017-11-13 22:54:07 +00:00
encryption_handler_unittest.cc Rename fixed_key to raw_key 2017-10-24 21:52:01 +00:00
sample_aes_ec3_cryptor.cc Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
sample_aes_ec3_cryptor.h Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
sample_aes_ec3_cryptor_unittest.cc Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00