Re: Decryption slower in 1.1.1 branch?

2020-02-04 Thread hamed salini
در تاریخ چهارشنبه ۲۹ ژانویهٔ ۲۰۲۰،‏ ۰:۰۵ Viktor Dukhovni < openssl-us...@dukhovni.org> نوشت: > On Tue, Jan 28, 2020 at 06:24:06PM +, Dan Heinz wrote: > > > >RSA is not intended for bulk data decryption, its intended uses are > > >key transport and signing. Bulk data decryption is done via AES

Re: Decryption slower in 1.1.1 branch?

2020-01-28 Thread Viktor Dukhovni
On Tue, Jan 28, 2020 at 06:24:06PM +, Dan Heinz wrote: > >RSA is not intended for bulk data decryption, its intended uses are > >key transport and signing. Bulk data decryption is done via AES or > >similar. It sounds like you're directly encrypting data with RSA. That's a mistake. RSA is

RE: Decryption slower in 1.1.1 branch?

2020-01-28 Thread Dan Heinz
Thank you for the information, Victor. >> I upgraded a library that used OpenSSL 1.0.2 to the OpenSSL 1.1.1d. >> On Windows, I have found that the time to decrypt had doubled. After >> a bit of timestamp logging, I found the RSA_private_decrypt function >> is taking twice as long with 1.1.1d as

Re: Decryption slower in 1.1.1 branch?

2020-01-27 Thread Viktor Dukhovni
On Mon, Jan 27, 2020 at 06:20:27PM +, Dan Heinz wrote: > I upgraded a library that used OpenSSL 1.0.2 to the OpenSSL 1.1.1d. > On Windows, I have found that the time to decrypt had doubled. After > a bit of timestamp logging, I found the RSA_private_decrypt function > is taking twice as long

Decryption slower in 1.1.1 branch?

2020-01-27 Thread Dan Heinz
I upgraded a library that used OpenSSL 1.0.2 to the OpenSSL 1.1.1d. On Windows, I have found that the time to decrypt had doubled. After a bit of timestamp logging, I found the RSA_private_decrypt function is taking twice as long with 1.1.1d as it did with 1.0.2t. This is being called from a W