AUTOSAR Requirements on IPsec Protocol

Requirement: IPsec shall be supported according to IETF RFC 4301 RS_IPSEC_00001 ../../_images/arrow-right-circle.svg

Description:

IPsec shall be supported according to IETF RFC 4301. Limitation: all requirements related to tunnel mode are optional, e.g. section 5.1.2, 7.1 and 7.2.

Rationale: To enable secured communication over IP

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4301 [5]

Requirement: The IP Authentication Header (AH) shall be supported according to IETF RFC 4302 RS_IPSEC_00002 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec

Description:

The IP Authentication Header (AH) shall be implemented in the TCP/IP stack as stated in IETF RFC 4302. Limitation: Section 3.1.2, related to tunnel mode, may or may not be implemented.

Rationale: To enable secured communication over IP

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4302 [6]

Requirement: IP Encapsulating Security Payload (ESP) shall be supported according to IETF RFC 4303 RS_IPSEC_00003 ../../_images/arrow-right-circle.svg

Description:

The IP Encapsulating Security Payload (ESP) shall be implemented in the TCP/IP stack as stated in IETF RFC 4303. Limitation: Any section related to tunnel mode, may or may not be implemented, e.g. section 3.1.2.

Rationale: To enable secured communication over IP

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4303 [7]

Requirement: The Internet Key Exchange (IKEv2) Protocol shall be supported according to IETF RFC 7296 RS_IPSEC_00004 ../../_images/arrow-right-circle.svg

Description:

The Internet Key Exchange (IKEv2) Protocol shall be implemented in the TCP/IP stack as stated in IETF RFC 7296. The old IKEv1 shall not be supported. Limitation: Support is limited to scenario 1.1.2 Endpoint-to-Endpoint Transport.

Rationale: To enable secured communication over IP.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 7296 [8]

Requirement: Extended sequence numbers (ESN) for AH and ESP shall be supported according to IETF RFC 4304 RS_IPSEC_00005 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec

Description:

Extended sequence numbers (ESN) for AH and ESP shall be supported according to IETF RFC 4304.

Rationale: To enable secured communication over IP.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 4304 [9]

Requirement: If encryption is used in IPsec, authentication shall be used as well RS_IPSEC_00006 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec

Description:

If encryption is used in IPsec, authentication shall be used as well according to IETF RFC 8221 section 4.

Rationale: Unauthenticated encryption is insecure.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 8221 [10]

Requirement: Pre-shared keys (PSK) may be used in combination with IKEv2 RS_IPSEC_00007 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00004

Description:

Pre-shared keys (PSK) may be used in combination with IKEv2.

Rationale: Makes slightly faster startup possible, compared to using digital signatures, but at the cost of additional key management.

Use Case: In-vehicle secure communication.

Supporting Material:

Requirement: Pre-shared keys (PSK) shall not be used for directly setting up IPsec security associations (SAs) RS_IPSEC_00008 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00001

Description:

Pre-shared keys (PSK) shall not be used for directly setting up IPsec security associations (SAs). See IETF RFC 8221 section 3.

Rationale: Using PSKs to set up SAs directly would break many security features like perfect forward secrecy and make replay attacks easier.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 8221 [10]

Requirement: Counter mode encryption algorithms shall not be used in combination with pre-shared keys when setting up SAs directly RS_IPSEC_00009 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00001

Description:

Counter mode encryption algorithms, e.g. ENCR_AES_CCM_16 and ENCR_AES_GCM_16, shall not be used in combination with pre-shared keys when setting up SAs directly according to IETF RFC 8221 section 3.

Rationale: Counter mode algorithms break even more security assumptions than RS_IPSEC_00008.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 8221 [10]

Requirement: IKEv2 shall support periodic reauthentication and rekeying RS_IPSEC_00010 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec

Description:

IKEv2 shall support periodic reauthentication and rekeying of the IKEv2 communication partners according to IETF RFC 7296 section 1.3.2 and 1.3.3.

Rationale: Considered good security practice, limits usefulness of stolen keys to shorter time periods.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 7296 [8]

Requirement: IKEv2 shall support a seamless handover of exchanged keys RS_IPSEC_00011 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00004

Description:

IKEv2 shall support a seamless handover of exchanged keys according to IETF RFC 7296 section 2.8. That means, during rekeying or reauthentication it should create new overlapping SAs first before it deletes the old SAs (“make before break”), so that the service is not interrupted. IETF RFC 4478 may be supported.

