[noise] suitably of using Noise in ICS environment

Trevor Perrin trevp at trevp.net
Mon Jul 25 09:12:06 PDT 2016


On Mon, Jul 18, 2016 at 5:29 PM, Adam Crain <jadamcrain at automatak.com>
wrote:

> Hi Trevor,
>
> I've captured this discussion here:
>
>
> https://github.com/noiseprotocol/noise_wiki/wiki/Authentication-only-modes-functions-for-Noise
>

Hi Adam,

It looks like the nonce "n" got omitted from the HMAC, you should add that
back in:

ENCRYPT(k, n, ad, plaintext):
  plaintext || HMAC(k, n || len(ad) || ad || plaintext)

Trevor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://moderncrypto.org/mail-archive/noise/attachments/20160725/cdf66ecf/attachment.html>


More information about the Noise mailing list