summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/random_isaac.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-06 17:28:12 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-05-06 16:29:00 +0000
commit4a251d0a9c6a6a5981b6bc6500994fa9b8f1c43c (patch)
tree71c103981c8d1528e7d410cb84380bf0f2f18e72 /src/vppinfra/random_isaac.c
parent2c4acdd8d47a14867d9658debc674323efc78323 (diff)
vppinfra: fix tests
Type: fix Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/random_isaac.c')
-rw-r--r--src/vppinfra/random_isaac.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vppinfra/random_isaac.c b/src/vppinfra/random_isaac.c
index 6f00fc32424..ad7a272b7c1 100644
--- a/src/vppinfra/random_isaac.c
+++ b/src/vppinfra/random_isaac.c
@@ -68,8 +68,8 @@
*(r++) = b = ind32(mm,y>>ISAAC_LOG2_SIZE) + x; \
}
-void
-isaac (isaac_t * ctx, uword * results)
+__clib_export void
+isaac (isaac_t *ctx, uword *results)
{
u32 a, b, c, x, y, *m, *mm, *m2, *r, *mend;
@@ -179,8 +179,8 @@ do { \
h^=a>>9; c+=h; a+=b; \
}
-void
-isaac_init (isaac_t * ctx, uword * seeds)
+__clib_export void
+isaac_init (isaac_t *ctx, uword *seeds)
{
word i;
u32 a, b, c, d, e, f, g, h, *m, *r;
@@ -251,8 +251,8 @@ isaac_init (isaac_t * ctx, uword * seeds)
*(r++) = b = ind64(mm,y>>ISAAC_LOG2_SIZE) + x; \
}
-void
-isaac (isaac_t * ctx, uword * results)
+__clib_export void
+isaac (isaac_t *ctx, uword *results)
{
u64 a, b, c, x, y, *m, *mm, *m2, *r, *mend;
@@ -364,8 +364,8 @@ do { \
h-=d; e^=g<<14; g+=h; \
}
-void
-isaac_init (isaac_t * ctx, uword * seeds)
+__clib_export void
+isaac_init (isaac_t *ctx, uword *seeds)
{
word i;
u64 a, b, c, d, e, f, g, h, *m, *r;