osmo-msc/src/libmsc
Neels Hofmeyr b0779bbcab populate gsm_subscriber_connection->encr during Ciph
The gsm_subscriber_connection->encr is never used. Use it.

When sending the Ciphering Mode Command, populate the encryption key.
When receivint the Ciphering Mode Complete, populate the chosen alg_id.

Out of paranoia, store the enc key only if the size is large enough.

Hence the vty_dump_one_conn() now reports the actually chosen A5 algorithm ID
used.

For 3G connections, though, this will still remain 0 in the VTY, since there is
no explicit A5 algorithm negotiated on UTRAN. (Security Mode Command and
Security Mode Complete instead of the GERAN Ciphering.)

(Note, 'struct gsm_encr encr' will be renamed to 'struct geran_encr geran_encr'
in Idc7ca9da1aa13ae16f5db2cb1024676cbc770820)

Change-Id: Ice2c470c360612249f97301944c6fdf9443c7dce
2018-11-30 22:44:23 +01:00
..
Makefile.am Remove local libgsupclient; Use libosmo-gsup-client from osmo-hlr 2018-08-05 11:20:21 +02:00
a_iface.c A5/n Ciph: request Classmark Update if missing 2018-09-17 02:08:07 +02:00
a_iface_bssap.c osmo_msc: remove unused parameter from msc_dtap() 2018-11-23 10:04:29 +00:00
a_reset.c a_reset: cleanup + remove dead code 2018-05-17 20:14:01 +00:00
ctrl_commands.c cosmetic: remove forgotten debug printf 2018-11-08 11:10:15 +01:00
db.c libmsc/db.c: cosmetic: mark missing breaks in switch as intended 2018-11-21 19:48:16 +07:00
gsm_04_08.c populate gsm_subscriber_connection->encr during Ciph 2018-11-30 22:44:23 +01:00
gsm_04_08_cc.c drop unused gsm_subscr_conn->mncc_rtp_bridge 2018-11-30 04:49:12 +01:00
gsm_04_11.c libmsc/gsm_04_11.c: fix: always use SAPI 3 for MT SMS 2018-11-30 19:43:28 +00:00
gsm_04_14.c remove bsc_api.h and all users - they're all dead code 2018-02-14 00:28:02 +01:00
gsm_04_80.c Fix build with latest libosmocore 2018-11-19 09:48:22 +00:00
gsm_09_11.c libmsc/gsm_09_11.c: drop redundant assertion of stored msgb 2018-11-28 17:01:29 +00:00
gsm_subscriber.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
iu_dummy.c iucs: Add a function to return the connection ID for the IU SCCP conn 2018-02-16 08:09:32 +00:00
iucs.c osmo_msc: remove unused parameter from msc_dtap() 2018-11-23 10:04:29 +00:00
iucs_ranap.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
mncc.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
mncc_builtin.c drop unused gsm_network->handover.active 2018-11-30 04:56:59 +01:00
mncc_sock.c libmsc/mncc_sock.c: Add lchan_type_offset in queue_hello() 2018-08-10 14:31:30 +00:00
msc_ifaces.c refactor subscr_conn and subscr_conn_fsm de-/alloc 2018-04-11 21:39:44 +00:00
msc_mgcp.c msc_mgcp: move mncc struct initalization to where its actually needed 2018-10-08 17:18:37 +02:00
msc_vty.c libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
osmo_msc.c populate gsm_subscriber_connection->encr during Ciph 2018-11-30 22:44:23 +01:00
rrlp.c RRLP: print log when sending a position request 2018-08-05 22:42:04 +07:00
silent_call.c Remove unused GSM_PAGING_OOM 2018-04-24 11:35:37 +02:00
smpp_openbsc.c libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
smpp_smsc.c smpp_smsc_conf: Fix heap-use-after-free 2018-04-17 16:10:35 +02:00
smpp_smsc.h libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
smpp_utils.c dissolve libcommon: drop debug.c 2018-03-22 17:05:42 +01:00
smpp_vty.c vty: skip installing cmds now always installed by default 2017-11-01 00:51:21 +01:00
sms_queue.c libmsc/gsm_04_11.c: refactor MT SMS message handling 2018-11-29 02:54:54 +07:00
subscr_conn.c adjust copyright in subscr_conn.c 2018-11-30 22:44:23 +01:00
transaction.c libmsc/transaction: introduce trans_find_by_sm_rp_mr() 2018-11-29 02:54:54 +07:00