[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DEFB2283-435C-4807-B401-2F4B5FAE1386@sigma-star.at>
Date: Wed, 11 Sep 2024 13:46:42 +0200
From: David Gstir <david@...ma-star.at>
To: Parthiban <parthiban@...umiz.com>
Cc: David Howells <dhowells@...hat.com>,
"linux-integrity@...r.kernel.org" <linux-integrity@...r.kernel.org>,
"keyrings@...r.kernel.org" <keyrings@...r.kernel.org>,
"linux-security-module@...r.kernel.org" <linux-security-module@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Trusted keys: DCP: Unable to handle paging request
Hi Parthiban,
> On 10.09.2024, at 17:02, Parthiban <parthiban@...umiz.com> 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
Powered by blists - more mailing lists