mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
Fixes when using the STM32 with STM32F2_HASH defined.
This commit is contained in:
committed by
Jacob Barthelmeh
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user