ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
authorThomas Egerer <hakke_007@gmx.de>
Mon, 25 Jan 2016 11:58:44 +0000 (12:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jan 2016 18:45:41 +0000 (10:45 -0800)
commit32b6170ca59ccf07d0e394561e54b2cd9726038c
tree7045be87cdea03e6f7371f2097a7c24a03cf89f3
parent27f7ed2b11d42ab6d796e96533c2076ec220affc
ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV

The ESP algorithms using CBC mode require echainiv. Hence INET*_ESP have
to select CRYPTO_ECHAINIV in order to work properly. This solves the
issues caused by a misconfiguration as described in [1].
The original approach, patching crypto/Kconfig was turned down by
Herbert Xu [2].

[1] https://lists.strongswan.org/pipermail/users/2015-December/009074.html
[2] http://marc.info/?l=linux-crypto-vger&m=145224655809562&w=2

Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/Kconfig
net/ipv6/Kconfig