From: Yuan Kang
Job descriptors only contain header and seq pointers.
Other commands are stored in separate shared descriptors
for encrypt, decrypt and givencrypt, stored as arrays
in caam_ctx.
This requires additional macros to create math commands
to calculate assoclen and cryptlen.
Signed-o
From: Yuan Kang
caam now supports encrypt and decrypt
for aes, des and 3des
Signed-off-by: Yuan Kang
Signed-off-by: Kim Phillips
---
drivers/crypto/caam/caamalg.c | 510 +
drivers/crypto/caam/compat.h |1 +
2 files changed, 511 insertions(+), 0 de
From: Yuan Kang
"aead_authenc" and "ipsec_esp" changed to "aead,"
except for function "ipsec_esp," which is changed
to "init_aead_job."
Variable name of aead_request structures changed
to "req" and name of aead_givcrypt_request structure
changed to "areq"
Signed-off-by: Yuan Kang
Signed-off-by
crypto/ablkcipher.c's setkey() has already checked against the min, max
key sizes before it calls here, and all max_keysize assignments in the
algorithm template array do not exceed TALITOS_MAX_KEY_SIZE.
Signed-off-by: Kim Phillips
---
drivers/crypto/talitos.c | 11 ---
1 files changed
From: Yuan Kang
caam_ctx.key_phys to key_dma
caam_alg_template supports multiple algorithm types
listed in union, which requires cases for
different types in function caam_alg_alloc
Signed-off-by: Yuan Kang
Signed-off-by: Kim Phillips
---
drivers/crypto/caam/caamalg.c | 64
Signed-off-by: Kim Phillips
---
drivers/crypto/talitos.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index bd9e2ca..521244e 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -1429,7 +1429,
IRQ done notification is always set. Remove its explicit
assignment from the hot path by including it in the
descriptor header template assignment in talitos_cra_init.
Signed-off-by: Kim Phillips
---
drivers/crypto/talitos.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff
Assign single target channel per tfm in talitos_cra_init instead of
performing channel scheduling dynamically during the encryption request.
This changes the talitos_submit interface to accept a new channel
number argument. Without this, rapid bursts of misc. sized requests
could make it possible
loop-AES changes since previous release:
- build-initrd.sh is now able to set up more than one loop device.
- Fixed build on 3.x kernels.
- Lots of #ifdef spaghetti removed for 3.x kernels.
- Fixed build on recent RHEL kernels.
bzip2 compressed tarball is here:
http://loop-aes.sourceforge.ne
On Thu, Jul 07, 2011 at 02:10:39AM -0700, David Miller wrote:
> From: Mathias Krause
> Date: Thu, 7 Jul 2011 10:33:50 +0200
>
> > In gf128mul_lle() and gf128mul_bbe() r isn't completely initialized with
> > zero because the size argument passed to memset() is the size of the
> > pointer, not the
10 matches
Mail list logo