If you try to measure the cost of the authentication code using log
messages you're going to get total noise, because the cost of logging
a message is higher than the cost of doing the authentication. Each
invocation of AES-SIV should take, in round numbers, 250 CPU cycles,
and processing a typical request should take four invocations (unseal
cookie, unseal message, seal new cookie, seal message), with only the
final one being in the critical section.

On Mon, Mar 4, 2019 at 8:14 AM Eric S. Raymond via devel
<devel@ntpsec.org> wrote:
>
> Hal Murray <hmur...@megapathdsl.net>:
> > I think I'll take a break from NTS and go add a log file for this sort of
> > thing.  I want a place for the time spent in auth code.
>
> Good idea.
> --
>                 <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>
>
> My work is funded by the Internet Civil Engineering Institute: 
> https://icei.org
> Please visit their site and donate: the civilization you save might be your 
> own.
>
>
> _______________________________________________
> devel mailing list
> devel@ntpsec.org
> http://lists.ntpsec.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to