rfc-2410

The NULL Encryption Algorithm and Its Use With IPsec

R. Glenn, S. Kent
date1998-11 streamIETF areasec wgipsec statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc2410 doi10.17487/RFC2410 errataview
This memo defines the NULL encryption algorithm and its use with the IPsec Encapsulating Security Payload (ESP). [STANDARDS-TRACK]

Extracted elements (11)

design-rationale §2.2

Because of the stateless nature of the NULL encryption algorithm, it is not necessary to transmit an IV or similar cryptographic synchronization data on a per-packet or per-SA basis.

ipsec, vpn, crypto

design-rationale §1

ESP_NULL differs from AH in that it does not include the IP header when calculating authentication data. This can be useful for providing IPsec services through non-IP network devices.

ipsec, vpn, ip, security

design-rationale §2

NULL encryption is defined as the identity function NULL(b) = I(b) = b, providing a convenient way to represent the option of not applying encryption within ESP. This allows ESP to provide authentication and integrity without confidentiality.

ipsec, vpn, crypto, security

design-rationale §2.3

NULL has a block size of 1 byte, so padding is not necessary. This is a direct consequence of the identity function definition.

ipsec, vpn, crypto

interoperability-note §3

ESP_NULL is identified as ESP_NULL in the IPsec DOI [RFC 2407]. The key size and IV size are both mandated to be zero bits to ensure interoperability across implementations.

ipsec, vpn, security

normative-requirement §3 MUST

For purposes of IKE key extraction, the key size for the NULL algorithm MUST be zero (0) bits to facilitate interoperability and avoid potential export control problems.

ipsec, vpn, crypto

normative-requirement §3 MAY

Padding MAY be included on outgoing packets as specified in [ESP].

ipsec, vpn

normative-requirement §3 MUST

To facilitate interoperability, the IV size for the NULL algorithm MUST be zero (0) bits.

ipsec, vpn, crypto

protocol-element §2

NULL is defined as a block cipher with a block size of 1 byte using the identity function. It supports keys of varying lengths, though no measurable security increase comes from longer keys.

ipsec, vpn, crypto

security-consideration §4

The NULL encryption algorithm offers no confidentiality nor any other security service. ESP_NULL is considered no less secure than AH when using the same authentication algorithm, but an ESP SA MUST specify at least one cryptographically strong encryption or authentication algorithm.

ipsec, vpn, security, crypto

security-consideration §4

While encryption and authentication are individually optional in ESP, it is imperative that an ESP SA specifies the use of at least one cryptographically strong encryption algorithm or one cryptographically strong authentication algorithm or one of each.

ipsec, vpn, security