This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 4b2b0cc15d51d7916a939de06a7e83d8042211dc (commit)
from 81dc67d03f9e1881a6115be51cd92956f5932e43 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=4b2b0cc15d51d7916a939de06a7e…
commit 4b2b0cc15d51d7916a939de06a7e83d8042211dc
Author: Max <msuraev(a)sysmocom.de>
Date: Mon Jul 10 14:32:48 2017 +0200
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
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 3 +++
include/osmocom/gsm/gsm_utils.h | 5 +++++
src/gsm/gsm_utils.c | 48 +++++++++++++++++++++++++++++++++++++++++
src/gsm/libosmogsm.map | 1 +
utils/osmo-auc-gen.c | 14 ++++++------
5 files changed, 63 insertions(+), 8 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications