Re: [RFC PATCH security-next 1/4] security: Hornet LSM

2025-03-31 Thread Blaise Boscaccy
Jonathan Corbet writes: > Blaise Boscaccy writes: > >> This adds the Hornet Linux Security Module which provides signature >> verification of eBPF programs. >> >> Hornet uses a similar signature verification scheme similar to that of >> kernel modules. A pkcs#7 signature is appended to the end o

Re: [RFC PATCH security-next 3/4] hornet: Add an example lskel data extactor script

2025-03-31 Thread Blaise Boscaccy
Jarkko Sakkinen writes: > On Fri, Mar 21, 2025 at 09:45:05AM -0700, Blaise Boscaccy wrote: >> This script eases lskel developments against hornet by generating the > > 1. What iskel? It's a "light-skeleton". I'll remove the abbreviations from this patchset's commit messages. The jargon is hard e

Re: [RFC PATCH security-next 2/4] hornet: Introduce sign-ebpf

2025-03-31 Thread Blaise Boscaccy
Jarkko Sakkinen writes: > On Fri, Mar 21, 2025 at 09:45:04AM -0700, Blaise Boscaccy wrote: >> This introduces the sign-ebpf tool. It is very similar to the existing >> sign-file script, with one key difference, it will sign a file with >> with a signature computed off of arbitrary input data. Thi

Re: [PATCH v6 1/6] mfd: Add support for Loongson Security Module

2025-03-31 Thread Huacai Chen
Hi, Qunqin, On Thu, Mar 27, 2025 at 10:17 AM Qunqin Zhao wrote: > > This driver supports Loongson Security Module, which provides the control > for it's hardware encryption acceleration child devices. > > Co-developed-by: Yinggang Gu > Signed-off-by: Yinggang Gu > Signed-off-by: Qunqin Zhao >

Re: [PATCH v6 5/6] tpm: Add a driver for Loongson TPM device

2025-03-31 Thread Huacai Chen
Hi, Qunqin, On Thu, Mar 27, 2025 at 10:18 AM Qunqin Zhao wrote: > > Loongson security engine supports random number generation, hash, > symmetric encryption and asymmetric encryption. Based on these > encryption functions, TPM2 have been implemented in the Loongson > security engine firmware. Thi

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

2025-03-31 Thread Huacai Chen
Hi, Qunqin, On Thu, Mar 27, 2025 at 10:17 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 > --- > v6: Replace all "ls6000se" with "loongson" > v2-

Re: [PATCH v6 0/6] Drivers for Loongson security engine

2025-03-31 Thread Huacai Chen
Hi, Qunqin, On Thu, Mar 27, 2025 at 10:17 AM Qunqin Zhao wrote: > > Loongson security engine supports random number generation, hash, > symmetric encryption and asymmetric encryption. Based on these > encryption functions, TPM2 have been implemented in it. > > mfd is the baser driver, crypto and