Commit 6fbf2cb7 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[IPSEC]: Allow async algorithms

Now that ESP uses authenc we can turn on the support for async
algorithms in IPsec.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 38320c70
...@@ -358,21 +358,21 @@ static const struct xfrm_algo_list xfrm_aalg_list = { ...@@ -358,21 +358,21 @@ static const struct xfrm_algo_list xfrm_aalg_list = {
.algs = aalg_list, .algs = aalg_list,
.entries = ARRAY_SIZE(aalg_list), .entries = ARRAY_SIZE(aalg_list),
.type = CRYPTO_ALG_TYPE_HASH, .type = CRYPTO_ALG_TYPE_HASH,
.mask = CRYPTO_ALG_TYPE_HASH_MASK | CRYPTO_ALG_ASYNC, .mask = CRYPTO_ALG_TYPE_HASH_MASK,
}; };
static const struct xfrm_algo_list xfrm_ealg_list = { static const struct xfrm_algo_list xfrm_ealg_list = {
.algs = ealg_list, .algs = ealg_list,
.entries = ARRAY_SIZE(ealg_list), .entries = ARRAY_SIZE(ealg_list),
.type = CRYPTO_ALG_TYPE_BLKCIPHER, .type = CRYPTO_ALG_TYPE_BLKCIPHER,
.mask = CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_ASYNC, .mask = CRYPTO_ALG_TYPE_BLKCIPHER_MASK,
}; };
static const struct xfrm_algo_list xfrm_calg_list = { static const struct xfrm_algo_list xfrm_calg_list = {
.algs = calg_list, .algs = calg_list,
.entries = ARRAY_SIZE(calg_list), .entries = ARRAY_SIZE(calg_list),
.type = CRYPTO_ALG_TYPE_COMPRESS, .type = CRYPTO_ALG_TYPE_COMPRESS,
.mask = CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_ASYNC, .mask = CRYPTO_ALG_TYPE_MASK,
}; };
static struct xfrm_algo_desc *xfrm_find_algo( static struct xfrm_algo_desc *xfrm_find_algo(
......
Markdown is supported
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