Rationale: To avoid service interruption during rekeying phases.

Dependencies: RS_IPSEC_00004

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 7296 [8]

  • IETF RFC 4478 [11]

Requirement: IKEv2 shall gracefully delete all SAs on shutdown and rebuild the deleted SAs immediately after the next startup RS_IPSEC_00012 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00004

Description:

IKEv2 shall gracefully delete all SAs on shutdown according to IETF RFC 7296 section 1.4.1 and rebuild the deleted SAs immediately after the next startup.

Rationale: To keep the stateless properties of IPsec while minimizing service interruptions.

Use Case: In-vehicle secure communication.

Supporting Material:

  • IETF RFC 7296 [8]

Requirement: IKEv2 shall support dead peer detection RS_IPSEC_00013 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00004

Description:

IKEv2 shall use dead peer detection according to IETF RFC 7296 section 2.4. IETF RFC 3706 may be supported.

Rationale:

Bandwidth management, to avoid sending data to dead peers.

Use Case:

In-vehicle secure communication.

Supporting Material:

IETF RFC 7296 [8], IETF RFC 3706 [12]

Requirement: IKEv2 shall support authentication based on X.509v3 certificates with digital signatures RS_IPSEC_00014 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec

Description:

IKEv2 shall support authentication based on X.509v3 certificates with digital signatures according to IETF RFC 7427.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 7427 [13]

Requirement: IPsec shall support the following authentication algorithm: AES Galois Message Authentication Code with 256 bit keys RS_IPSEC_00015 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec shall support the following authentication algorithm: AES Galois Message Authentication Code (AUTH_AES_256_GMAC) with 256 bit keys according to IETF RFC 4543.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4543 [14]

Requirement: IPsec shall support the following authentication algorithm: AES Cipher-based Message Authentication Code with 128 bit keys RS_IPSEC_00016 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec shall support the following authentication algorithm: AES Cipher-based Message Authentication Code (AUTH_AES_CMAC_96) with 128 bit keys according to IETF RFC 4494.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4494 [15]

Requirement: IPsec shall support the following encryption algorithm: AES Galois/Counter Mode with 256 bit keys and an integrity check value (ICV) of 16 octets RS_IPSEC_00017 ../../_images/arrow-right-circle.svg
status: draft
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec shall support the following encryption algorithm: AES Galois/Counter Mode (ENCR_AES_GCM_16) with 256 bit keys and an integrity check value (ICV) of 16 octets according to IETF RFC 4106.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4106 [16]

Requirement: IPsec shall support the following encryption algorithm: AES in Counter with CBC-Mac Mode with 256 bit keys and an integrity check value (ICV) of 16 octets RS_IPSEC_00018 ../../_images/arrow-right-circle.svg
status: draft
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec shall support the following encryption algorithm: AES in Counter with CBC-Mac Mode (ENCR_AES_CCM_16) with 256 bit keys and an integrity check value (ICV) of 16 octets according to IETF RFC 4309.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4309 [17]

Requirement: IPsec and IKEv2 shall support the following cryptographic suite: Suite-B-GMAC-256. If NULL encryption is used, authentication shall be provided by AH instead of ESP RS_IPSEC_00019 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec and IKEv2 shall support the following cryptographic suite: Suite-B-GMAC-256 according to IETF RFC 6379 section 3.4. If NULL encryption is used, authentication shall be provided by AH instead of ESP.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 6379 [18]

Requirement: IPsec and IKEv2 shall support the following cryptographic suite: Suite-B-GMAC-128. If NULL encryption is used, authentication shall be provided by AH instead of ESP RS_IPSEC_00020 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec and IKEv2 shall support the following cryptographic suite: Suite-B-GMAC-128 according to IETF RFC 6379 section 3.3. If NULL encryption is used, authentication shall be provided by AH instead of ESP.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 6379 [18]

Requirement: All algorithms which are classified as "MUST" in IETF RFC 8247 shall be supported by IKEv2 RS_IPSEC_00021 ../../_images/arrow-right-circle.svg
status: draft
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

All algorithms which are classified as “MUST” in IETF RFC 8247 shall be supported by IKEv2. Algorithms classified as “MUST-” or lower may be supported.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 8247 [19]

Requirement: IPsec’s Security Policy Database (SPD) shall be configurable for IPs, IP ranges, protocols, ports and port ranges RS_IPSEC_00022 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication
depends on: RS_IPSEC_00001

Description:

