AUC: use osmo_hexparse() when reading key material from db

The database stores the key material as hex-ascii, we thus need to go
through osmo_hexparse() when reading.  We could also store the material
as BLOB in the database.  That would however complicate matters, as it
would basically mean using the sqlite3 command to manually
inspect/modify data from the console would no longer be easily possible.

Using this commit I have 2G authentication working against osmo-sgsn
with GSUP and 'auth policy remote'.
1 file changed
tree: 90d6b125286c0bd9da53ad32bad6244ec913dd5d
  1. sql/
  2. src/
  3. .gitignore