vjutvik/Contiki-IPsec — pull request #1 by tcheneau (2013-11-15 19:45:01+00:00)
Title: Make gen_random() random

random_init() effectively calls srand() that reset the seed for the pseudo-random sequence. Because it is used within a loop, it will cause all the NN_DIGIT of a to be equal.

Hope it helps.

Regards,
Tony