Re: [PATCH] crypto: fix handling of ccm vectors with null assoc data

2009-01-22 Thread Herbert Xu
On Wed, Jan 21, 2009 at 08:07:22PM -0500, Neil Horman wrote: > > > Signed-off-by: Jarod Wilson > > This looks good to me. Thanks Jarod! > Acked-by: Neil Horman Patch applied. Thanks Jarod! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.ap

Re: [PATCH] crypto: fix handling of ccm vectors with null assoc data

2009-01-21 Thread Neil Horman
On Wed, Jan 21, 2009 at 04:41:01PM -0500, Jarod Wilson wrote: > Its a valid use case to have null associated data in a ccm vector, but > this case isn't being handled properly right now. > > The following ccm decryption/verification test vector, using the > rfc4309 implementation regularly trigger

[PATCH] crypto: fix handling of ccm vectors with null assoc data

2009-01-21 Thread Jarod Wilson
Its a valid use case to have null associated data in a ccm vector, but this case isn't being handled properly right now. The following ccm decryption/verification test vector, using the rfc4309 implementation regularly triggers a panic, as will any other vector with null assoc data: * key: ab2f8a