mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
37da5cb3b3
The SHA384 and SHA512 hashes would produce incorrect results for data where the length % 128 was in the range 112-119. This was because the total number of bits in the hashed values was added at the end as a 64-bit number instead of a 128-bit number. In most cases this would not cause any issues, as this space was padded with zeroes, however in the case that the length % 128 was 112-119, some incorrect data ended up where this 128-bit length value was expected. This change fixes the problems in LibTLS where some websites would result in a DecryptError on handshake. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestAES.cpp | ||
TestBigInteger.cpp | ||
TestChecksum.cpp | ||
TestCurves.cpp | ||
TestHash.cpp | ||
TestHMAC.cpp | ||
TestRSA.cpp |