[noise] Machine-readable pattern list

Jason A. Donenfeld Jason at zx2c4.com
Thu Oct 6 13:50:04 PDT 2016


On Oct 5, 2016 8:01 AM, "Trevor Perrin" <trevp at trevp.net> wrote:
> Maybe, but if the only benefit here is that a tool that works with
> text patterns can avoid scanning for "...", that's not that much of a
> gain.

Scanning for ... isn't even required; it's easier than that. You load the
results into a temporary. If you hit a ..., everything prior is premessage
and everything after is ordinary. If you never hit a ..., everything is
ordinary. So this remains quite trivial to implement even when streaming
byte by byte, without having to even scan out.

In otherbwords, I agree with you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://moderncrypto.org/mail-archive/noise/attachments/20161006/595019b2/attachment.html>


More information about the Noise mailing list