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 <lyn...@fe80.eu>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to