aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_algo.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-01-28 22:35:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-31 22:27:02 -0500
commit6fbf2cb77461a0cd0675228d20dd0f70d7b2251f (patch)
tree42f95202bb4095eaf9f498519d8ae63036214448 /net/xfrm/xfrm_algo.c
parent38320c70d282be1997a5204c7c7fe14c3aa6bfaa (diff)
[IPSEC]: Allow async algorithms
Now that ESP uses authenc we can turn on the support for async algorithms in IPsec. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_algo.c')
-rw-r--r--net/xfrm/xfrm_algo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index b5c5347aed66..02e3ecf9585d 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -358,21 +358,21 @@ static const struct xfrm_algo_list xfrm_aalg_list = {
358 .algs = aalg_list, 358 .algs = aalg_list,
359 .entries = ARRAY_SIZE(aalg_list), 359 .entries = ARRAY_SIZE(aalg_list),
360 .type = CRYPTO_ALG_TYPE_HASH, 360 .type = CRYPTO_ALG_TYPE_HASH,
361 .mask = CRYPTO_ALG_TYPE_HASH_MASK | CRYPTO_ALG_ASYNC, 361 .mask = CRYPTO_ALG_TYPE_HASH_MASK,
362}; 362};
363 363
364static const struct xfrm_algo_list xfrm_ealg_list = { 364static const struct xfrm_algo_list xfrm_ealg_list = {
365 .algs = ealg_list, 365 .algs = ealg_list,
366 .entries = ARRAY_SIZE(ealg_list), 366 .entries = ARRAY_SIZE(ealg_list),
367 .type = CRYPTO_ALG_TYPE_BLKCIPHER, 367 .type = CRYPTO_ALG_TYPE_BLKCIPHER,
368 .mask = CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_ASYNC, 368 .mask = CRYPTO_ALG_TYPE_BLKCIPHER_MASK,
369}; 369};
370 370
371static const struct xfrm_algo_list xfrm_calg_list = { 371static const struct xfrm_algo_list xfrm_calg_list = {
372 .algs = calg_list, 372 .algs = calg_list,
373 .entries = ARRAY_SIZE(calg_list), 373 .entries = ARRAY_SIZE(calg_list),
374 .type = CRYPTO_ALG_TYPE_COMPRESS, 374 .type = CRYPTO_ALG_TYPE_COMPRESS,
375 .mask = CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_ASYNC, 375 .mask = CRYPTO_ALG_TYPE_MASK,
376}; 376};
377 377
378static struct xfrm_algo_desc *xfrm_find_algo( 378static struct xfrm_algo_desc *xfrm_find_algo(