IPsec’s Security Policy Database (SPD) shall be configurable for IPs, IP ranges, protocols, ports and port ranges according to IETF RFC 4301 section 4.4.1.1.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4301 [5]

Requirement: IPsec’s Security Policy Database (SPD) default behavior shall be BYPASS RS_IPSEC_00023 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
depends on: RS_IPSEC_00001

Description:

IPsec’s Security Policy Database (SPD) default behavior shall be BYPASS, that is not to use IPsec. That means, for any TCP/IP endpoints, for which no configuration can be found in the SPD, the traffic shall pass through without IPsec protections.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

Requirement: IPsec shall not be used to protect the following ports: 500/UDP and 4500/UDP: used by IKEv2 RS_IPSEC_00024 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication
depends on: RS_IPSEC_00001

Description: IPsec shall not be used to protect the following ports: 500/UDP and 4500/UDP: used by IKEv2.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Requirement: IPsec’s Peer Authorization Database (PAD) shall be configurable for use with X.509v3 RS_IPSEC_00025 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication

Description:

IPsec’s Peer Authorization Database (PAD) shall be configurable for use with X.509v3 certificates according to IETF RFC 4301 section 4.4.3.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

IETF RFC 4301 [5]

Requirement: IPsec’s Peer Authorization Database (PAD) shall be configurable for use with pre-shared keys (PSK) RS_IPSEC_00026 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication
depends on: RS_IPSEC_00004

Description:

IPsec’s Peer Authorization Database (PAD) shall be configurable for use with pre-shared keys (PSK).

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

Requirement: It shall be possible to define the priority order of the algorithms used by IKEv2 during the IKE_INIT negotiations RS_IPSEC_00027 ../../_images/arrow-right-circle.svg
status: open
tags: autosar, autosar_ipsec
use_case: In-vehicle secure communication
depends on: RS_IPSEC_00004

Description:

IKEv2 will be used to negotiate which algorithms are used during the IKEv2 INIT phase. It shall be possible, but not required, to set a priority ordering of the algorithms which can be used.

Rationale: Support industry security standard

Use Case: In-vehicle secure communication

Supporting Material:

Traceability

ID

Title

Status

Type

Outgoing

Tags

RS_IPSEC_00001

IPsec shall be supported according to IETF RFC 4301

open

req

autosar; autosar_ipsec

RS_IPSEC_00002

The IP Authentication Header (AH) shall be supported according to IETF RFC 4302

open

req

autosar; autosar_ipsec

RS_IPSEC_00003

IP Encapsulating Security Payload (ESP) shall be supported according to IETF RFC 4303

draft

req

autosar; autosar_ipsec

RS_IPSEC_00004

The Internet Key Exchange (IKEv2) Protocol shall be supported according to IETF RFC 7296

open

req

autosar; autosar_ipsec

RS_IPSEC_00005

Extended sequence numbers (ESN) for AH and ESP shall be supported according to IETF RFC 4304

open

req

autosar; autosar_ipsec

RS_IPSEC_00006

If encryption is used in IPsec, authentication shall be used as well

open

req

autosar; autosar_ipsec

RS_IPSEC_00007

Pre-shared keys (PSK) may be used in combination with IKEv2

open

req

autosar; autosar_ipsec

RS_IPSEC_00008

Pre-shared keys (PSK) shall not be used for directly setting up IPsec security associations (SAs)

open

req

autosar; autosar_ipsec

RS_IPSEC_00009

Counter mode encryption algorithms shall not be used in combination with pre-shared keys when setting up SAs directly

open

req

autosar; autosar_ipsec

RS_IPSEC_00010

IKEv2 shall support periodic reauthentication and rekeying

open

req

autosar; autosar_ipsec

RS_IPSEC_00011

IKEv2 shall support a seamless handover of exchanged keys

open

req

autosar; autosar_ipsec

RS_IPSEC_00012

IKEv2 shall gracefully delete all SAs on shutdown and rebuild the deleted SAs immediately after the next startup

open

req

autosar; autosar_ipsec

RS_IPSEC_00013

IKEv2 shall support dead peer detection

open

req

autosar; autosar_ipsec

RS_IPSEC_00014

IKEv2 shall support authentication based on X.509v3 certificates with digital signatures

open

req

autosar; autosar_ipsec

RS_IPSEC_00015

IPsec shall support the following authentication algorithm: AES Galois Message Authentication Code with 256 bit keys

open

req

autosar; autosar_ipsec

