xfrm_algo: probe asynchronous block ciphers instead of synchronous
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 28 Dec 2012 10:04:53 +0000 (12:04 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 8 Jan 2013 06:01:52 +0000 (07:01 +0100)
commit71331da500cc13dc3c7e5db397d553c80b2e9994
tree7611a7cb5b53534d0159d54beead7dd9a17c423f
parentbb65a9cb953fdfe9c507e8dbb6c4ec2540484bd3
xfrm_algo: probe asynchronous block ciphers instead of synchronous

IPSEC uses block ciphers asynchronous, but probes only for synchronous block
ciphers and makes ealg entries only available if synchronous block cipher is
found. So with setup, where hardware crypto driver registers asynchronous
block ciphers and software crypto module is not build, ealg is not marked
as being available.

Use crypto_has_ablkcipher instead and remove ASYNC mask.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_algo.c