Commit 23581bbf authored by schmitting's avatar schmitting
Browse files

Transport/Tunnel mode distinction added to AUTH req/rsp test steps

parent 4a4eb2c1
Loading
Loading
Loading
Loading
+150 −74

File changed.

Preview size limit exceeded, changes collapsed.

+25 −3
Changes for ttcn3/EtsiLibrary/LibIpv6/LibSec/LibIpv6_Rfc4306Ikev2_Templates.ttcn: 25 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@
		superset ( mw_securityAssociationIkePL, mw_noncePL, mw_keyExchangePL);

		template IkePayloadList mw_ikeSaInitRsp_Notify :=
		superset ( mw_notifyPL);
		superset ( mw_notifyAnyPL);

		template IkePayloadList mw_encryptedPLL(template IkePayloadList p_ikepayloads) :=
		{ mw_encryptedPL(p_ikepayloads) };
@@ -313,11 +313,19 @@
		template IkePayloadList mw_ikeAuthReqPLL :=
		superset ( mw_securityAssociationPL, mw_idInitiatorPL, mw_tsInitiatorPL, mw_tsResponderPL, mw_authPL);

		template IkePayloadList mw_ikeAuthReqTransportModePLL :=
		superset ( mw_securityAssociationPL, mw_idInitiatorPL, mw_tsInitiatorPL, 
				   mw_tsResponderPL, mw_authPL, mw_notifyPL(c_notifyUseTransportMode));

		template IkePayloadList mw_ikeAuthRspPLL :=
		superset ( mw_securityAssociationPL, mw_idResponderPL, mw_tsInitiatorPL, mw_tsResponderPL, mw_authPL);

		template IkePayloadList mw_ikeAuthRspTransportModePLL :=
		superset ( mw_securityAssociationPL, mw_idResponderPL, mw_tsInitiatorPL,
				   mw_tsResponderPL, mw_authPL, mw_notifyPL(c_notifyUseTransportMode));

		template IkePayloadList mw_ikeAuthRsp_Notify :=
		superset ( mw_notifyPL);
		superset ( mw_notifyAnyPL);

		}//end group payLoadListTemplates

@@ -624,7 +632,21 @@ group payloadTemplates {
		} 


		template IkePayload mw_notifyPL := {
		template IkePayload mw_notifyPL(UInt16 p_notifyMessageType) := {
			notify := {
				nextPayload       := ?,
				criticalFlag      := 0,
				reserved          := ?,
				payloadLength     := ?,
				protocolId        := ?,
				spiSize           := ?,
				notifyMessageType := p_notifyMessageType,
				spi               := *,
				data              := *
			}
		} 

template IkePayload mw_notifyAnyPL := {
			notify := {
				nextPayload       := ?,
				criticalFlag      := 0,