mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05: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. |
||
---|---|---|
.. | ||
ASN1 | ||
Authentication | ||
BigInt | ||
Checksum | ||
Cipher | ||
Curves | ||
Hash | ||
NumberTheory | ||
PK | ||
CMakeLists.txt | ||
Forward.h | ||
Verification.h |