Fixes when using the STM32 with STM32F2_HASH defined.
This commit is contained in:
parent
255d9ecfb3
commit
2aab090c8b
@ -64,6 +64,7 @@
|
||||
* document (See note in README).
|
||||
*/
|
||||
#include "stm32f2xx.h"
|
||||
#include "stm32f2xx_hash.h"
|
||||
|
||||
void wc_InitMd5(Md5* md5)
|
||||
{
|
||||
|
@ -136,7 +136,7 @@ int wc_ShaUpdate(Sha* sha, const byte* data, word32 len)
|
||||
/* append partial to existing stored block */
|
||||
XMEMCPY((byte*)sha->buffer + sha->buffLen, data, len);
|
||||
sha->buffLen += len;
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user