RE: [PATCH] crypto: testmgr - make the assoc data and iv contiguous for aead tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 9 Jul 2012 11:19:35 +0300, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Jul 09, 2012 at 11:17:43AM +0300, Horia Geanta wrote:
>> In case of AEAD, some crypto engines expect assoc data and iv to be
>> contiguous. This is how native IPsec works; make testmgr's behaviour
>> the same. (Alternative would be to fix this in the crypto engine
>> drivers, but this is pricy since it would involve memory allocation and
>> copy in the hot path.)
>> 
>> Signed-off-by: Horia Geanta <horia.geanta@xxxxxxxxxxxxx>
> 
> I think we should fix the buggy driver instead.
> 
> Thanks,

Ok, then we'll see how to work around the HW limitation in the driver,
without affecting performance too much.

Cheers,
Horia



--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux