commit | 64aa42338e9a88c139b89797163714f0f95f3c6b | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed May 13 15:26:10 2015 +0800 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed May 13 09:34:53 2015 +0200 |
tree | 512567243de7083143af3fa1d4511c790d0e43a6 | |
parent | bdddbf6996c0b9299efc97b8f66e06286f3aa8c9 [diff] |
esp4: Use high-order sequence number bits for IV generation I noticed we were only using the low-order bits for IV generation when ESN is enabled. This is very bad because it means that the IV can repeat. We must use the full 64 bits. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>