Re: ablkcipher algorithm with givencrypt

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

 



On Fri, 2009-02-06 at 17:26 -0600, Lee Nipper wrote:
> During testing however, it seems that eseqiv_givencrypt doesn't handle a scatterlist
> fully for an already fragmented src.  For example, a large ping (> 1460 bytes)
> going out causes a scatterlist with two entries within esp_output, but it appears that
> the src scatterlist doesn't carry forth properly through eseqiv_givencrypt
> into the ablkcipher encrypt routine.

I was mistaken.  I was unaware of the chained sg from eseqiv_givencrypt.
Using scatterwalk_sg_next instead of sg_next handles it.

Lee

--
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