[PATCH] crypto: testmgr - add aead cbc des, des3_ede tests

2014-05-21 Thread Nitesh Lal
Test vectors were taken from existing test for CBC(DES3_EDE). Associated data has been added to test vectors. HMAC computed with Crypto++ has been used. Following algos have been covered. (a) authenc(hmac(sha1),cbc(des)) (b) authenc(hmac(sha1),cbc(des3_ede)) (c)

Crypto Fixes for 3.15

2014-05-21 Thread Herbert Xu
Hi Linus: This push fixes a NULL pointer dereference on allocation failure in caam, as well as a regression in the ctr mode on s390 that was added with the recent concurrency fixes. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or

Re: [PATCH 1/6] crypto: SHA1 multibuffer map scatter gather walk's buffer address directly for x86_64

2014-05-21 Thread Herbert Xu
On Thu, May 15, 2014 at 11:12:03AM -0700, Tim Chen wrote: In which case your patch would basically do kmap if ASYNC and kmap_atomic otherwise. I'll try to make such a patch. Please see attached. It will be nice if scatterwalk_map and unmap can also be made async aware. Right now it

Re: [PATCH v7 1/6] SP800-90A Deterministic Random Bit Generator

2014-05-21 Thread Stephan Mueller
Am Mittwoch, 21. Mai 2014, 06:18:58 schrieb Stephan Mueller: Hi, +/* + * Tests as defined in 11.3.2 in addition to the cipher tests: testing + * of the error handling. + * + * Note: testing of failing seed source as defined in 11.3.2 is not applicable + * as seed source of get_random_bytes

Re: [PATCH 1/6] crypto: SHA1 multibuffer map scatter gather walk's buffer address directly for x86_64

2014-05-21 Thread Tim Chen
On Wed, 2014-05-21 at 21:05 +0800, Herbert Xu wrote: On Thu, May 15, 2014 at 11:12:03AM -0700, Tim Chen wrote: In which case your patch would basically do kmap if ASYNC and kmap_atomic otherwise. I'll try to make such a patch. Please see attached. It will be nice if