Re: [PATCH v3 3/3] Input: snvs_pwrkey - only IRQ_HANDLED for our own events

2020-07-29 Thread Dmitry Torokhov
Hi Marco, On Wed, Jul 29, 2020 at 09:55:13AM +0200, Marco Felsch wrote: > Hi, > > On 20-07-23 10:43, Horia Geantă wrote: > > From: André Draszik > > > > The snvs_pwrkey shares the SNVS LPSR status register with the snvs_rtc. > > > > This driver here should only return IRQ_HANDLED if the status

Re: [PATCH v3 2/3] Input: snvs_pwrkey - enable snvs clock as needed

2020-07-29 Thread Dmitry Torokhov
On Wed, Jul 29, 2020 at 09:33:23AM +0200, Marco Felsch wrote: > Hi, > > On 20-07-23 10:43, Horia Geantă wrote: > > From: André Draszik > > > > At the moment, enabling this driver without the SNVS RTC driver > > being active will hang the kernel as soon as the power button > > is pressed. > > >

Re: Help getting aesni crypto patch upstream

2020-07-29 Thread Ard Biesheuvel
On Wed, 29 Jul 2020 at 22:29, Ben Greear wrote: > > On 7/29/20 12:09 PM, Ard Biesheuvel wrote: > > On Wed, 29 Jul 2020 at 15:27, Ben Greear wrote: > >> > >> On 7/28/20 11:06 PM, Ard Biesheuvel wrote: > >>> On Wed, 29 Jul 2020 at 01:03, Ben Greear wrote: > > Hello, > > As part

Re: Help getting aesni crypto patch upstream

2020-07-29 Thread Ben Greear
On 7/29/20 12:09 PM, Ard Biesheuvel wrote: On Wed, 29 Jul 2020 at 15:27, Ben Greear wrote: On 7/28/20 11:06 PM, Ard Biesheuvel wrote: On Wed, 29 Jul 2020 at 01:03, Ben Greear wrote: Hello, As part of my wifi test tool, I need to do decrypt AES on the CPU, and the only way this performs w

Re: [PATCH v4] crypto: af_alg - add extra parameters for DRBG interface

2020-07-29 Thread Stephan Müller
Am Mittwoch, 29. Juli 2020, 17:45:01 CEST schrieb Elena Petrova: Hi Elena, > Extend the user-space RNG interface: > 1. Add entropy input via ALG_SET_DRBG_ENTROPY setsockopt option; > 2. Add additional data input via sendmsg syscall. > > This allows DRBG to be tested with test vectors, for ex

Re: Help getting aesni crypto patch upstream

2020-07-29 Thread Ard Biesheuvel
On Wed, 29 Jul 2020 at 15:27, Ben Greear wrote: > > On 7/28/20 11:06 PM, Ard Biesheuvel wrote: > > On Wed, 29 Jul 2020 at 01:03, Ben Greear wrote: > >> > >> Hello, > >> > >> As part of my wifi test tool, I need to do decrypt AES on the CPU, and the > >> only way this > >> performs well is to use

Re: linux-next: Tree for Jul 29 (drivers/crypto/sa2ul.c)

2020-07-29 Thread Randy Dunlap
On 7/29/20 5:22 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20200728: > on i386: ld: drivers/crypto/sa2ul.o: in function `sa_sha_digest': sa2ul.c:(.text+0x1faf): undefined reference to `sha512_zero_message_hash' sa2ul.c uses sha512_zero_message_hash, sha1_zero_message_hash, and sh

Re: Help getting aesni crypto patch upstream

2020-07-29 Thread Ben Greear
On 7/28/20 11:06 PM, Ard Biesheuvel wrote: On Wed, 29 Jul 2020 at 01:03, Ben Greear wrote: Hello, As part of my wifi test tool, I need to do decrypt AES on the CPU, and the only way this performs well is to use aesni. I've been using a patch for years that does this, but recently somewhere

Re: [PATCH v3 3/3] Input: snvs_pwrkey - only IRQ_HANDLED for our own events

2020-07-29 Thread Marco Felsch
Hi, On 20-07-23 10:43, Horia Geantă wrote: > From: André Draszik > > The snvs_pwrkey shares the SNVS LPSR status register with the snvs_rtc. > > This driver here should only return IRQ_HANDLED if the status register > indicates that the event we're handling in the irq handler was genuinely > in

Re: [PATCH v3 2/3] Input: snvs_pwrkey - enable snvs clock as needed

2020-07-29 Thread Marco Felsch
Hi, On 20-07-23 10:43, Horia Geantă wrote: > From: André Draszik > > At the moment, enabling this driver without the SNVS RTC driver > being active will hang the kernel as soon as the power button > is pressed. > > The reason is that in that case the SNVS isn't enabled, and > any attempt to rea

Re: [PATCH v31 00/12] /dev/random - a new approach with full SP800-90B

2020-07-29 Thread Stephan Mueller
Am Dienstag, 28. Juli 2020, 22:40:44 CEST schrieb Pavel Machek: Hi Pavel, > Hi! > > > The following patch set provides a different approach to /dev/random which > > is called Linux Random Number Generator (LRNG) to collect entropy within > > the Linux kernel. The main improvements compared to th