jazzm0 commented on issue #686: URL: https://github.com/apache/mina-sshd/issues/686#issuecomment-2718297218
The following providers are there by default: AndroidNSSP AndroidOpenSSL CertPathProvider AndroidKeyStoreBCWorkaround BC HarmonyJSSE AndroidKeyStore During application startup I remove BC, and it seems like BouncyCastleSecurityProviderRegistrar is added automatically. This is then used when the Session is initiated to retrieve the Cipher AES/CTR/NoPadding and Mac HmacSHA1. Now I found this one https://github.com/apache/mina-sshd/blob/master/sshd-contrib/src/main/java/org/apache/sshd/contrib/common/util/security/androidopenssl/AndroidOpenSSLSecurityProviderRegistrar.java after debugging and reading through the source, and this indeed improves the performance. Now I'll do some more performance testing, but it already looks promising! -- 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