Hi Parthiban,

> On 10.09.2024, at 17:02, Parthiban <[email protected]> wrote:
> 
> Dear David,
> 
> The below commit when using the stack memory for encrypt/decryption, unable to
> add the key using keyctl. IMO the encrypt/decrypt request which is submitted 
> to
> the dcp driver is asynchronous and seal/unseal is returned before the 
> completion.
> 
> crypto_wait_req with aead_request_set_callback will help?

thanks for reporting this! Yes, it looks like this could fix it.
I’m still a bit puzzled why I never ran into this during my tests,
but I’ll prepare a fix.

Thanks,
- david

Reply via email to