[noise] HKDF input sizes

Stephen Touset stephen at squareup.com
Mon Nov 9 17:44:43 PST 2015


The current documentation is unclear about the size of the inputs to HKDF. It’s clear that the outputs are either 32 or 64 bytes, but are the inputs always expected to be 32 bytes? I would argue that since all uses of HKDF use only the first 32 bytes of each output, the whole thing should simply be specified to take 32 byte inputs and always return 32 byte outputs.

-- 
Stephen Touset
stephen at squareup.com





More information about the Noise mailing list