[openssl-users] Openssl async support

ASHIQUE CK ckashiquekvk at gmail.com
Thu Dec 27 15:07:18 UTC 2018

Hi all,

          Thanks for the earlier reply. But still Iam facing issue
regarding the asynchronous job operation.

           I have implemented asynchronous job operation partially. I am
now getting requests asynchronously ie. getting the next request after
calling ASYNC_pause_job from the first request. But I am unable to resume
the paused jobs after job completion.

Test setup consists of a nginx server and three SSL client apps.

I have got the first 16kb processing request (AES-GCM
encryption/decryption) from client1 and have submitted the request to the
engine and done ASYNC_pause_job, so client1 entered into waiting state. But
when we run the client2 app, the first job went into ASYNC_FINISH state
before job completion. Similarly, when we run the client3 app, the second
job went into ASYNC_FINISH state. Can you help regarding this?

On Wed, Dec 19, 2018 at 5:33 PM ASHIQUE CK <ckashiquekvk at gmail.com> wrote:

> Gentle reminder
> On Tue, Dec 18, 2018 at 4:06 PM ASHIQUE CK <ckashiquekvk at gmail.com> wrote:
>> Hi all,
>> I truly understand that everyone might be busy with your work and didn't
>> found time to reply. That's okay, but incase you have accidendly forgot to
>> reply, please accept this as a gentle reminder.
>> On Mon, Dec 17, 2018 at 6:11 PM ASHIQUE CK <ckashiquekvk at gmail.com>
>> wrote:
>>> Hi all,
>>> I have some queries regarding OpenSSL async operation.
>>> Current setup
>>> -------------
>>> I have one* OpenSSL dynamic engine (with RSA and AES-GCM support) *and
>>> linked it with *Nginx* server. Multiple *WGET* commands on the client
>>> side.
>>> Current issue
>>> -------------
>>>   Since OpenSSL *do_cipher call *(the function in which actual AES-GCM
>>> encryption/decryption happening) comes from one client at a time which is
>>> reducing file downloading performance. So we need an *asynchronous
>>> operation in OpenSSL* ie. we need multiple do_cipher calls at the same
>>> time from which we should submit requests to HW without affecting the
>>> incoming requests and should wait for HW output.
>>> Queries
>>> --------
>>>  1) Is there is any other scheme for multiple do_cipher calls at a
>>> time?.
>>>  2) Any method to enable asynchronous call from OpenSSL?
>>> Versions
>>> -------------
>>> Openssl - 1.1.0h
>>> Nginx1.11.10
>>> Wget 1.17.1
>>>  Kindly support me. Please inform me if any more inputs needed. Thanks
>>> in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20181227/5eb524ec/attachment.html>

More information about the openssl-users mailing list