linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] crypto: gcm - add GCM IV size constant
@ 2017-08-22  8:08 Corentin Labbe
  2017-08-22  8:08 ` [PATCH 01/11] " Corentin Labbe
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Corentin Labbe @ 2017-08-22  8:08 UTC (permalink / raw)
  To: herbert, davem, tglx, mingo, hpa, x86, horia.geanta, dan.douglass,
	thomas.lendacky, gary.hook, harsh, matthias.bgg, leosilva,
	pfsmorigo, benh, paulus, mpe
  Cc: linux-crypto, linux-kernel, linux-arm-kernel, linux-mediatek,
	linuxppc-dev, Corentin Labbe

Many GCM users use directly GCM IV size instead of using some constant.

This patch add all IV size constant used by GCM and convert drivers for using them..

Corentin Labbe (11):
  crypto: gcm - add GCM iv size constant
  crypto: caam - Use GCM IV size constant
  crypto: ccp - Use GCM IV size constant
  crypto: nx - Use GCM IV size constant
  crypto: atmel - Use GCM IV size constant
  crypto: bcm - Use GCM IV size constant
  crypto: mediatek - Use GCM IV size constant
  crypto: chelsio - Use GCM IV size constant
  crypto: omap - Use GCM IV size constant
  crypto: gcm - Use GCM IV size constant
  crypto: aesni - Use GCM IV size constant

 arch/x86/crypto/aesni-intel_glue.c         |  7 ++++---
 crypto/gcm.c                               | 23 ++++++++++++-----------
 drivers/crypto/atmel-aes.c                 |  5 +++--
 drivers/crypto/bcm/cipher.c                |  8 ++++----
 drivers/crypto/bcm/cipher.h                |  3 +--
 drivers/crypto/caam/caamalg.c              | 10 +++++-----
 drivers/crypto/caam/compat.h               |  1 +
 drivers/crypto/ccp/ccp-crypto-aes-galois.c |  9 ++++-----
 drivers/crypto/chelsio/chcr_algo.c         |  9 +++++----
 drivers/crypto/mediatek/mtk-aes.c          |  3 ++-
 drivers/crypto/nx/nx-aes-gcm.c             |  9 +++++----
 drivers/crypto/omap-aes-gcm.c              |  7 ++++---
 drivers/crypto/omap-aes.c                  |  5 +++--
 include/crypto/gcm.h                       |  8 ++++++++
 14 files changed, 61 insertions(+), 46 deletions(-)
 create mode 100644 include/crypto/gcm.h

-- 
2.13.0

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-09-22 10:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22  8:08 [PATCH 00/11] crypto: gcm - add GCM IV size constant Corentin Labbe
2017-08-22  8:08 ` [PATCH 01/11] " Corentin Labbe
2017-08-22  8:08 ` [PATCH 02/11] crypto: caam - Use " Corentin Labbe
2017-08-22  8:08 ` [PATCH 03/11] crypto: ccp " Corentin Labbe
2017-08-22  8:08 ` [PATCH 04/11] crypto: nx " Corentin Labbe
2017-08-22  8:08 ` [PATCH 05/11] crypto: atmel " Corentin Labbe
2017-08-22  8:08 ` [PATCH 06/11] crypto: bcm " Corentin Labbe
2017-08-22  8:08 ` [PATCH 07/11] crypto: mediatek " Corentin Labbe
2017-08-22  8:08 ` [PATCH 08/11] crypto: chelsio " Corentin Labbe
2017-08-22  8:08 ` [PATCH 09/11] crypto: omap " Corentin Labbe
2017-08-22  8:08 ` [PATCH 10/11] crypto: gcm " Corentin Labbe
2017-08-22  8:08 ` [PATCH 11/11] crypto: aesni " Corentin Labbe
2017-09-22 10:14 ` [PATCH 00/11] crypto: gcm - add " Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).