[PATCH 3/4] crypto: talitos - add sha224, sha384 and sha512 to existing AEAD algorithms

2012-07-03 Thread Horia Geanta
With this, now all combinations of CBC: AES, 3DES-EDE with HMAC: SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 are supported. Signed-off-by: Horia Geanta horia.gea...@freescale.com --- drivers/crypto/talitos.c | 161 +- drivers/crypto/talitos.h |6 ++

[PATCH 2/4] crypto: talitos - export the talitos_submit function

2012-07-03 Thread Horia Geanta
This patch exports the talitos_submit function so that on need basis same can be used by other entities. Signed-off-by: Sandeep Malik sandeep.ma...@freescale.com Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Horia Geanta horia.gea...@freescale.com ---

[PATCH 1/4] crypto: talitos - move talitos structures to header file

2012-07-03 Thread Horia Geanta
This patch moves the talitos structure definitions from c file to its header file so that the same can be shared on need basis. Signed-off-by: Sandeep Malik sandeep.ma...@freescale.com Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Horia Geanta horia.gea...@freescale.com

[PATCH 4/4] crypto: testmgr - add aead cbc aes hmac sha1,256,512 test vectors

2012-07-03 Thread Horia Geanta
Test vectors were generated starting from existing CBC(AES) test vectors (RFC3602, NIST SP800-38A) and adding HMAC(SHA*) computed with Crypto++ and double-checked with HashCalc. Signed-off-by: Horia Geanta horia.gea...@freescale.com --- crypto/testmgr.c | 36 +++ crypto/testmgr.h | 834