[noise] Replace calls to kernel.MixHash with kernel.MixKey

Trevor Perrin trevp at trevp.net
Wed Aug 26 20:31:23 PDT 2015


On Wed, Aug 26, 2015 at 6:45 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
>
> Simple question: why can't we just replace all calls to kernel.MixHash with
> kernel.MixKey? It seems like this would simplify things quite a bit.

We talked about this earlier:

https://moderncrypto.org/mail-archive/noise/2015/000198.html

Besides that, the MixHash calls are a bit cheaper than the MixKey calls.

Trevor

> [PS: It would also add another layer of "hiding": in handshakes that use a
> pre-descriptor of "s", and then transmit an unencrypted "e",

Currently e is always unencrypted.

Trevor


More information about the Noise mailing list