mbox series

[v2,0/5] crypto: gcm-aes-ni cleanups

Message ID 20210104155550.6359-1-ardb@kernel.org
Headers show
Series crypto: gcm-aes-ni cleanups | expand

Message

Ard Biesheuvel Jan. 4, 2021, 3:55 p.m. UTC
Clean up some issues and peculiarities in the gcm(aes-ni) driver.

Changes since v1:
- fix sleep while atomic issue reported by Eric
- add patch to get rid of indirect calls, to avoid taking the retpoline
  performance hit

Cc: Megha Dey <megha.dey@intel.com>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>

Ard Biesheuvel (5):
  crypto: x86/gcm-aes-ni - prevent misaligned buffers on the stack
  crypto: x86/gcm-aes-ni - drop unused asm prototypes
  crypto: x86/gcm-aes-ni - clean up mapping of associated data
  crypto: x86/gcm-aes-ni - refactor scatterlist processing
  crypto: x86/gcm-aes-ni - replace function pointers with static
    branches

 arch/x86/crypto/aesni-intel_glue.c | 321 ++++++++------------
 1 file changed, 121 insertions(+), 200 deletions(-)


base-commit: 858e88e2e54cd50cd43f3a8b490b64c22ae8267b

Comments

Herbert Xu Jan. 14, 2021, 6:46 a.m. UTC | #1
On Mon, Jan 04, 2021 at 04:55:45PM +0100, Ard Biesheuvel wrote:
> Clean up some issues and peculiarities in the gcm(aes-ni) driver.

> 

> Changes since v1:

> - fix sleep while atomic issue reported by Eric

> - add patch to get rid of indirect calls, to avoid taking the retpoline

>   performance hit

> 

> Cc: Megha Dey <megha.dey@intel.com>

> Cc: Eric Biggers <ebiggers@google.com>

> Cc: Herbert Xu <herbert@gondor.apana.org.au>

> 

> Ard Biesheuvel (5):

>   crypto: x86/gcm-aes-ni - prevent misaligned buffers on the stack

>   crypto: x86/gcm-aes-ni - drop unused asm prototypes

>   crypto: x86/gcm-aes-ni - clean up mapping of associated data

>   crypto: x86/gcm-aes-ni - refactor scatterlist processing

>   crypto: x86/gcm-aes-ni - replace function pointers with static

>     branches

> 

>  arch/x86/crypto/aesni-intel_glue.c | 321 ++++++++------------

>  1 file changed, 121 insertions(+), 200 deletions(-)


All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt