Change in osmo-ttcn3-hacks[master]: L3_Common: extend the AuthVector to contain AUTS

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Sep 12 07:39:09 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10767 )

Change subject: L3_Common: extend the AuthVector to contain AUTS
......................................................................

L3_Common: extend the AuthVector to contain AUTS

AUTS is used in the UMTS AKA resync procedure.

Change-Id: Id1afa47778e6220cab375ae4b54b251801724fdb
---
M library/L3_Common.ttcn
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/library/L3_Common.ttcn b/library/L3_Common.ttcn
index bf7818a..57db6b3 100644
--- a/library/L3_Common.ttcn
+++ b/library/L3_Common.ttcn
@@ -11,7 +11,11 @@
 	OCT16 ik,
 	OCT16 ck,
 	OCT16 autn,
-	OCT8 res
+	OCT8 res,
+	/* auts is usally calculated from autn + rand on the MS.
+	 * To simplify the test case, auts is generated instead calculated here.
+	 */
+	OCT14 auts
 }
 
 private function f_rnd_oct(integer len) return octetstring {
@@ -37,6 +41,7 @@
 	vec.ck := f_rnd_oct(16);
 	vec.autn := f_rnd_oct(16);
 	vec.res := f_rnd_oct(8);
+	vec.auts := f_rnd_oct(14);
 	return vec;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/10767
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id1afa47778e6220cab375ae4b54b251801724fdb
Gerrit-Change-Number: 10767
Gerrit-PatchSet: 5
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180912/125ab699/attachment.htm>


More information about the gerrit-log mailing list