[PATCH 3/3] crypto: talitos - Add ahash algorithms (1st cut, digest only)

2009-03-15 Thread Lee Nipper
This patch adds simple ahash algorithms for sha1, hmac(sha1), sha256, hmac(sha256), sha384, hmac(sha384), sha512. hmac(sha512). md5, hmac(md5). The implementation provides digest only, as the update and final functions are omitted. Signed-off-by: Lee Nipper --- drivers/crypto/talitos.c | 464 +

[PATCH 2/3] crypto: talitos - Add ablkcipher algorithms

2009-03-15 Thread Lee Nipper
Add these ablkcipher algorithms: cbc(aes), cbc(des3_ede). ipsec_esp_edesc is renamed to talitos_edesc to use it in ablkcipher routines. Added handling of chained scatterlists with zero length entry because eseqiv uses it. Added new map and unmap routines. Signed-off-by: Lee Nipper --- drivers/c

[PATCH 1/3] crypto: talitos - scaffolding for new algorithm types

2009-03-15 Thread Lee Nipper
This patch is preparation for adding new algorithm types. Some elements which are AEAD specific were renamed. The algorithm template structure was changed to use crypto_alg, and talitos_alg_alloc was made more general with respect to algorithm types. Signed-off-by: Lee Nipper --- drivers/crypto

[PATCH] crypto: talitos - protect against possible null ptr upon error

2009-03-15 Thread Lee Nipper
Added test for null descriptor returned from current_desc. Also removed the diagnostic from current_desc, and added one instead in talitos_error to report an EU error without finding the descriptor. Signed-off-by: Lee Nipper --- drivers/crypto/talitos.c | 14 +- 1 files changed, 9