Prediction of the private FIPS expansion inputs #
FIPS 204, Algorithms 6 and 33, use 64 bytes of the key-generation SHAKE output as the common prefix of the short-vector inputs. The pure-mode signing service can read one of those inputs as a message representative only if the encoded public key hashes to that prefix. The hash matches with probability at most 2⁻⁵¹² under the original coupled setup. After refreshing the single key-generation row of the background oracle, the pair and the refreshed SHAKE128 and SHAKE256 streams are jointly independent of the original seeds. At any chosen coherent query by the adaptive public-pair forger, the measured address hits a private input with probability at most 2⁻²⁵⁶. Both statements retain setup failure.
Successful key generation produces a public-key hash equal to its own private Algorithm 33 prefix. This is the exceptional honest representative input in the shared-row comparison.
The native and detached devices return the same public-key hash, at every read length.
On successful setup, the honest empty request reads nonce zero exactly when the native public-key hash matches the private prefix.
Replace the 128 bytes at the input which generated both seeds, preserving every other SHAKE response and the suffix at that input. The key pair has already been drawn.
After refreshing the 128-byte key-generation row of the background device, the original 32-byte key seed and 64-byte secret-expansion seed are independent uniform values jointly with the full pair, published seed and complete refreshed XOFs. The observation can continue with arbitrary signing and quantum interactions on that device.
The FIPS public-key hash hits the private secret-expansion prefix with probability at most 2⁻⁵¹² at every level. This bounds the exceptional honest representative for all requests together. Failed matrix or secret expansion scores zero.
A raw SHAKE256 address hits the key-expansion input or one of the secret-vector inputs.
In the refreshed background experiment any observation producing one raw SHAKE256 address hits either private expansion input family with probability at most 2⁻²⁵⁶. The observation sees the whole refreshed oracle and generated pair; a missing query or failed key setup scores zero.
Measure the address actually supplied to the selected coherent query of the public-pair
signing experiment. An absent query, SHAKE128 query or invalid padding returns none.
At any chosen query of the adaptive public-pair signer with a refreshed key seed row, the measured SHAKE256 address hits a private expansion input with probability at most 2⁻²⁵⁶.