RS_IPSEC_00016

IPsec shall support the following authentication algorithm: AES Cipher-based Message Authentication Code with 128 bit keys

open

req

autosar; autosar_ipsec

RS_IPSEC_00017

IPsec shall support the following encryption algorithm: AES Galois/Counter Mode with 256 bit keys and an integrity check value (ICV) of 16 octets

draft

req

autosar; autosar_ipsec

RS_IPSEC_00018

IPsec shall support the following encryption algorithm: AES in Counter with CBC-Mac Mode with 256 bit keys and an integrity check value (ICV) of 16 octets

draft

req

autosar; autosar_ipsec

RS_IPSEC_00019

IPsec and IKEv2 shall support the following cryptographic suite: Suite-B-GMAC-256. If NULL encryption is used, authentication shall be provided by AH instead of ESP

open

req

autosar; autosar_ipsec

RS_IPSEC_00020

IPsec and IKEv2 shall support the following cryptographic suite: Suite-B-GMAC-128. If NULL encryption is used, authentication shall be provided by AH instead of ESP

open

req

autosar; autosar_ipsec

RS_IPSEC_00021

All algorithms which are classified as "MUST" in IETF RFC 8247 shall be supported by IKEv2

draft

req

autosar; autosar_ipsec

RS_IPSEC_00022

IPsec’s Security Policy Database (SPD) shall be configurable for IPs, IP ranges, protocols, ports and port ranges

open

req

autosar; autosar_ipsec

RS_IPSEC_00023

IPsec’s Security Policy Database (SPD) default behavior shall be BYPASS

open

req

autosar; autosar_ipsec

RS_IPSEC_00024

IPsec shall not be used to protect the following ports: 500/UDP and 4500/UDP: used by IKEv2

open

req

autosar; autosar_ipsec

RS_IPSEC_00025

IPsec’s Peer Authorization Database (PAD) shall be configurable for use with X.509v3

open

req

autosar; autosar_ipsec

RS_IPSEC_00026

IPsec’s Peer Authorization Database (PAD) shall be configurable for use with pre-shared keys (PSK)

open

req

autosar; autosar_ipsec

RS_IPSEC_00027

It shall be possible to define the priority order of the algorithms used by IKEv2 during the IKE_INIT negotiations

open

req

autosar; autosar_ipsec

@startuml

' Nodes definition 

