mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibTLS: Switch to Hash::Manager for hashing and add SHA1
Now we can talk to google.com
This commit is contained in:
parent
43a49f5fff
commit
bb46e5f608
6 changed files with 157 additions and 95 deletions
|
@ -85,6 +85,8 @@ public:
|
|||
};
|
||||
inline virtual void reset() override
|
||||
{
|
||||
m_data_length = 0;
|
||||
m_bit_length = 0;
|
||||
for (auto i = 0; i < 5; ++i)
|
||||
m_state[i] = SHA1Constants::InitializationHashes[i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue