1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

rand: fix typo

This commit is contained in:
Pavol Rusnak 2018-12-18 12:08:49 +01:00
parent 54727e6650
commit b9e8adc160
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

2
rand.c
View File

@ -37,7 +37,7 @@
uint32_t random32(void)
{
// Linear congruential generator used in glibc
// Linear congruential generator from Numerical Recipes
// https://en.wikipedia.org/wiki/Linear_congruential_generator
static uint32_t seed = 0;
seed = 1664525 * seed + 1013904223;