Change in osmo-ttcn3-hacks[master]: bsc: add TC_ciph_mode_a5_4

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/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Jun 15 13:19:07 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24672 )


Change subject: bsc: add TC_ciph_mode_a5_4
......................................................................

bsc: add TC_ciph_mode_a5_4

Establish a Signalling channel with A5/4 encryption.

Related: SYS#5324
Change-Id: I2428c21663dfa7d67e769da0127f74e8c01dfb97
---
M bsc/BSC_Tests.ttcn
M bsc/expected-results.xml
2 files changed, 13 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/72/24672/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index b9e6bfd..a5fc999 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -3326,7 +3326,18 @@
 	vc_conn.done;
 	f_shutdown_helper();
 }
+/* Establish a Signalling channel with A5/4 encryption. */
+testcase TC_ciph_mode_a5_4() runs on test_CT {
+	var MSC_ConnHdlr vc_conn;
+	var TestHdlrParams pars := f_gen_test_hdlr_pars();
+	pars.encr := valueof(t_EncrParams('10'O, f_rnd_octstring(8), f_rnd_octstring(16)));
 
+	f_init(1, true);
+	f_sleep(1.0);
+	vc_conn := f_start_handler(refers(f_tc_ciph_mode_a5), pars);
+	vc_conn.done;
+	f_shutdown_helper();
+}
 /* establish initial channel, enable ciphering followed by assignment to ciphered channel */
 private function f_tc_assignment_aoip_tla_v6(charstring id) runs on MSC_ConnHdlr {
 	var template PDU_BSSAP exp_compl := f_gen_exp_compl();
@@ -8860,6 +8871,7 @@
 	execute( TC_ciph_mode_a5_0() );
 	execute( TC_ciph_mode_a5_1() );
 	execute( TC_ciph_mode_a5_3() );
+	execute( TC_ciph_mode_a5_4() );
 
 	execute( TC_assignment_codec_fr() );
 	execute( TC_assignment_codec_fr_by_mode_modify() );
diff --git a/bsc/expected-results.xml b/bsc/expected-results.xml
index f91de19..ab1a9e4 100644
--- a/bsc/expected-results.xml
+++ b/bsc/expected-results.xml
@@ -51,6 +51,7 @@
   <testcase classname='BSC_Tests' name='TC_ciph_mode_a5_0' time='MASKED'/>
   <testcase classname='BSC_Tests' name='TC_ciph_mode_a5_1' time='MASKED'/>
   <testcase classname='BSC_Tests' name='TC_ciph_mode_a5_3' time='MASKED'/>
+  <testcase classname='BSC_Tests' name='TC_ciph_mode_a5_4' time='MASKED'/>
   <testcase classname='BSC_Tests' name='TC_assignment_codec_fr' time='MASKED'/>
   <testcase classname='BSC_Tests' name='TC_assignment_codec_hr' time='MASKED'/>
   <testcase classname='BSC_Tests' name='TC_assignment_codec_efr' time='MASKED'/>

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24672
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2428c21663dfa7d67e769da0127f74e8c01dfb97
Gerrit-Change-Number: 24672
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210615/123b3108/attachment.htm>


More information about the gerrit-log mailing list