Re: [PATCH v2 2/3] accel/amdpk: add driver for AMD PKI accelerator

Gupta, Nipun
2025-04-17T15:32:41Z

On 12-04-2025 06:53, Herbert Xu wrote:
> On Fri, Apr 11, 2025 at 11:50:54PM +0530, Gupta, Nipun wrote:
>>
>> AFAIU after looking into it, the keyring subsystem is not to perform the
>> data operations, but for managing keys for these operations. Kindly correct
>> me if I am wrong here.
>
> Have a look at
>
> security/keys/keyctl_pkey.c

Thanks for pointing out to the C file, but as these these system calls
can support only synchronous operations, precludes their use for
asynchronous operations. In the TLS handshakes, where multiple
connections occur simultaneously, asynchronous operations are
beneficial. OpenSSL ASYNC support can very well utilizes the
asynchronous operations while establishing multiple TLS connections.

Thanks,
Nipun