Re: [PATCH] crypto: gcm - restrict assoclen for rfc4543

From: Iuliana Prodan
Date: Fri Jul 19 2019 - 03:14:04 EST


On 7/18/2019 6:11 PM, Herbert Xu wrote:
> On Thu, Jul 18, 2019 at 10:59:07PM +0800, Herbert Xu wrote:
>>
>> So I presume the driver does enforce the limit. Please actually
>> state that in the commit description for future reference.
>
> Also have you looked at whether other drivers would be affected
> by this? It wouldn't be so nice if this change makes other drivers
> fail the same test as a result.

I've checked the other drivers and I found rfc4543 support in bcm and
ccree. I've sent fixes for these two, but I don't have hardware to test
on, so they are just compile tested.

Link: https://patchwork.kernel.org/project/linux-crypto/list/?series=147747

Regards,
Iulia