xfrm: Always zero high-order sequence number bits
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 20 May 2015 16:38:12 +0000 (00:38 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 21 May 2015 04:56:23 +0000 (06:56 +0200)
As we're now always including the high bits of the sequence number
in the IV generation process we need to ensure that they don't
contain crap.

This patch ensures that the high sequence bits are always zeroed
so that we don't leak random data into the IV.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>

No differences found