library/GSUP: Add tr templates for tr_GSUP_IE_AuthTuple2G3G() and subfields

Change-Id: I39babec53f89c11b9a822939af7267aa1111dc8b
diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn
index 818f830..d874862 100644
--- a/library/GSUP_Types.ttcn
+++ b/library/GSUP_Types.ttcn
@@ -379,6 +379,29 @@
 	}
 }
 
+template GSUP_IE tr_GSUP_IE_AuthTuple2G3G(
+					template (present) octetstring rand := ?,
+					template (present) octetstring sres := ?,
+					template (present) octetstring kc := ?,
+					template (present) octetstring ik := ?,
+					template (present) octetstring ck := ?,
+					template (present) octetstring autn := ?,
+					template (present) octetstring res := ?) := {
+	tag := OSMO_GSUP_AUTH_TUPLE_IE,
+	len := ?,
+	val := {
+		auth_tuple := {
+			tr_GSUP_IE_RAND(rand),
+			tr_GSUP_IE_SRES(sres),
+			tr_GSUP_IE_Kc(kc),
+			tr_GSUP_IE_IK(ik),
+			tr_GSUP_IE_CK(ck),
+			tr_GSUP_IE_AUTN(autn),
+			tr_GSUP_IE_RES(res)
+		}
+	}
+}
+
 template GSUP_IE ts_GSUP_IE_AuthTuple2G3G(octetstring rand, octetstring sres,
 				          octetstring kc, octetstring ik,
 					  octetstring ck, octetstring autn,
@@ -721,7 +744,7 @@
 	}
 }
 
-template GSUP_IE tr_GSUP_IE_RAND(template octetstring rand) := {
+template GSUP_IE tr_GSUP_IE_RAND(template octetstring rand := ?) := {
 	tag := OSMO_GSUP_RAND_IE,
 	len := ?,
 	val := {
@@ -729,6 +752,14 @@
 	}
 }
 
+template (present) GSUP_IE tr_GSUP_IE_SRES(template (present) octetstring sres := ?) := {
+	tag := OSMO_GSUP_SRES_IE,
+	len := ?,
+	val := {
+		sres := sres
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_SRES(octetstring sres) := {
 	tag := OSMO_GSUP_SRES_IE,
 	len := 0, /* overwritten */
@@ -737,6 +768,14 @@
 	}
 }
 
+template (present) GSUP_IE tr_GSUP_IE_Kc(template (present) octetstring kc := ?) := {
+	tag := OSMO_GSUP_KC_IE,
+	len := ?,
+	val := {
+		kc := kc
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_Kc(octetstring kc) := {
 	tag := OSMO_GSUP_KC_IE,
 	len := 0, /* overwritten */
@@ -745,6 +784,14 @@
 	}
 }
 
+template (present) GSUP_IE tr_GSUP_IE_IK(template (present) octetstring ik := ?) := {
+	tag := OSMO_GSUP_IK_IE,
+	len := ?,
+	val := {
+		ik := ik
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_IK(octetstring ik) := {
 	tag := OSMO_GSUP_IK_IE,
 	len := 0, /* overwritten */
@@ -753,6 +800,14 @@
 	}
 }
 
+template (present) GSUP_IE tr_GSUP_IE_CK(template (present) octetstring ck := ?) := {
+	tag := OSMO_GSUP_CK_IE,
+	len := ?,
+	val := {
+		ck := ck
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_CK(octetstring ck) := {
 	tag := OSMO_GSUP_CK_IE,
 	len := 0, /* overwritten */
@@ -761,6 +816,14 @@
 	}
 }
 
+template (present) GSUP_IE tr_GSUP_IE_AUTN(template (present) octetstring autn := ?) := {
+	tag := OSMO_GSUP_AUTN_IE,
+	len := ?,
+	val := {
+		autn := autn
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_AUTN(octetstring autn) := {
 	tag := OSMO_GSUP_AUTN_IE,
 	len := 0, /* overwritten */
@@ -769,6 +832,14 @@
 	}
 }
 
+template (present) GSUP_IE tr_GSUP_IE_RES(template (present) octetstring res := ?) := {
+	tag := OSMO_GSUP_RES_IE,
+	len := ?,
+	val := {
+		res := res
+	}
+}
+
 template (value) GSUP_IE ts_GSUP_IE_RES(octetstring res) := {
 	tag := OSMO_GSUP_RES_IE,
 	len := 0, /* overwritten */