Published Last updated
NIST’s October 8 draft of SP 800-185 Revision 1 proposes a more explicit way to use SHA-3-derived functions when data arrives in pieces and the amount of output needed is not known in advance. The change is relevant to cryptographic-library maintainers and developers reviewing how applications call those libraries. Public comments are due December 7, 2026.
The proposal is an initial public draft. It is an opportunity to review interface behavior and identify ambiguities, rather than a final instruction to replace deployed cryptographic implementations. The NIST publication page provides the draft, its status and comment instructions.
What SP 800-185 covers
The publication describes cSHAKE, KMAC, TupleHash and ParallelHash. These functions serve different purposes: customization of SHAKE behavior, keyed message authentication, hashing structured sequences of strings, and parallel processing of long messages. Their shared foundation does not make them interchangeable interfaces.
The original SP 800-185 publication dates to December 2016. Revision 1 adds explicit streaming access while retaining equivalent single-call behavior. That continuity matters for reviewing a library change: an added interface should be assessed against the corresponding defined function, not assumed to introduce a different cryptographic result.
Input and output can be handled incrementally
The draft describes INIT, ABSORB and SQUEEZE operations. Initialization establishes the computation; absorption supplies input; squeezing obtains output. NIST’s October announcement emphasizes that applications can process input and request output incrementally without knowing both total lengths beforehand.
An extendable-output function, or XOF, provides output that can be requested progressively. The draft specification distinguishes that behavior from fixed-output calls whose requested length is incorporated into the computation. Developers should preserve the specific function and mode when comparing results.
For example, a test that changes both the interface and the function variant cannot isolate whether a discrepancy comes from chunk handling. A better comparison holds the function, parameters and logical input constant, then varies the way that input is supplied. This is a suggested review method, not an additional requirement announced by NIST.
TupleHash makes the boundary between calls meaningful
NIST explicitly asks reviewers whether TupleHash’s use of ABSORB could be confusing. For cSHAKE and the relevant KMAC and ParallelHash streaming variants, successive calls can supply pieces of input. For TupleHash’s streaming interface, each ABSORB call represents one complete tuple element.
That distinction is easy to lose in a generic “feed the next buffer” abstraction. A buffer boundary can be an implementation detail when processing a byte stream. A tuple-element boundary is part of the structured input. A wrapper that treats both boundaries as identical may change what it asks the cryptographic function to process.
Consider two fields containing “north” and “gate.” They form a sequence with two elements. Joining them into one field, “northgate,” changes that sequence even though the letters are the same. The example illustrates why a structured-input interface must preserve field boundaries; it is not a proposed encoding scheme or an implementation test vector.
In an API review, the question is therefore more precise than whether a method accepts a buffer. Does the method accept the next piece of a message, or the next complete field in a sequence? Naming, documentation and tests should make that distinction visible to a caller who has not read the implementation.
How to make a review useful
Reviewers can begin by mapping existing application calls to the function families and modes in the draft. A library may expose both fixed-output and XOF behavior, and an application may use only one of them. Recording that usage prevents a broad compatibility claim based on a test of a single path.
A focused review can then ask:
- Does the interface make the logical input boundaries clear?
- Can the same intended computation be compared through the single-call and streaming interfaces?
- Do examples distinguish a fixed-output function from its XOF variant?
- Do error handling and documentation make invalid call sequences apparent?
- Would a caller understand which parameters must remain unchanged across a comparison?
These questions are intended to produce actionable feedback. A comment identifying an ambiguous operation, explaining the mistaken interpretation and proposing clearer wording is more useful than a general statement that streaming support is desirable. A small illustrative call sequence can help, provided it does not expose confidential application details.
A draft interface is not a deployment certification
The appearance of a streaming interface in a draft does not establish that a particular product implements it, that an implementation has been validated, or that an existing system should immediately change its cryptographic dependencies. Those claims require their own evidence.
A sensible engineering response is to review the proposal, identify relevant library dependencies and track the eventual final publication and supported implementations. That preserves a path from standards work to deployment without treating the public-comment stage as a completed product release.
For readers tracking the wider transition in federal cryptography, the October quantum computing and migration developments address a different set of decisions. SP 800-185’s streaming proposal concerns access to specified functions; an enterprise migration program must also account for systems, protocols, suppliers and governing requirements.
Comments on this draft remain open through December 7. The most useful contributions will identify where the interface description could lead two careful implementers to different behavior, particularly where a tuple element could be mistaken for an arbitrary input chunk.
