Re: [PATCH v2] crypto: vmx - Fix sleep-in-atomic bugs

2018-08-22 Thread Marcelo Henrique Cerri
That looks good to me. Maybe Paulo can help testing it. -- Regards, Marcelo On Wed, Aug 22, 2018 at 08:26:31AM +0200, Ondrej Mosnacek wrote: > This patch fixes sleep-in-atomic bugs in AES-CBC and AES-XTS VMX > implementations. The problem is that the blkcipher_* functions should > not be called

[PATCH] crypto: arm/ghash-ce - implement support for 4-way aggregation

2018-08-22 Thread Ard Biesheuvel
Speed up the GHASH algorithm based on 64-bit polynomial multiplication by adding support for 4-way aggregation. This improves throughput by ~60% on Cortex-A53, from 1.70 cycles per byte to 1.05 cycles per byte. Signed-off-by: Ard Biesheuvel --- arch/arm/crypto/Kconfig | 1 + arch/arm/c

Re: [RFC PATCH 8/9] crypto: arm/poly1305 - add NEON accelerated Poly1305 implementation

2018-08-22 Thread Ard Biesheuvel
On 8 August 2018 at 01:19, Eric Biggers wrote: > Hi Ard, > > On Tue, Aug 07, 2018 at 02:09:05PM +0200, Ard Biesheuvel wrote: >> On 7 August 2018 at 00:32, Eric Biggers wrote: >> > From: Eric Biggers >> > >> > Add the Poly1305 code from OpenSSL, which was written by Andy Polyakov. >> > I took the

Re: disabling psp in bios causes errors in dmesg

2018-08-22 Thread Thomas Backlund
Den 21.8.2018 kl. 19:47, skrev Tom Lendacky: On 8/10/2018 9:11 AM, Tom Lendacky wrote: On 8/10/2018 2:03 AM, Thomas Backlund wrote: Hi, this is tested on kernel 4.17.14 hw: MSI X399 GAMING PRO CARBON AC (MS-7B09) bios 1.A0 AMD Ryzen Threadripper 1950X Disabling psp in bios gets this in

[PATCH 1/1] crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.

2018-08-22 Thread Srikanth Jampala
Earlier used to post the current command without checking queue full after backlog submissions. So, post the current command only after confirming the space in queue after backlog submissions. Maintain host write index instead of reading device registers to get the next fr