2015-02-27 08:48 AM
Dear all,
In Cube version of STM32F4, there is a strange code.In PolarSSL/SSL_Client/Src/main.c => RandVal()Is there a reason to use ''&&'' instead of ''&'' in the following line:*(output + offset) = HAL_RNG_GetRandomNumber(&RngHandle)&&
0xFFFFFF00;I suppose the developper made a mistake.The second question is: why do we have to zero out the 8-bit LSB of the RNG value ? #stm32f4 #rng