Re: [PATCH v7 3/6] crypto: loongson - add Loongson RNG driver support

2025-04-10 Thread Qunqin Zhao
在 2025/4/6 下午5:05, Huacai Chen 写道: Hi, Qunqin, On Thu, Apr 3, 2025 at 10:46 AM Qunqin Zhao wrote: Loongson's Random Number Generator is found inside Loongson security engine. Co-developed-by: Yinggang Gu Signed-off-by: Yinggang Gu Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen ---

Re: [PATCH v4] tpm: Mask TPM RC in tpm2_start_auth_session()

2025-04-10 Thread Jarkko Sakkinen
On Mon, Apr 07, 2025 at 03:51:21PM +0200, Stefano Garzarella wrote: > On Mon, Apr 07, 2025 at 03:28:05PM +0300, Jarkko Sakkinen wrote: > > tpm2_start_auth_session() does not mask TPM RC correctly from the callers: > > > > [ 28.766528] tpm tpm0: A TPM error (2307) occurred start auth session > >

Re: [PATCH v7 3/6] crypto: loongson - add Loongson RNG driver support

2025-04-10 Thread Qunqin Zhao
在 2025/4/7 下午12:04, Herbert Xu 写道: On Thu, Apr 03, 2025 at 10:46:42AM +0800, Qunqin Zhao wrote: Loongson's Random Number Generator is found inside Loongson security engine. Is this a hardware RNG or a pseudo RNG? If it's pseudo, it should provide a means of reseeding. Will provide a means o

Re: [PATCH v8] KEYS: Add a list for unreferenced keys

2025-04-10 Thread Jarkko Sakkinen
On Tue, Apr 08, 2025 at 07:01:47PM +0300, Jarkko Sakkinen wrote: > On Mon, Apr 07, 2025 at 03:58:01PM +0300, Jarkko Sakkinen wrote: > > From: Jarkko Sakkinen > > > > Add an isolated list of unreferenced keys to be queued for deletion, and > > try to pin the keys in the garbage collector before pr