aboutsummaryrefslogtreecommitdiff
path: root/eim/sw/trng_extractor_eim.c
diff options
context:
space:
mode:
Diffstat (limited to 'eim/sw/trng_extractor_eim.c')
-rw-r--r--eim/sw/trng_extractor_eim.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/eim/sw/trng_extractor_eim.c b/eim/sw/trng_extractor_eim.c
index 36e653e..330c153 100644
--- a/eim/sw/trng_extractor_eim.c
+++ b/eim/sw/trng_extractor_eim.c
@@ -59,9 +59,9 @@ int debug = 0; /* for dump() */
// Check availability of avalanche entropy core by reading core name and version.
uint32_t avalanche_check(void)
{
- uint8_t name0[4] = "extn";
- uint8_t name1[4] = "oise";
- uint8_t version[4] = "0.10";
+ uint8_t name0[4] = AVALANCHE_ENTROPY_NAME0;
+ uint8_t name1[4] = AVALANCHE_ENTROPY_NAME1;
+ uint8_t version[4] = AVALANCHE_ENTROPY_VERSION;
printf("Reading name and version words from avalanche_entropy core.\n");
@@ -75,9 +75,9 @@ uint32_t avalanche_check(void)
// check availability of rosc core by reading the core name and version.
uint32_t rosc_check(void)
{
- uint8_t name0[4] = "rosc";
- uint8_t name1[4] = " ent";
- uint8_t version[4] = "0.10";
+ uint8_t name0[4] = ROSC_ENTROPY_NAME0;
+ uint8_t name1[4] = ROSC_ENTROPY_NAME1;
+ uint8_t version[4] = ROSC_ENTROPY_VERSION;
printf("Reading name and version words from rosc_entropy core.\n");