X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fsec%2Frandom.c;h=5fa8ef35b5080bb3e07eb585136f6a61e6359e48;hb=ffd7d10e14c5205d7c93dbe7b260727ec3cf5d28;hp=69f3fed3b4392f6dcc80b4f16d6fca99bc83b062;hpb=955a6b6d683b2958afaab6f3b2afacc188656681;p=bertos.git diff --git a/bertos/sec/random.c b/bertos/sec/random.c index 69f3fed3..5fa8ef35 100644 --- a/bertos/sec/random.c +++ b/bertos/sec/random.c @@ -53,8 +53,8 @@ /* Configuration of the random module */ /********************************************************************************/ -#define POOL_CONTEXT PP_CAT(PP_CAT(PRNG_NAME, CONFIG_RANDOM_POOL), Context) -#define POOL_INIT PP_CAT(PP_CAT(PRNG_NAME, CONFIG_RANDOM_POOL), _init) +#define POOL_CONTEXT PP_CAT(PP_CAT(PRNG_NAMEU, CONFIG_RANDOM_POOL), Context) +#define POOL_INIT PP_CAT(PP_CAT(PRNG_NAMEL, CONFIG_RANDOM_POOL), _init) #define EXTRACTOR_STACKINIT PP_CAT(PP_CAT(EXTRACTOR_NAME, CONFIG_RANDOM_EXTRACTOR), _stackinit) @@ -68,7 +68,7 @@ #if CONFIG_RANDOM_POOL != POOL_NONE static POOL_CONTEXT epool_ctx; -static EntropyPool_Context * const epool = (EntropyPool_Context *)&epool_ctx; +static EntropyPool * const epool = (EntropyPool *)&epool_ctx; #endif static PRNG_CONTEXT prng_ctx;