Module: kamailio
Branch: master
Commit: 300da5c5a166be6724ebe14be29ac97d029c535f
URL: 
https://github.com/kamailio/kamailio/commit/300da5c5a166be6724ebe14be29ac97d029c535f

Author: Henning Westerholt <h...@gilawa.com>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2025-06-18T10:34:52Z

core: improve random number generator initialization

- move seeding of cryptographic randomness generator for system randomness to 
the specific generator
- improve seeding of children random number generators by using individual 
initialized secure generators
- don't add predictable values like system time or process pid to the seed 
values of children generators

---

Modified: src/core/pt.c
Modified: src/core/rand/cryptorand.c
Modified: src/core/rand/cryptorand.h
Modified: src/core/rand/fortuna/fortuna.c
Modified: src/core/rand/fortuna/fortuna.h
Modified: src/core/rand/fortuna/random.c
Modified: src/core/rand/fortuna/random.h
Modified: src/main.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/300da5c5a166be6724ebe14be29ac97d029c535f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/300da5c5a166be6724ebe14be29ac97d029c535f.patch

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to