1 diff -ruN openswan-2.4.5-old/linux/net/ipsec/aes/ipsec_alg_aes.c openswan-2.4.5-new/linux/net/ipsec/aes/ipsec_alg_aes.c
2 --- openswan-2.4.5-old/linux/net/ipsec/aes/ipsec_alg_aes.c 2005-05-20 18:48:55.000000000 +0200
3 +++ openswan-2.4.5-new/linux/net/ipsec/aes/ipsec_alg_aes.c 2006-06-20 00:17:57.000000000 +0200
5 static int keymaxbits=0;
6 #if defined(CONFIG_KLIPS_ENC_AES_MODULE)
7 MODULE_AUTHOR("JuanJo Ciarlante <jjo-ipsec@mendoza.gov.ar>");
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52)
9 +module_param(debug_aes, int, 0);
10 +module_param(test_aes, int, 0);
11 +module_param(excl_aes, int, 0);
12 +module_param(keyminbits, int, 0);
13 +module_param(keymaxbits, int, 0);
15 MODULE_PARM(debug_aes, "i");
16 MODULE_PARM(test_aes, "i");
17 MODULE_PARM(excl_aes, "i");
18 MODULE_PARM(keyminbits, "i");
19 MODULE_PARM(keymaxbits, "i");
23 #if CONFIG_KLIPS_ENC_AES_MAC
24 #include "crypto/aes_xcbc_mac.h"
29 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,52)
30 +module_param(auth_id, int, 0);
32 MODULE_PARM(auth_id, "i");
36 #define ESP_AES 12 /* truely _constant_ :) */