Depending on peripheral capabilities, print SHA information at the end
of the probe function.
Signed-off-by: Nicolas Ferre
---
drivers/crypto/atmel-sha.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c
index ecfdf72..
Add support for Device Tree and use of the DMA DT API to
get the channels if needed.
Documentation is added for these DT nodes.
Initial code by: Nicolas Royer and Eukrea.
Signed-off-by: Nicolas Ferre
---
.../devicetree/bindings/crypto/atmel-crypto.txt| 22 +
drivers/crypto/atmel-sha.c
Add support for Device Tree and use of the DMA DT API to
get the channels if needed.
Documentation is added for these DT nodes.
Initial code by: Nicolas Royer and Eukrea.
Signed-off-by: Nicolas Ferre
---
.../devicetree/bindings/crypto/atmel-crypto.txt| 23
drivers/crypto/atmel-tdes.c
Use the common helper function crypto_authenc_extractkeys() for key
parsing. Also ensure the keys do fit into the corresponding buffers.
Otherwise memory corruption might occur.
Cc: Christian Hohnstaedt
Cc: Herbert Xu
Cc: "David S. Miller"
Signed-off-by: Mathias Krause
---
Not tested as I've n
Use the common helper function crypto_authenc_extractkeys() for key
parsing.
Cc: Herbert Xu
Cc: "David S. Miller"
Signed-off-by: Mathias Krause
---
crypto/authencesn.c | 26 --
1 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/crypto/authencesn.c b/crypt
This series removes the code duplication of authenc key parsing by
introducing a common helper function crypto_authenc_extractkeys() in
patch 1. Patches 2 to 5 change all remaining places to use the new
helper. Patches 3 and 4 also fix potential memory corruptions by
ensuring the supplied keys won'
Use the common helper function crypto_authenc_extractkeys() for key
parsing.
Cc: Kim Phillips
Cc: Herbert Xu
Cc: "David S. Miller"
Signed-off-by: Mathias Krause
---
Not tested as I've no such hardware, nor the needed cross compiler!
drivers/crypto/talitos.c | 35 ---
AEAD key parsing is duplicated to multiple places in the kernel. Add a
common helper function to consolidate that functionality.
Cc: Herbert Xu
Cc: "David S. Miller"
Signed-off-by: Mathias Krause
---
crypto/authenc.c | 48 -
include/crypto/
Use the common helper function crypto_authenc_extractkeys() for key
parsing. Also ensure the auth key won't overflow the hash_ctx buffer.
Cc: Jamie Iles
Cc: Herbert Xu
Cc: "David S. Miller"
Signed-off-by: Mathias Krause
---
Not tested as I've no such hardware, nor the needed cross compiler!
On 14/10/2013 19:09, Jean-Christophe PLAGNIOL-VILLARD :
On 18:46 Mon 14 Oct , Nicolas Ferre wrote:
Change the sha/aes/tdes compatibility string to match common
case for the at91sam9g45 family which is to keep the at91 prefix.
Signed-off-by: Nicolas Ferre
---
arch/arm/boot/dts/sama5d3.dts
10 matches
Mail list logo