<div dir="ltr">Mind running the timings with the legacy interfaces as well? We may determine that the speed benefits are outweighed by the risks and complexities of an older API, but it would be good to have the data so we can make an informed decision.<div><br></div><div><a href="https://www.openssl.org/docs/man1.0.2/crypto/md5.html">https://www.openssl.org/docs/man1.0.2/crypto/md5.html</a><br></div><div><a href="https://www.openssl.org/docs/man1.0.2/crypto/sha.html">https://www.openssl.org/docs/man1.0.2/crypto/sha.html</a><br></div><div><br></div><div>Greg</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jan 29, 2017 at 7:50 AM Eric S. Raymond <<a href="mailto:esr@thyrsus.com">esr@thyrsus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hal Murray <<a href="mailto:hmurray@megapathdsl.net" class="gmail_msg" target="_blank">hmurray@megapathdsl.net</a>>:<br class="gmail_msg">
> The speedup applies to any type of crypto. I didn't bother implementing the<br class="gmail_msg">
> MD5 half. The change is just cleaning up the per-digest initialization.<br class="gmail_msg">
> We'll want it for anything going forward.<br class="gmail_msg">
<br class="gmail_msg">
Please commit it, then. And please do the MD5 code in libntp/a_md5encrypt.c<br class="gmail_msg">
and libntp/ssl_init.c to; might as well fix it all at once.<br class="gmail_msg">
--<br class="gmail_msg">
<a href="<a href="http://www.catb.org/~esr/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.catb.org/~esr/</a>">Eric S. Raymond</a><br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
devel mailing list<br class="gmail_msg">
<a href="mailto:devel@ntpsec.org" class="gmail_msg" target="_blank">devel@ntpsec.org</a><br class="gmail_msg">
<a href="http://lists.ntpsec.org/mailman/listinfo/devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.ntpsec.org/mailman/listinfo/devel</a><br class="gmail_msg">
</blockquote></div>