linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] NX crypto driver fixes
@ 2014-10-28 17:40 Leonidas S. Barbosa
  2014-11-06 15:17 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Leonidas S. Barbosa @ 2014-10-28 17:40 UTC (permalink / raw)
  To: linux-crypto, Herbert Xu, David S. Miller
  Cc: linux-kernel, Marcelo Henrique Cerri, Fionnuala Gunter

This patch set fixes the follow issues in  NX crypto driver:

  - Bound limit issue that causes a memory crash
  - SHA concurrence issue
  - IV vector fix with the correct bit order
  - NX CCM does not support keys larger than 128 causing
  crashes in fips mode.


Leonidas S. Barbosa (9):
  Moving NX-AES-CBC to be process logic
  Moving NX-AES-CCM to be process logic and sg_list bounds
  Moving limit and bound logic in CTR and fix IV vector
  Moving NX-AES-ECB to be processed logic
  Moving NX-AES-GCM to be processed logic
  Moving NX-AES-XCBC to be processed logic
  Fix SHA concurrence issue and sg limit bounds
  Fixing the limit number of bytes to be processed
  Disable ccm and ccm4309 in fips mod

 drivers/crypto/nx/nx-aes-cbc.c  |   12 +--
 drivers/crypto/nx/nx-aes-ccm.c  |   61 +++++------
 drivers/crypto/nx/nx-aes-ctr.c  |   13 +--
 drivers/crypto/nx/nx-aes-ecb.c  |   12 +--
 drivers/crypto/nx/nx-aes-gcm.c  |   66 +++++++-----
 drivers/crypto/nx/nx-aes-xcbc.c |   81 +++++++++++---
 drivers/crypto/nx/nx-sha256.c   |  208 ++++++++++++++++++-------------------
 drivers/crypto/nx/nx-sha512.c   |  222 ++++++++++++++++++---------------------
 drivers/crypto/nx/nx.c          |  159 +++++++++++++++++++++++-----
 drivers/crypto/nx/nx.h          |    8 +-
 10 files changed, 469 insertions(+), 373 deletions(-)

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

* Re: [PATCH 0/9] NX crypto driver fixes
  2014-10-28 17:40 [PATCH 0/9] NX crypto driver fixes Leonidas S. Barbosa
@ 2014-11-06 15:17 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2014-11-06 15:17 UTC (permalink / raw)
  To: Leonidas S. Barbosa
  Cc: linux-crypto, David S. Miller, linux-kernel,
	Marcelo Henrique Cerri, Fionnuala Gunter

On Tue, Oct 28, 2014 at 03:40:09PM -0200, Leonidas S. Barbosa wrote:
> This patch set fixes the follow issues in  NX crypto driver:
> 
>   - Bound limit issue that causes a memory crash
>   - SHA concurrence issue
>   - IV vector fix with the correct bit order
>   - NX CCM does not support keys larger than 128 causing
>   crashes in fips mode.

All applied except the last patch.
-- 
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

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

end of thread, other threads:[~2014-11-06 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 17:40 [PATCH 0/9] NX crypto driver fixes Leonidas S. Barbosa
2014-11-06 15:17 ` 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).