shaka-packager/packager/media
Joey Parrish 7b33f2065f
feat: Port AES and RSA crypto to mbedtls (#1119)
mbedtls works very differently from BoringSSL, and many changes had to
be made in the details of AES decryption to accomodate this.

Beyond the basic changes required for mbedtls, part of the CTS padding
implementation had to be rewritten. I believe this is because of an
assumption that held for BoringSSL, but not for mbedtls. I was unable to
determine what it was, so I rewrote the CTS decryption using reference
materials. After this, tests passed.

The deterministc PRNG I used with mbedtls in the RSA tests differs
somewhat from the old one, so the expected vectors had to be
regenerated. The old determinstic tests were also disabled, and are now
re-enabled.

Since cryptography is sensitive code, and because there were far more
changes needed here than just updating some headers and utility function
calls, this has been split into its own PR for separate review from the
rest of the media/base porting work.

Issue #1047 (CMake porting)
Issue #346 (absl porting)
2022-11-02 08:34:06 -07:00
..
base feat: Port AES and RSA crypto to mbedtls (#1119) 2022-11-02 08:34:06 -07:00
chunking chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
codecs feat: Add xHE-AAC support (#1092) 2022-10-18 10:16:55 -07:00
crypto chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
demuxer chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
event chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
formats chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
origin chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
public feat: port media/public/ (#1117) 2022-10-24 19:08:37 -07:00
replicator chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
test feat: Port AES and RSA crypto to mbedtls (#1119) 2022-11-02 08:34:06 -07:00
trick_play chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
CMakeLists.txt feat: Port AES and RSA crypto to mbedtls (#1119) 2022-11-02 08:34:06 -07:00