node "<size:12>Requirement</size>\n**IPsec shall be**\n**supported**\n**according to**\n**IETF RFC 4301**\n<size:10>RS_IPSEC_00001</size>" as RS_IPSEC_00001 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00001]] #BFD8D2
node "<size:12>Requirement</size>\n**The IP**\n**Authentication**\n**Header (AH)**\n**shall be**\n**supported**\n**according to**\n**IETF RFC 4302**\n<size:10>RS_IPSEC_00002</size>" as RS_IPSEC_00002 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00002]] #BFD8D2
node "<size:12>Requirement</size>\n**IP**\n**Encapsulating**\n**Security**\n**Payload (ESP)**\n**shall be**\n**supported**\n**according to**\n**IETF RFC 4303**\n<size:10>RS_IPSEC_00003</size>" as RS_IPSEC_00003 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00003]] #BFD8D2
node "<size:12>Requirement</size>\n**The Internet**\n**Key Exchange**\n**(IKEv2)**\n**Protocol shall**\n**be supported**\n**according to**\n**IETF RFC 7296**\n<size:10>RS_IPSEC_00004</size>" as RS_IPSEC_00004 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00004]] #BFD8D2
node "<size:12>Requirement</size>\n**Extended**\n**sequence**\n**numbers (ESN)**\n**for AH and ESP**\n**shall be**\n**supported**\n**according to**\n**IETF RFC 4304**\n<size:10>RS_IPSEC_00005</size>" as RS_IPSEC_00005 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00005]] #BFD8D2
node "<size:12>Requirement</size>\n**If encryption**\n**is used in**\n**IPsec,**\n**authentication**\n**shall be used**\n**as well**\n<size:10>RS_IPSEC_00006</size>" as RS_IPSEC_00006 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00006]] #BFD8D2
node "<size:12>Requirement</size>\n**Pre-shared keys**\n**(PSK) may be**\n**used in**\n**combination**\n**with IKEv2**\n<size:10>RS_IPSEC_00007</size>" as RS_IPSEC_00007 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00007]] #BFD8D2
node "<size:12>Requirement</size>\n**Pre-shared keys**\n**(PSK) shall not**\n**be used for**\n**directly**\n**setting up**\n**IPsec security**\n**associations**\n**(SAs)**\n<size:10>RS_IPSEC_00008</size>" as RS_IPSEC_00008 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00008]] #BFD8D2
node "<size:12>Requirement</size>\n**Counter mode**\n**encryption**\n**algorithms**\n**shall not be**\n**used in**\n**combination**\n**with pre-shared**\n**keys when**\n**setting up SAs**\n**directly**\n<size:10>RS_IPSEC_00009</size>" as RS_IPSEC_00009 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00009]] #BFD8D2
node "<size:12>Requirement</size>\n**IKEv2 shall**\n**support**\n**periodic reauth**\n**entication and**\n**rekeying**\n<size:10>RS_IPSEC_00010</size>" as RS_IPSEC_00010 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00010]] #BFD8D2
node "<size:12>Requirement</size>\n**IKEv2 shall**\n**support a**\n**seamless**\n**handover of**\n**exchanged keys**\n<size:10>RS_IPSEC_00011</size>" as RS_IPSEC_00011 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00011]] #BFD8D2
node "<size:12>Requirement</size>\n**IKEv2 shall**\n**gracefully**\n**delete all SAs**\n**on shutdown and**\n**rebuild the**\n**deleted SAs**\n**immediately**\n**after the next**\n**startup**\n<size:10>RS_IPSEC_00012</size>" as RS_IPSEC_00012 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00012]] #BFD8D2
node "<size:12>Requirement</size>\n**IKEv2 shall**\n**support dead**\n**peer detection**\n<size:10>RS_IPSEC_00013</size>" as RS_IPSEC_00013 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00013]] #BFD8D2
node "<size:12>Requirement</size>\n**IKEv2 shall**\n**support**\n**authentication**\n**based on**\n**X.509v3**\n**certificates**\n**with digital**\n**signatures**\n<size:10>RS_IPSEC_00014</size>" as RS_IPSEC_00014 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00014]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec shall**\n**support the**\n**following**\n**authentication**\n**algorithm: AES**\n**Galois Message**\n**Authentication**\n**Code with 256**\n**bit keys**\n<size:10>RS_IPSEC_00015</size>" as RS_IPSEC_00015 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00015]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec shall**\n**support the**\n**following**\n**authentication**\n**algorithm: AES**\n**Cipher-based**\n**Message**\n**Authentication**\n**Code with 128**\n**bit keys**\n<size:10>RS_IPSEC_00016</size>" as RS_IPSEC_00016 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00016]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec shall**\n**support the**\n**following**\n**encryption**\n**algorithm: AES**\n**Galois/Counter**\n**Mode with 256**\n**bit keys and an**\n**integrity check**\n**value (ICV) of**\n**16 octets**\n<size:10>RS_IPSEC_00017</size>" as RS_IPSEC_00017 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00017]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec shall**\n**support the**\n**following**\n**encryption**\n**algorithm: AES**\n**in Counter with**\n**CBC-Mac Mode**\n**with 256 bit**\n**keys and an**\n**integrity check**\n**value (ICV) of**\n**16 octets**\n<size:10>RS_IPSEC_00018</size>" as RS_IPSEC_00018 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00018]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec and IKEv2**\n**shall support**\n**the following**\n**cryptographic**\n**suite: Suite-B-**\n**GMAC-256. If**\n**NULL encryption**\n**is used,**\n**authentication**\n**shall be**\n**provided by AH**\n**instead of ESP**\n<size:10>RS_IPSEC_00019</size>" as RS_IPSEC_00019 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00019]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec and IKEv2**\n**shall support**\n**the following**\n**cryptographic**\n**suite: Suite-B-**\n**GMAC-128. If**\n**NULL encryption**\n**is used,**\n**authentication**\n**shall be**\n**provided by AH**\n**instead of ESP**\n<size:10>RS_IPSEC_00020</size>" as RS_IPSEC_00020 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00020]] #BFD8D2
node "<size:12>Requirement</size>\n**All algorithms**\n**which are**\n**classified as**\n**"MUST" in IETF**\n**RFC 8247 shall**\n**be supported by**\n**IKEv2**\n<size:10>RS_IPSEC_00021</size>" as RS_IPSEC_00021 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00021]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec’s**\n**Security Policy**\n**Database (SPD)**\n**shall be**\n**configurable**\n**for IPs, IP**\n**ranges,**\n**protocols,**\n**ports and port**\n**ranges**\n<size:10>RS_IPSEC_00022</size>" as RS_IPSEC_00022 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00022]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec’s**\n**Security Policy**\n**Database (SPD)**\n**default**\n**behavior shall**\n**be BYPASS**\n<size:10>RS_IPSEC_00023</size>" as RS_IPSEC_00023 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00023]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec shall not**\n**be used to**\n**protect the**\n**following**\n**ports: 500/UDP**\n**and 4500/UDP:**\n**used by IKEv2**\n<size:10>RS_IPSEC_00024</size>" as RS_IPSEC_00024 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00024]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec’s Peer**\n**Authorization**\n**Database (PAD)**\n**shall be**\n**configurable**\n**for use with**\n**X.509v3**\n<size:10>RS_IPSEC_00025</size>" as RS_IPSEC_00025 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00025]] #BFD8D2
node "<size:12>Requirement</size>\n**IPsec’s Peer**\n**Authorization**\n**Database (PAD)**\n**shall be**\n**configurable**\n**for use with**\n**pre-shared keys**\n**(PSK)**\n<size:10>RS_IPSEC_00026</size>" as RS_IPSEC_00026 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00026]] #BFD8D2
node "<size:12>Requirement</size>\n**It shall be**\n**possible to**\n**define the**\n**priority order**\n**of the**\n**algorithms used**\n**by IKEv2 during**\n**the IKE_INIT**\n**negotiations**\n<size:10>RS_IPSEC_00027</size>" as RS_IPSEC_00027 [[../reqs/autosar/autosar_ipsec.html#RS_IPSEC_00027]] #BFD8D2

' Connection definition 

RS_IPSEC_00002 --> RS_IPSEC_00001: depends on
RS_IPSEC_00003 --> RS_IPSEC_00001: depends on
RS_IPSEC_00004 --> RS_IPSEC_00001: depends on
RS_IPSEC_00005 --> RS_IPSEC_00002: depends on
RS_IPSEC_00005 --> RS_IPSEC_00003: depends on
RS_IPSEC_00006 --> RS_IPSEC_00001: depends on
RS_IPSEC_00007 --> RS_IPSEC_00004: depends on
RS_IPSEC_00008 --> RS_IPSEC_00001: depends on
RS_IPSEC_00009 --> RS_IPSEC_00001: depends on
RS_IPSEC_00010 --> RS_IPSEC_00004: depends on
RS_IPSEC_00011 --> RS_IPSEC_00004: depends on
RS_IPSEC_00012 --> RS_IPSEC_00004: depends on
RS_IPSEC_00013 --> RS_IPSEC_00004: depends on
RS_IPSEC_00014 --> RS_IPSEC_00004: depends on
RS_IPSEC_00015 --> RS_IPSEC_00002: depends on
RS_IPSEC_00015 --> RS_IPSEC_00003: depends on
RS_IPSEC_00015 --> RS_IPSEC_00004: depends on
RS_IPSEC_00016 --> RS_IPSEC_00002: depends on
RS_IPSEC_00016 --> RS_IPSEC_00003: depends on
RS_IPSEC_00016 --> RS_IPSEC_00004: depends on
RS_IPSEC_00017 --> RS_IPSEC_00003: depends on
RS_IPSEC_00017 --> RS_IPSEC_00004: depends on
RS_IPSEC_00018 --> RS_IPSEC_00003: depends on
RS_IPSEC_00018 --> RS_IPSEC_00004: depends on
RS_IPSEC_00019 --> RS_IPSEC_00003: depends on
RS_IPSEC_00019 --> RS_IPSEC_00004: depends on
RS_IPSEC_00020 --> RS_IPSEC_00003: depends on
RS_IPSEC_00020 --> RS_IPSEC_00004: depends on
RS_IPSEC_00021 --> RS_IPSEC_00004: depends on
RS_IPSEC_00022 --> RS_IPSEC_00001: depends on
RS_IPSEC_00023 --> RS_IPSEC_00001: depends on
RS_IPSEC_00024 --> RS_IPSEC_00001: depends on
RS_IPSEC_00025 --> RS_IPSEC_00001: depends on
RS_IPSEC_00025 --> RS_IPSEC_00004: depends on
RS_IPSEC_00026 --> RS_IPSEC_00004: depends on
RS_IPSEC_00027 --> RS_IPSEC_00004: depends on

@enduml

AUTOSAR IPsec