libosmocore/utils
Max 4b2b0cc15d Add function to generate random identifier
The function is a wrapper on top of getrandom() (if available via glibc) or
corresponding syscall. If neither is available than failure is always
returned.

It's intended to generate small random data good enough for session
identifiers and keys. To generate long-term cryptographic keys it's
better to use special crypto libraries (like GnuTLS for example)
instead.

As an example it's used to replace old insecure random number generator
in osmo-auc-gen utility.

Change-Id: I0241b814ea4c4ce1458f7ad76e31d390383c2048
Related: OS#1694
2017-10-09 10:18:07 +00:00
..
Makefile.am build: fix distcheck: include gen scripts in EXTRA_DIST 2017-03-20 14:30:43 +01:00
conv_codes_gsm.py libosmocoding: migrate transcoding routines from OsmoBTS 2017-03-07 01:06:38 +07:00
conv_gen.py doxygen: enable AUTOBRIEF, drop \brief 2017-06-23 00:18:22 +00:00
gen_website_doc_tree.sh add script to generate http://www.osmocom.org/doc tree structure 2011-08-20 17:40:08 +02:00
osmo-arfcn.c doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
osmo-auc-gen.c Add function to generate random identifier 2017-10-09 10:18:07 +00:00
osmo-sim-test.c osmo-sim-test.c: Remove unused functions 2017-06-22 18:14:18 +00:00