Re: [PATCH 2/11] crypto: scatterwalk - Add missing sg_init_table to scatterwalk_ffwd

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

 



On Wed, May 27, 2015 at 01:24:48PM +0200, Stephan Mueller wrote:
> 
> To be precise, the concern I currently have are as follows. But I will test it 
> later and report back:
> 
> The seqiv.c uses the following call:
> 
>                         scatterwalk_ffwd(dstbuf, req->dst,
>                                          req->assoclen + ivsize),
>                         scatterwalk_ffwd(srcbuf, req->src,
>                                          req->assoclen + ivsize),
> 
> That together with my other tests for seqniv(rfc4106()) this indicates that 
> the input SGL must contain AD || IV || PT.

seqniv verifies that the IV is present.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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