Re: [FFmpeg-devel] [PATCH] avutil/twofish: Fixed decryption

2021-08-26 Thread Sebastian Kirmayer
ping On Mon, Aug 09, 2021 at 03:26:20AM +0200, Sebastian Kirmayer wrote: > The previous implementation swapped the two halves of the plaintext. The > existing tests only decrypted data with a plaintext of all zeroes, which is > not affected by swapping the halves. Tests which detect the

[FFmpeg-devel] [PATCH] avutil/twofish: Fixed decryption

2021-08-08 Thread Sebastian Kirmayer
The previous implementation swapped the two halves of the plaintext. The existing tests only decrypted data with a plaintext of all zeroes, which is not affected by swapping the halves. Tests which detect the old buggy behavior have been added. Signed-off-by: Sebastian Kirmayer --- libavutil