[patch] crypto: cleanup: remove unneeded null check

2010-04-28 Thread Dan Carpenter
We don't check frontend consistently in crypto_init_spawn2(). We check it at the start of the function but then we dereference it unconditionally in the parameter list when we call crypto_init_spawn(). I looked at the places that call crypto_init_spawn2() and frontend is always a valid pointer

[PATCH 1/3] crypto: talitos - prepare for adding ahash algorithms

2010-04-28 Thread lee . nipper
No functional changes. Use a union in talitos_alg_template for the crypto_alg so that we can add a member later for ahash_alg. Signed-off-by: Lee Nipper lee.nip...@gmail.com --- drivers/crypto/talitos.c | 39 +-- 1 files changed, 21 insertions(+), 18

[PATCH 2/3] crypto: talitos - second prepare step for adding ahash algorithms

2010-04-28 Thread lee . nipper
Used talitos_alg_template in talitos_crypto_alg so that it will accommodate ahash algorithms. Added some preparation code for ahash allocation and removal. No actual algorithms yet. Signed-off-by: Lee Nipper lee.nip...@gmail.com --- drivers/crypto/talitos.c | 55

[PATCH][RFC] crypto: talitos - add hmac algorithms

2010-04-28 Thread lee . nipper
Add the these hmac algorithms to talitos: hmac(md5), hmac(sha1), hmac(sha256), hmac(sha384), hmac(sha512). These are all type ahash. Signed-off-by: Lee Nipper lee.nip...@gmail.com --- Currently on an 8349E, there's a problem with hmac for any talitos hmac sequence requiring an

[PATCH 3/3] crypto: talitos - add hash algorithms

2010-04-28 Thread lee . nipper
Add the following alorithms to talitos: md5, sha1, sha256, sha384, sha512. These are all type ahash. Signed-off-by: Lee Nipper lee.nip...@gmail.com --- This patch series (3 of 3) applies against the kernel.org crypto tree at

[PATCH 1/2] crypto: updates omap sham device related platform code

2010-04-28 Thread Dmitry Kasatkin
- registration with multi OMAP kernels support - clocks Signed-off-by: Dmitry Kasatkin dmitry.kasat...@nokia.com --- arch/arm/mach-omap2/clock2420_data.c |2 +- arch/arm/mach-omap2/clock2430_data.c |2 +- arch/arm/mach-omap2/clock3xxx_data.c |2 +-

[PATCHv4 0/2] omap-sham: OMAP SHA1/MD5 driver

2010-04-28 Thread Dmitry Kasatkin
Changes to v4: - concurrent requests support via queue - hmac - shash support removed Dmitry Kasatkin (2): crypto: updates omap sham device related platform code crypto: omap-sham - omap sha1 md5 driver arch/arm/mach-omap2/clock2420_data.c |2 +-

[PATCH 2/2] crypto: omap-sham - omap sha1 md5 driver

2010-04-28 Thread Dmitry Kasatkin
Earlier kernel contained omap sha1 and md5 driver, which was not maintained, was not ported to new crypto APIs and removed from the source tree. - implements async crypto API using dma and cpu. - supports multiple sham instances if available - hmac - concurrent requests Signed-off-by: Dmitry

Re: [PATCH][RFC] crypto: talitos - add hmac algorithms

2010-04-28 Thread Lee Nipper
On Wed, Apr 28, 2010 at 07:33, lee.nip...@gmail.com wrote: Add the these hmac algorithms to talitos:    hmac(md5),    hmac(sha1),    hmac(sha256),    hmac(sha384),    hmac(sha512). These are all type ahash. This patch jumped in front of the 3rd patch in the series of 3 in the message