libosmocore/include/osmocom/gsm
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
..
protocol add osmo_imsi_str_valid() and osmo_msisdn_str_valid() 2017-10-05 19:44:28 +02:00
a5.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
abis_nm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
apn.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
bitvec_gsm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
comp128.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
comp128v23.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gan.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gea.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm48.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm48_ie.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0341.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0411_smc.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0411_smr.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0411_utils.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0480.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0502.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0808.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0808_utils.h fix map entry and .h declaration for gsm0808_chan_type_to_speech_codec() 2017-06-23 02:55:26 +02:00
gsm23003.h add osmo_imsi_str_valid() and osmo_msisdn_str_valid() 2017-10-05 19:44:28 +02:00
gsm_utils.h Add function to generate random identifier 2017-10-09 10:18:07 +00:00
gsup.h GSUP: define default GSUP port as 4222 2017-07-22 11:31:06 +00:00
ipa.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
kasumi.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
l1sap.h l1sap.h: Add ber10k and lqual_cb to ph_tch_param 2017-06-30 12:06:06 +02:00
lapd_core.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
lapdm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
meas_rep.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
mncc.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
oap.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
prim.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rsl.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rxlev_stat.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
sysinfo.h extend osmo_sysinfo_type with missing SYSINFO_TYPE 2017-07-15 22:49:19 +02:00
tlv.h tlv: add [msgb_]t16lv_put() for 16bit tag + 8 bit len TLVs 2017-08-09 19:02:12 +02:00