Patch Set 2: agreeing with Holger. Let's seed the regular libc rand() with some randomness at program start, and then generate TMSI or other random identiifers from that. The function for that should then verify that the initializtaion was actually performed (so applications cannot forget about that) and the name should include something like omso_get_rand_id() to imply that this is about random identifiers, and not key-generation-grade randomness.
-- To view, visit https://gerrit.osmocom.org/1526 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I0241b814ea4c4ce1458f7ad76e31d390383c2048 Gerrit-PatchSet: 2 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max <[email protected]> Gerrit-Reviewer: Harald Welte <[email protected]> Gerrit-Reviewer: Holger Freyther <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <[email protected]> Gerrit-Reviewer: Neels Hofmeyr <[email protected]> Gerrit-HasComments: No
