Re: ESP output when using NULL encryption and NON authentication

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

 



Dean Jenkins <djenkins@xxxxxxxxxx> wrote:
>
> However, ESP's call to crypto_aead_decrypt() puts the start of the 
> encapsulated packet (first 16 bytes) into the IV field of the AEAD request 
> instead of wholly in the src scatterlist. The dst scatterlist is in fact the 
> same src scatterlist.

Well if you're using NULL encryption then the IV size will be zero.
So even though the IV field has the pointer to the start of the
payload so does the src scatterlist.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <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