encryption libraries not working
Hi everybody
I'm trying to use the encryption libraries
with an STM32F4Discovery board.However, the function HASH_SHA1 is not obtaining
the hash value, it only got zero.I am using this code to obtain the hash:
==========================================
uint8_t arrdata[50]; //filled in HID interface uint8_t arrsha1[20];RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_HASH, ENABLE);
HASH_SHA1(arrdata, 50, arrsha1);
========================================== arrsha1 always got zeroes.I've traced the HASH_SHA1 function, and I feel it is working correctly
However, I can't see where in the library is the HASH computed,
as the function only read the value from an array...Do you know if the encryuption libraries can be used with the
STM32F4Discovery board?Brisa
#hash-sha1-encryption