1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 09:27:59 +02:00

Remove unnecessary muts

This fixes some warnings because `SHA256` isn't a struct anymore.
This commit is contained in:
disarray2077 2022-01-02 01:12:13 -03:00 committed by GitHub
parent 794bab2bfd
commit 3018a6030e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ namespace System.Security.Cryptography
mData = .(?);
}
void Transform() mut
void Transform()
{
uint32 a, b, c, d, e, f, g, h, i, j, t1, t2;
uint32[64] m = ?;
@ -177,7 +177,7 @@ namespace System.Security.Cryptography
mState[7] += h;
}
public void Update(Span<uint8> data) mut
public void Update(Span<uint8> data)
{
for (int i = 0; i < data.Length; ++i)
{
@ -192,7 +192,7 @@ namespace System.Security.Cryptography
}
}
public SHA256Hash Finish() mut
public SHA256Hash Finish()
{
int i = mDataLen;