Other Parts Discussed in Thread: SHA-256
Hi,
I would like to compute the MD5 hash for a file on the embedded file system (SPIFFS) I do access in multiple rounds. While it always works if(!) the file is small and I can read the whole file in one round and call:
MAP_SHAMD5HMACProcess(SHAMD5_BASE, (uint32_t *) ptrRdData, res, (uint32_t *) ucHashResult);
it never works on multiple rounds, where I need to read several blocks of file data from the system. The read buffer is not big enough to hold all the data from the file read in one round.
Q: What do I need to do in order to run the accelerator several times until all blocks read are processed and I do get
the correct hash value?
Markus