Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hie,

I am using IHash_Update() to feed stream data.

But I am getting differnt differnt IHash_Result as per the stream size I set for in IHash_Update().

:(

Thanks in advance :) 

are you following correct sequence:-
The result returned are undefined if you call the IHASH functions out of the
usual order of createInstance() IHASH_SetKey(), IHASH_Update() and IHASH_GetResult().

are you following correct sequence:-
The result returned are undefined if you call the IHASH functions out of the
usual order of createInstance() IHASH_SetKey(), IHASH_Update() and IHASH_GetResult().

Sir,
I am using following sequence to create checksum for large data 
IHash_Update() //for first 16 byte
IHash_Restart()
IHash_Update() //for next 16 byte
IHash_Restart()
...IHash_GetResult() // result for all at lastWhere am I wrong ??

Sir,
I am using following sequence to create checksum for large data 
IHash_Update() //for first 16 byte
IHash_Restart()
IHash_Update() //for next 16 byte
IHash_Restart()
...IHash_GetResult() // result for all at lastWhere am I wrong ??

here is the sequence:-
IHASH_SetKey()
IHASH_Update()
IHASH_GetResult()
 
IHASH_Update() can be called multiple times for large sets of data.
 

here is the sequence:-
IHASH_SetKey()
IHASH_Update()
IHASH_GetResult()
 
IHASH_Update() can be called multiple times for large sets of data.