Re: Trusted keys: DCP: Unable to handle paging request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Parthiban,

> On 10.09.2024, at 17:02, Parthiban <parthiban@xxxxxxxxxxx> 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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux