NVMe/TCP digest
An NVMe/TCP digest is an optional CRC32C error-detection value protecting a protocol data unit's header or data after negotiation at connection establishment.
Header and data digests are negotiated separately through the HDGST_ENABLE and DDGST_ENABLE bits of the ICReq and ICResp PDUs, and a host that receives a digest it did not request treats the ICResp as a fatal transport error. Alignment padding is not protected by either digest; with 64-byte data alignment, a 24-byte header without a header digest is followed by 40 padding bytes. [1]
CRCs can detect accidental alteration but cannot authenticate data against an attacker who can recompute the code. [2]
The Linux connect tool at v2.11 provides distinct header-digest, data-digest and TLS options; a requested option is not by itself evidence of the negotiated connection state. [3]
Relations
- related
- NVMe/TCP, NVMe over Fabrics, Checksum, Authenticated encryption, End-to-end data protection, CRC burst error
Advantages
- Header protection can be enabled without computing a data digest on every data PDU, because the two are negotiated independently. [1]
Limitations
- If the controller declines a requested digest, the host may still refuse or keep the connection, so the outcome depends on host policy. [1]
Citations
- NVM Express NVMe over TCP Transport 1.3, sections 2, 3.1, 3.2, 3.3.1.1 and 3.6
- RFC 3385, section 10: CRCs do not protect against intentional alteration
- nvme-cli v2.11: nvme-connect digest and TLS options
Sources & caveats
- Protocol scope: TCP Transport 1.3. No hardware error rate, cryptographic guarantee or end-to-end persistence result is inferred.
- tcp was re-read 2026-10-23 at section 3.3 on digests and padding, including the 128-byte alignment ceiling and the 64-byte example. connect is nvme-connect at v2.11.
- The merkle-tree entry links here because a hash tree can authenticate content against a trusted root, which a recomputable CRC cannot.