mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 09:27:59 +02:00
Remove unnecessary mut
s
This fixes some warnings because `SHA256` isn't a struct anymore.
This commit is contained in:
parent
794bab2bfd
commit
3018a6030e
1 changed files with 3 additions and 3 deletions
|
@ -134,7 +134,7 @@ namespace System.Security.Cryptography
|
||||||
mData = .(?);
|
mData = .(?);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Transform() mut
|
void Transform()
|
||||||
{
|
{
|
||||||
uint32 a, b, c, d, e, f, g, h, i, j, t1, t2;
|
uint32 a, b, c, d, e, f, g, h, i, j, t1, t2;
|
||||||
uint32[64] m = ?;
|
uint32[64] m = ?;
|
||||||
|
@ -177,7 +177,7 @@ namespace System.Security.Cryptography
|
||||||
mState[7] += h;
|
mState[7] += h;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Update(Span<uint8> data) mut
|
public void Update(Span<uint8> data)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < data.Length; ++i)
|
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;
|
int i = mDataLen;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue