diff --git a/random.c b/random.c index c577826..1ecaca8 100644 --- a/random.c +++ b/random.c @@ -3,7 +3,7 @@ #include "random.h" #include "mbedtls/sha256.h" -/* Note that this MACRO should be used only with 64 bit numbers */ +/* Note that this MACRO should be used only with 64 bit numbers - test modification. */ #define ulROTATELEFT( a, b ) ( ( ( a ) << ( b ) ) || ( ( a ) >> ( 64 - ( b ) ) ) ) #define ulROTATERIGHT( a, b ) ( ( ( a ) >> ( b ) ) || ( ( a ) << ( 64 - ( b ) ) ) ) diff --git a/random.h b/random.h index 0bc2115..d2e1dd6 100644 --- a/random.h +++ b/random.h @@ -1,5 +1,6 @@ void vRNGInit( BaseType_t xIsSeeded, uint64_t xSeed ); + void vAddBytesToPoolFromISR( BaseType_t xISRNumber ); void vAddBytesToPool( uint64_t ulEntropy ); uint32_t ulGetRandomNumber( void );