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: Poll on manpages

2020-01-28 Thread Ethan Rahn
Rich, If no-one else tells you, keeping the docs up to date is amazing work and thank you for it. My general thought is that all docs should be consistent with one another for ease of cross referncing and skimming and the manpages should follow the same layout. Cheers, Ethan On Tue, Jan 28, 20

Poll on manpages

2020-01-28 Thread Salz, Rich via openssl-users
The next release of OpenSSL splits the “help” for commands into sections, like this: ; ./apps/openssl rehash --help Usage: rehash [options] [directory...] General options: -helpDisplay this summary -h Display this summary -compat Create both new- and old-style hash links -

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: SSL_connect fails on systemd socket

2020-01-28 Thread Matt Caswell
On 28/01/2020 14:03, Tiwari, Hari Sahaya wrote: > 140691172779952:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong > version number:s3_pkt.c:365: You don't say, but from the reference to s3_pkt.c above I assume you are using OpenSSL 1.0.2 This error means that the server has received a record

help on openssl api for encryption

2020-01-28 Thread Jason Qian via openssl-users
Hi, Tried the example on: https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption On the Linux platform, when I set plaintext to "jason", it works fine. When I set it to "Jason", it returns an empty string. It works fine on windows platform for both cases. Thanks for your h

SSL_connect fails on systemd socket

2020-01-28 Thread Tiwari, Hari Sahaya
Hi, I am trying to implement a client server program over SSL through systemd. Here I have a TCP systemd socket (listening on a predefined port) and its associated service. systemd socket file:- # cat /usr/lib/systemd/system/test_ssl.socket [Unit] Description=Test socket [Socket] ListenStream=2