mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 04:07:02 -06:00
4.59 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
3901bf0ab8
commit
173c07e166
@@ -1,7 +1,7 @@
|
||||
/* Crypto/Sha256.c -- SHA-256 Hash function
|
||||
2008-03-24
|
||||
2008-08-05
|
||||
This code is based on public domain code from Wei Dai's Crypto++ library.
|
||||
Igor Pavlov
|
||||
Igor Pavlov
|
||||
Public domain */
|
||||
|
||||
#include "Sha256.h"
|
||||
@@ -151,7 +151,7 @@ static void Sha256_WriteByteBlock(CSha256 *p)
|
||||
UInt32 data32[16];
|
||||
unsigned i;
|
||||
for (i = 0; i < 16; i++)
|
||||
data32[i] =
|
||||
data32[i] =
|
||||
((UInt32)(p->buffer[i * 4 ]) << 24) +
|
||||
((UInt32)(p->buffer[i * 4 + 1]) << 16) +
|
||||
((UInt32)(p->buffer[i * 4 + 2]) << 8) +
|
||||
|
||||
Reference in New Issue
Block a user