Skip to content
Commit 71331da5 authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Steffen Klassert
Browse files

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: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent bb65a9cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment