changes for compiling interrupt_entropy.c and added -DVX69_TIMESTAMP_ENTROPY_SUPPORT in vxworks.krnl.mak (#55)

Co-authored-by: neelimap <neelimaps@neominds.in>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/55
Co-authored-by: Neelima P S <neelima.ps@neominds.in>
Co-committed-by: Neelima P S <neelima.ps@neominds.in>
This commit is contained in:
2026-07-30 20:21:09 +05:30
committed by neelimap
co-authored by neelimap
parent f751232bee
commit 3ba5304f22
3 changed files with 2 additions and 13 deletions
@@ -1,6 +1,6 @@
$COMMON=rand_unix.c rand_win.c rand_tsc.c
IF[{- $config{target} =~ /vxworks/i -}]
$COMMON=$COMMON rand_vxworks.c
$COMMON=$COMMON rand_vxworks.c interrupt_entropy.c
ENDIF
IF[{- $config{target} =~ /vms/i -}]
$COMMON=$COMMON rand_vms.c
@@ -145,17 +145,6 @@ UINT8* collectEntropyFromInterruptJitter(void) {
UINT8 *result = NULL;
/*neelimaps*/
sysTimestampEnable();
UINT32 tick;
unsigned long freq;
/* 2. Get the timestamp value */
tick = sysTimestamp();
/* 3. Print it - Note: %u for unsigned int */
printf("sysTimestamp = %u ticks in %s\n", tick, __func__);
/*neelimaps*/
/* Allocate collector structure (in task context - OK to use malloc) */
collector = (EntropyCollector*)malloc(sizeof(EntropyCollector));
@@ -30,7 +30,7 @@ VX_CFLAGS += -mcpu=cortex-a7
endif
endif
OPENSSL_CPPFLAGS = -DOPENSSL_SYS_VXWORKS_SUPPORT -DOPENSSL_NO_THREAD_POOL
OPENSSL_CPPFLAGS = -DOPENSSL_SYS_VXWORKS_SUPPORT -DOPENSSL_NO_THREAD_POOL -DVX69_TIMESTAMP_ENTROPY_SUPPORT
OPENSSL_CONFIGURE_OPTIONS = no-shared