shaka-packager/packager/media
Cosmin Stejerean db59ad582a
fix: remove extra block assumptions in mbedtls integration (#1323)
The current mbedtls integration was not working for some modes. See for
example #1316 and also lots of failing integration tests.

For example in pattern encryptor it works on one block at a time so it
cannot assume it's going to always get a buffer with a padding for an
extra block.

From what I can tell when the padding mode is correctly set to
`MBEDTLS_PADDING_NONE` there is no extra block being written to or
required.

This passes all crypto unit tests and integration tests.

Closes #1316
2024-02-08 10:16:52 -08:00
..
base fix: remove extra block assumptions in mbedtls integration (#1323) 2024-02-08 10:16:52 -08:00
chunking feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
codecs feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
crypto feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
demuxer feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
event feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
formats test: fix fake clock for muxer for integration tests (#1322) 2024-02-08 09:49:15 -08:00
origin feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
replicator feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
test feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
trick_play feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
CMakeLists.txt feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00