[noise] Questions regarding the Additional Symmetric Keys extension

Trevor Perrin trevp at trevp.net
Tue Jul 10 10:25:59 PDT 2018


Sorry, I forgot to replace ask_master with ck in the proposed simplication:

On Tue, Jul 10, 2018 at 5:23 PM, Trevor Perrin <trevp at trevp.net> wrote:
>> One option might be to define create_chains as follows:
>>
>> """
>> create_chains(labels):
>>     ask_master = HKDF(ck, zerolen, info="ask", 1)
>>     ask_chains = {}
>>     for label in labels:
>>         ask_chains[label] = HKDF(ask_master, h || label, 1)
>>     erase ask_master
>> """
>
> Probably you could simplify even further?
> """
> create_chains(labels):
>     for label in labels:
>         ask_chains[label] = HKDF(ck, h || label, info="ask", 1)
> """

Trevor


More information about the Noise mailing list