Commit b9e49a2e authored by David S. Miller's avatar David S. Miller

Merge nuts.ninka.net:/home/davem/src/BK/network-2.5

into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents 60e7fd5e e937176e
...@@ -206,6 +206,8 @@ SHA256 algorithm contributors: ...@@ -206,6 +206,8 @@ SHA256 algorithm contributors:
AES algorithm contributors: AES algorithm contributors:
Alexander Kjeldaas Alexander Kjeldaas
Herbert Valerio Riedel
Kyle McMartin
Adam J. Richter Adam J. Richter
Please send any credits updates or corrections to: Please send any credits updates or corrections to:
......
...@@ -6,12 +6,14 @@ menu "Cryptographic options" ...@@ -6,12 +6,14 @@ menu "Cryptographic options"
config CRYPTO config CRYPTO
bool "Cryptographic API" bool "Cryptographic API"
default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
help help
This option provides the core Cryptographic API. This option provides the core Cryptographic API.
config CRYPTO_HMAC config CRYPTO_HMAC
bool "HMAC support" bool "HMAC support"
depends on CRYPTO depends on CRYPTO
default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
help help
HMAC: Keyed-Hashing for Message Authentication (RFC2104). HMAC: Keyed-Hashing for Message Authentication (RFC2104).
This is required for IPSec. This is required for IPSec.
...@@ -31,12 +33,14 @@ config CRYPTO_MD4 ...@@ -31,12 +33,14 @@ config CRYPTO_MD4
config CRYPTO_MD5 config CRYPTO_MD5
tristate "MD5 digest algorithm" tristate "MD5 digest algorithm"
depends on CRYPTO depends on CRYPTO
default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
help help
MD5 message digest algorithm (RFC1321). MD5 message digest algorithm (RFC1321).
config CRYPTO_SHA1 config CRYPTO_SHA1
tristate "SHA1 digest algorithm" tristate "SHA1 digest algorithm"
depends on CRYPTO depends on CRYPTO
default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
help help
SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
...@@ -52,6 +56,7 @@ config CRYPTO_SHA256 ...@@ -52,6 +56,7 @@ config CRYPTO_SHA256
config CRYPTO_DES config CRYPTO_DES
tristate "DES and Triple DES EDE cipher algorithms" tristate "DES and Triple DES EDE cipher algorithms"
depends on CRYPTO depends on CRYPTO
default y if INET_AH=y || INET_AH=m || INET_ESP=y || INET_ESP=m
help help
DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* *
* Linux developers: * Linux developers:
* Alexander Kjeldaas <astor@fast.no> * Alexander Kjeldaas <astor@fast.no>
* Herbert Valerio Riedel <hvr@hvrlab.org>
* Kyle McMartin <kyle@debian.org>
* Adam J. Richter <adam@yggdrasil.com> (conversion to 2.5 API). * Adam J. Richter <adam@yggdrasil.com> (conversion to 2.5 API).
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
......
...@@ -310,6 +310,7 @@ struct xfrm_algo_desc *xfrm_ealg_get_byidx(unsigned int idx) ...@@ -310,6 +310,7 @@ struct xfrm_algo_desc *xfrm_ealg_get_byidx(unsigned int idx)
*/ */
void xfrm_probe_algs(void) void xfrm_probe_algs(void)
{ {
#ifdef CONFIG_CRYPTO
int i, status; int i, status;
BUG_ON(in_softirq()); BUG_ON(in_softirq());
...@@ -325,6 +326,7 @@ void xfrm_probe_algs(void) ...@@ -325,6 +326,7 @@ void xfrm_probe_algs(void)
if (ealg_list[i].available != status) if (ealg_list[i].available != status)
ealg_list[i].available = status; ealg_list[i].available = status;
} }
#endif
} }
int xfrm_count_auth_supported(void) int xfrm_count_auth_supported(void)
......
...@@ -684,7 +684,7 @@ static int __init init_ipv6_mibs(void) ...@@ -684,7 +684,7 @@ static int __init init_ipv6_mibs(void)
} }
static void __exit cleanup_ipv6_mibs(void) static void cleanup_ipv6_mibs(void)
{ {
kfree_percpu(ipv6_statistics[0]); kfree_percpu(ipv6_statistics[0]);
kfree_percpu(ipv6_statistics[1]); kfree_percpu(ipv6_statistics[1]);
......
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