[PATCH] crypto: fix build failure in mv_cesa.c (missing of header)

2012-03-09 Thread Paul Gortmaker
Commit 737b75872487f560397ba34846a19823b1addf88 (linux-next) "ARM: kirkwood: mv_cesa devicetree bindings" fails to compile as follows: CC drivers/crypto/mv_cesa.o drivers/crypto/mv_cesa.c:1139: error: implicit declaration of function 'of_match_ptr' drivers/crypto/mv_cesa.c:1139: err

Re: [PATCH] xfrm: fix hmac(sha256) truncation length

2012-03-09 Thread Herbert Xu
On Fri, Mar 09, 2012 at 08:41:10AM -0500, Jarod Wilson wrote: > > Okay, I suspected that might be the case. No plans to ever invert that, > so that userspace has to explicitly set the shorter truncbits for > backwards compat? That's up to the userspace implementation. If its configuration all

Re: [PATCH] xfrm: fix hmac(sha256) truncation length

2012-03-09 Thread Jarod Wilson
Herbert Xu wrote: On Wed, Mar 07, 2012 at 03:12:37PM -0500, Jarod Wilson wrote: Commit bc74b0c8af17458ecae77f725e507ab5fd100105 added proper hmac sha384 and sha512 variants with truncation lengths of 192 and 256 respectively, per RFC4868: No, it was done deliberately to maintain backwards comp