libosmocore[master]: Add osmo_rand() function

Harald Welte gerrit-no-reply at
Mon Jan 23 12:19:14 UTC 2017

Patch Set 2:

> Are you sure you want everyone linking to libosmogsm require a full
 > TLS library?

I'm also not very happy with introducing that dependency.  But then, we need proper random numbers in various places, right?  For TMSI/P-TMSI generation in NITB + SGSN, for auth challenge generation in the gsup-hlr.

So yes, TMSI/P-TMSI could do with numbers of a less random quality.  But then, what kind of code do we use for that?

I'm undecided.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I0241b814ea4c4ce1458f7ad76e31d390383c2048
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Holger Freyther <holger at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at>
Gerrit-HasComments: No

More information about the gerrit-log mailing list