triplets calculation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Thu Nov 1 09:17:22 UTC 2012


On Thu, Nov 01, 2012 at 10:01:39AM +0100, Holger Hans Peter Freyther wrote:
> On Wed, Oct 31, 2012 at 04:43:51PM +0100, Yann R. Moupinda wrote:
> What is the error you get? The Ki you present is 17 bytes but it must
> be 16 bytes. 

I assume you copied the keys out of the sqlite3 database. OsmoNITB is
using 'DBI' (a database abstraction library) to access the database and
they encode BLOBs. You will need to use the _dbd_decode_binary[1] routine
to turn this data into your Ki.

holger

[1] http://libdbi.sourceforge.net/docs/driver-guide/helperfuncs.html#INTERNAL-DBD-DECODE-BINARY




More information about the OpenBSC mailing list