summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* osmo-auc-gen: Fix compiler warnings about aliasingHolger Hans Peter Freyther2014-06-221-4/+7
| | | | | | | | | | | | | | | | | | | I ran "./utils/osmo-auc-gen -2 -a COMP128v1" and verified that the RAND doen't look empty Fixes: osmo-auc-gen.c: In function ‘main’: osmo-auc-gen.c:219:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)&_rand[0] = rand(); ^ osmo-auc-gen.c:220:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(&_rand[4]) = rand(); ^ osmo-auc-gen.c:221:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(&_rand[8]) = rand(); ^ osmo-auc-gen.c:222:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(&_rand[12]) = rand();
* utils: Fix compiler warnings n the osmo-auc-gen utilityHolger Hans Peter Freyther2013-07-141-1/+3
| | | | | | | osmo-auc-gen.c:217:3: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] osmo-auc-gen.c:249:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ [-Wformat] Fixes: Coverity CID 1040668
* osmo-arfcn: Return something from the methodHolger Hans Peter Freyther2013-04-211-0/+1
| | | | This is a fatal error when building RPMs for OpenSUSE.
* build: Don't use the deprecated INCLUDES in the various Makefile.amSylvain Munaut2012-12-111-1/+2
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* utils/osmo-arfcn: Implement option to get ARFCN from frequencySylvain Munaut2012-12-111-1/+32
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* osmo-arfcn: add support for PCS bandHarald Welte2012-12-061-6/+13
|
* actually install osmo-arfcn and osmo-auc-gen as part of 'make install'Harald Welte2012-11-161-1/+1
|
* Add missing includes to timer_test.c and osmo-auc-gen.cHarald Welte2012-08-021-0/+1
| | | | | | This fixes the build with -Werror-implicit-function-declaration. taken from malformatted patch of Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
* osmo-auc-gen: Add "-I" mode for generating triplets.dat for strongswanHarald Welte2012-06-271-3/+23
| | | | | | If you want to use eap-sim-file with strongswan, you need a triplets.dat file in a specific format. osmo-auc-gen can now generate the respective format automatically.
* osmo-auc-gen: Add mode for verifying user-supplied AUTSHarald Welte2012-03-221-14/+25
| | | | | When -A is used on the command line, the respective AUTS value will be validated and the SQN of the UICC printed.
* update copyright noticeHarald Welte2012-03-211-2/+2
|
* osmo-auc-gen: Add -O to the getop line to make it workHolger Hans Peter Freyther2012-03-211-1/+1
|
* auth_milenage/osmo-auc-gen: compute OPC in case only OP is knownHarald Welte2012-03-211-0/+12
|
* osmo-auc-gen: Introduce a small cmdline help/referenceHarald Welte2012-03-211-1/+26
|
* auth_core: don't use anonymous unions to make certain gcc versions happyHarald Welte2011-12-071-10/+10
|
* add 'osmo-auc-gen' tool that can be used to generate auth vectorsHarald Welte2011-12-072-1/+187
| | | | | | Thsi tool usses libosmocore in order to generate 2G and 3G authentication vectors from private key material, exactly like an AuC would produce them in a real network.
* Added autoconf option for utilities and embeddedjob2011-09-021-0/+2
|
* add script to generate http://www.osmocom.org/doc tree structureHarald Welte2011-08-201-0/+14
|
* add new 'osmo-arfcn' program to compute frequency based on arfcnHarald Welte2011-08-022-0/+108
The freq -> arfcn side still needs to be implemented.