Title

  Test IKEv2.EN.I.1.1.6.1: Cryptographic Algorithm Negotiation for IKE_SA
  Part D: Integrity Algorithm AUTH_AES_XCBC_96 (ADVANCED)


Purpose

  To verify an IKEv2 device properly handles the Initial Exchanges using Pre-Shared key.


References

  * [RFC 4306] - Sections 2.7 and 3.3


Test Setup

  * Network Topology
      Connect the devices according to the Common Topology.
  * Configuration
      From part A to part E, configure the devices according to the Common
      Configuration except for Italic parameters.
IKE_SA_INIT exchanges Algorithms
Encryption PRF Integrity D-H Group
Part D ENCR_3DES PRF_HMAC_SHA1 AUTH_AES_XCBC_96 Group 2
  * Pre-Sequence and Cleanup Sequence
      IKEv2 on the NUT is disabled after each part.


Procedure

   NUT                  TN1
(End-Node)           (End-Node)
    |                    |
    |------------------->| IKE_SA_INIT request (HDR, SAi1, KEi, Ni)
    |                    | (Judgement #1)
    |<-------------------| IKE_SA_INIT Response (HDR, SAr1, KEr, Nr)
    |                    | (Packet #1)
    |                    |
    |------------------->| IKE_AUTH request (HDR, SK {IDi, AUTH, N, SAi2, TSi, TSr})
    |                    | (Judgement #2)
    |                    |
    V                    V
   
 N: USE_TRANSPORT_MODE
Packet #1 See Common Packet #2
  Part D: Integrity Algorithm AUTH_AES_XCBC_96 (ADVANCED)
      13. NUT starts to negotiate with TN1 by sending IKE_SA_INIT request.
      14. Observe the messages transmitted on Link A.
      15. TN1 responds with an IKE_SA_INIT response to the NUT.
      16. Observe the messages transmitted on Link A.


Observable Result

  Part D
    Step 14: Judgment #1
      The NUT transmits an IKE_SA_INIT request including "ENCR_3DES",
      "PRF_HMAC_SHA1", "AUTH_AES_XCBC_96" and "D-H group 2" as proposed
      algorithms.
  
    Step 16: Judgment #2
      The NUT transmits an IKE_AUTH request which is cryptographically protected by the
      proposed algorithms in Step 13.


Possible Problems

  * None.