tomaswolf commented on PR #530:
URL: https://github.com/apache/mina-sshd/pull/530#issuecomment-2241789991

   Haven't looked at further optimizations. Most of the time is spent in 
Poly1305.processBlock() anyway. We could continue looking at trying to make 
this cipher and mac faster, but for now I think a 40% improvement and being 
nearly as fast as native AES (in my benchmarks) is good enough.
   
   I don't think the Java built-in ChaCha20-Poly1305 can be used for SSH. SSH 
uses a 64bit nonce and 64bit counter, while the JDK uses a 96bit nonce and 
32bit counter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to