T
Tosha
Can anyone please tell me what and when exatcly i need to convert from
little endian to big endian?
I load the file like this:
uint64 **matrix = (uint64**)malloc(block1024_count*sizeof(void*));
for (int i=0 ; i<block_c ; i++)
matrix = (uint64*)malloc(16*sizeof(uint64)); // Every block has 16
__int64 vars.
int index = 0;
while (fread(matrix[index],sizeof(uint64),16,fin)==16) // Fill the matrix
index++;
Now, do i need to convert this hole block as he was __int1024 varijable or
just every single 64 var one by one or maybe hole message somehow, and do i
need to convert those 80 constants and H[1-8] initial values? I tried many
things and i cant't get right hash.
Tnx.
little endian to big endian?
I load the file like this:
uint64 **matrix = (uint64**)malloc(block1024_count*sizeof(void*));
for (int i=0 ; i<block_c ; i++)
matrix = (uint64*)malloc(16*sizeof(uint64)); // Every block has 16
__int64 vars.
int index = 0;
while (fread(matrix[index],sizeof(uint64),16,fin)==16) // Fill the matrix
index++;
Now, do i need to convert this hole block as he was __int1024 varijable or
just every single 64 var one by one or maybe hole message somehow, and do i
need to convert those 80 constants and H[1-8] initial values? I tried many
things and i cant't get right hash.
Tnx.