{
  "slug": "xts-aes",
  "term": "XTS-AES",
  "aliases": [
    "AES-XTS"
  ],
  "definition": "XTS-AES is a tweakable AES mode for fixed-length storage data units that provides confidentiality without data expansion and without authenticating the data.",
  "note": "NIST SP 800-38E approves XTS-AES as specified in IEEE Std 1619-2007 with one added rule: a data unit shall not exceed 2^20 AES blocks, which is 16 MiB. Ciphertext stealing lets a data unit end in a partial block, and the key is 256 bits for XTS-AES-128 and 512 bits for XTS-AES-256. [nist-xts] The Linux dm-crypt target encrypts 512-byte sectors by default and accepts a sector_size from 512 to 4096 bytes that is a power of two. [dm-crypt-doc] A NIST planning note dated 3 September 2026 announced an initial public draft of Revision 1, open for comment until 16 October 2026, while the 2010 publication remains the listed final version. [nist-status]",
  "status": "shipping",
  "advantages": [
    {
      "text": "Without data expansion, each encrypted data unit occupies the same space as its plaintext, so no extra per-sector metadata area is required.",
      "citationIds": [
        "nist-xts"
      ]
    },
    {
      "text": "Among the approved confidentiality-only modes, it offers more protection against unauthorized manipulation of the encrypted data.",
      "citationIds": [
        "nist-xts"
      ]
    }
  ],
  "limitations": [
    {
      "text": "XTS-AES alone does not establish that stored content is authentic or current.",
      "citationIds": [
        "nist-xts"
      ]
    },
    {
      "text": "Implementations may restrict key sizes or data-unit lengths, which can prevent interoperability with other implementations.",
      "citationIds": [
        "nist-xts"
      ]
    }
  ],
  "related": [
    "dm-crypt",
    "luks",
    "authenticated-encryption",
    "checksum"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "nist-xts",
      "title": "NIST SP 800-38E (2010): XTS-AES approval, data-unit limit and authentication boundary, sections 3-5",
      "url": "https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38e.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "nist-status",
      "title": "NIST SP 800-38E publication record and Revision 1 planning note",
      "url": "https://csrc.nist.gov/pubs/sp/800/38/e/final",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-encryption",
      "title": "Hesela: Encryption is not authentication",
      "url": "https://hesela.com/analyses/checksums-identity-and-lost-writes/#encryption-boundaries",
      "accessed": "2026-10-15"
    },
    {
      "id": "dm-crypt-doc",
      "title": "Linux kernel documentation. dm-crypt: cipher specification and sector_size parameter.",
      "url": "https://docs.kernel.org/admin-guide/device-mapper/dm-crypt.html",
      "accessed": "2026-10-23"
    }
  ],
  "updated": "2026-10-23",
  "provenance": [
    "nist-xts is SP 800-38E, read in sections 3 to 5 for the approval scope, data-unit limit, key sizes and authentication boundary.",
    "dm-crypt-doc is the Linux kernel dm-crypt documentation, read for the cipher specification format and the sector_size parameter.",
    "nist-status is the CSRC publication page, read for the planning note on Revision 1.",
    "The 16 MiB figure is computed from 2^20 blocks of 16 bytes and is not stated in the source."
  ]
}
