Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
361a7680
Commit
361a7680
authored
Jun 03, 2003
by
James Morris
Committed by
David S. Miller
Jun 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CRYPTO]: Use "select" kconfig facility instead of fragile defaults.
parent
69e324b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
10 deletions
+24
-10
crypto/Kconfig
crypto/Kconfig
+0
-10
net/ipv4/Kconfig
net/ipv4/Kconfig
+11
-0
net/ipv6/Kconfig
net/ipv6/Kconfig
+13
-0
No files found.
crypto/Kconfig
View file @
361a7680
...
@@ -6,16 +6,12 @@ menu "Cryptographic options"
...
@@ -6,16 +6,12 @@ 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 || INET6_AH=y || INET6_AH=m || \
INET6_ESP=y || INET6_ESP=m || INET6_IPCOMP=y || INET6_IPCOMP=m || IPV6_PRIVACY=y
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 || INET6_AH=y || INET6_AH=m || \
INET6_ESP=y || INET6_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.
...
@@ -35,16 +31,12 @@ config CRYPTO_MD4
...
@@ -35,16 +31,12 @@ 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 || INET6_AH=y || INET6_AH=m || \
INET6_ESP=y || INET6_ESP=m || IPV6_PRIVACY=y
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 || INET6_AH=y || INET6_AH=m || \
INET6_ESP=y || INET6_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).
...
@@ -72,7 +64,6 @@ config CRYPTO_SHA512
...
@@ -72,7 +64,6 @@ config CRYPTO_SHA512
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_ESP=y || INET_ESP=m || INET6_ESP=y || INET6_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).
...
@@ -138,7 +129,6 @@ config CRYPTO_AES
...
@@ -138,7 +129,6 @@ config CRYPTO_AES
config CRYPTO_DEFLATE
config CRYPTO_DEFLATE
tristate "Deflate compression algorithm"
tristate "Deflate compression algorithm"
depends on CRYPTO
depends on CRYPTO
default y if INET_IPCOMP=y || INET_IPCOMP=m || INET6_IPCOMP=y || INET6_IPCOMP=m
help
help
This is the Deflate algorithm (RFC1951), specified for use in
This is the Deflate algorithm (RFC1951), specified for use in
IPSec with the IPCOMP protocol (RFC3173, RFC2394).
IPSec with the IPCOMP protocol (RFC3173, RFC2394).
...
...
net/ipv4/Kconfig
View file @
361a7680
...
@@ -343,6 +343,10 @@ config SYN_COOKIES
...
@@ -343,6 +343,10 @@ config SYN_COOKIES
config INET_AH
config INET_AH
tristate "IP: AH transformation"
tristate "IP: AH transformation"
select CRYPTO
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
---help---
---help---
Support for IPsec AH.
Support for IPsec AH.
...
@@ -350,6 +354,11 @@ config INET_AH
...
@@ -350,6 +354,11 @@ config INET_AH
config INET_ESP
config INET_ESP
tristate "IP: ESP transformation"
tristate "IP: ESP transformation"
select CRYPTO
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
select CRYPTO_DES
---help---
---help---
Support for IPsec ESP.
Support for IPsec ESP.
...
@@ -357,6 +366,8 @@ config INET_ESP
...
@@ -357,6 +366,8 @@ config INET_ESP
config INET_IPCOMP
config INET_IPCOMP
tristate "IP: IPComp transformation"
tristate "IP: IPComp transformation"
select CRYPTO
select CRYPTO_DEFLATE
---help---
---help---
Support for IP Paylod Compression (RFC3173), typically needed
Support for IP Paylod Compression (RFC3173), typically needed
for IPsec.
for IPsec.
...
...
net/ipv6/Kconfig
View file @
361a7680
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
config IPV6_PRIVACY
config IPV6_PRIVACY
bool "IPv6: Privacy Extensions (RFC 3041) support"
bool "IPv6: Privacy Extensions (RFC 3041) support"
depends on IPV6
depends on IPV6
select CRYPTO
select CRYPTO_MD5
---help---
---help---
Privacy Extensions for Stateless Address Autoconfiguration in IPv6
Privacy Extensions for Stateless Address Autoconfiguration in IPv6
support. With this option, additional periodically-alter
support. With this option, additional periodically-alter
...
@@ -20,6 +22,10 @@ config IPV6_PRIVACY
...
@@ -20,6 +22,10 @@ config IPV6_PRIVACY
config INET6_AH
config INET6_AH
tristate "IPv6: AH transformation"
tristate "IPv6: AH transformation"
depends on IPV6
depends on IPV6
select CRYPTO
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
---help---
---help---
Support for IPsec AH.
Support for IPsec AH.
...
@@ -28,6 +34,11 @@ config INET6_AH
...
@@ -28,6 +34,11 @@ config INET6_AH
config INET6_ESP
config INET6_ESP
tristate "IPv6: ESP transformation"
tristate "IPv6: ESP transformation"
depends on IPV6
depends on IPV6
select CRYPTO
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
select CRYPTO_DES
---help---
---help---
Support for IPsec ESP.
Support for IPsec ESP.
...
@@ -36,6 +47,8 @@ config INET6_ESP
...
@@ -36,6 +47,8 @@ config INET6_ESP
config INET6_IPCOMP
config INET6_IPCOMP
tristate "IPv6: IPComp transformation"
tristate "IPv6: IPComp transformation"
depends on IPV6
depends on IPV6
select CRYPTO
select CRYPTO_DEFLATE
---help---
---help---
Support for IP Paylod Compression (RFC3173), typically needed
Support for IP Paylod Compression (RFC3173), typically needed
for IPsec.
for IPsec.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment