shaka-packager/packager
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
..
app fix: duration formatting and update mpd testdata to reflect new format (#1320) 2024-02-08 09:48:14 -08:00
file feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
hls feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
kv_pairs feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
macros feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
media fix: remove extra block assumptions in mbedtls integration (#1323) 2024-02-08 10:16:52 -08:00
mpd fix: duration formatting and update mpd testdata to reflect new format (#1320) 2024-02-08 09:48:14 -08:00
status feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
testing feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
third_party feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
tools feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
utils fix: preserve case for stream descriptors (#1321) 2024-02-08 09:48:46 -08:00
version 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
flag_saver.h feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
gtest.cmake feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
packager.cc test: fix fake clock for muxer for integration tests (#1322) 2024-02-08 09:49:15 -08:00
packager.pc.in feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
packager_test.cc feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
policies.cmake feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00
protobuf.cmake feat!: Rewrite build system and third-party dependencies (#1310) 2023-12-01 09:32:19 -08:00