Policy and regulation

Powered by QiC Solutions

NewsAI

Policy and regulation

NIST to revise its SP 800-108 key derivation standard after new attacks

NIST is taking comments until 18 December on revising SP 800-108 for key derivation: practical attacks affect several of its constructions.

Redacción · · 3 min

NIST logo: the letters NIST in black
Image: NIST / public domain

Key points

  • NIST is preparing revision 2 of SP 800-108, its recommendation for key derivation with CMAC, HMAC and KMAC, and is taking comments until 18 December.
  • There are practical distinguishers against CMAC-FB and HMAC-FB with some permitted initialisation vectors, and key-control attacks against CMAC-CTR and CMAC-FB.
  • NIST is considering revising or withdrawing constructions and asks what transition problems that would cause, including for validation.

The US National Institute of Standards and Technology (NIST) is to revise its recommendation for key derivation using pseudorandom functions, SP 800-108. On 4 November it opened a pre-draft call for comments, open until 18 December, because several recent papers have found security problems in some of the constructions the standard allows.

A key derivation function (KDF) produces new keys from a master key: it is the component that hands out session, encryption and authentication keys in protocols, cryptographic modules and key hierarchies. SP 800-108 specifies how to build them from CMAC, HMAC or KMAC and, for those with fixed-length output, three iteration modes: counter (CTR), feedback (FB) and double-pipeline (DP).

What has been found

  • Output that can be told apart from random. The standard measures a KDF’s security by how hard it is to distinguish its output from a random string. A 2025 paper shows practical distinguishers against CMAC-FB and HMAC-FB with some choices of initialisation vector that the standard permits.
  • Control over the derived key. Someone who knows the master key can choose the KDF’s inputs to influence the key that comes out. Practical attacks of this kind have been shown against CMAC-CTR and CMAC-FB, and a later paper has formalised this property. Revision 1 had already strengthened the CMAC-based constructions to mitigate these attacks.
  • A mode that may no longer be needed. The double-pipeline mode was added to the standard partly because of its link to the TLS 1.2 KDF, which TLS 1.3 did not keep. NIST is asking whether both variants of that mode should remain.

What NIST is proposing

Revision 2 could clarify which security properties are expected of a KDF, revise the affected constructions, give guidance for CMAC-based ones and reconsider the double-pipeline mode. Among its questions, NIST asks whether to require a fixed or context-derived initialisation vector, or a mandatory counter, and whether key control should be a property required of every approved KDF or depend on the application. It also wants to know what compatibility and transition problems revising, deprecating or withdrawing existing constructions would cause, and how it would affect implementations, interoperability and validation.

Note · there is no draft yet

This is a pre-draft consultation: there is no new text and no construction has been withdrawn. NIST does not say that the affected KDFs are broken in general; the problems depend on the mode, the underlying function and how the inputs are chosen.

What changes for decision-makers

KDFs sit in many places that are out of sight: hardware security modules, smart cards, firmware and proprietary protocols. Anyone with a cryptographic inventory can already search it for products that use SP 800-108 in feedback mode or with CMAC, and for how they choose the initialisation vector and the inputs. It is the same crypto-agility that post-quantum migration demands, applied to a classical component: if the revision ends up withdrawing or changing constructions, what can be validated will change too, and those who know where they use them will be able to plan for it. Vendors and integrators can also submit comments until 18 December.

Keep reading