-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
161 lines (130 loc) · 3.53 KB
/
Copy pathKconfig
File metadata and controls
161 lines (130 loc) · 3.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "$PACKAGE_NAME/$SRCARCH $ARCH $D $COMPILER Configuration on $PLATFORM"
config ARCH
string
option env="ARCH"
config SRCARCH
string
option env="SRCARCH"
config SUBARCH
string
option env="SUBARCH"
config HOST
string
option env="HOST"
config TARGET
string
option env="TARGET"
config PLATFORM
string
option env="PLATFORM"
config DEBUG
string
option env="DEBUG"
config COMPILER
string
option env="COMPILER"
config PACKAGE_NAME
string
option env="PACKAGE_NAME"
config SRCTREE
string
option env="srctree"
config CRYPTO_DIR
string
option env="CRYPTO_DIR"
menu "Architecture options"
source "arch/$SRCARCH/Kconfig"
source "arch/Kconfig"
endmenu
menu "Build options"
source "scripts/Kconfig.compiler"
source "scripts/Kconfig.debug"
endmenu
menu "Crypto options"
config CRYPTO_VERIFIED
bool "Use only verified cryptography"
default n
help
When enabled, only formally verified or audited cryptographic
implementations are available for selection. Currently this
restricts algorithm choices to aws-lc provided implementations.
If unsure, say N.
config OPENSSL_NO_ASM
bool "Disable OpenSSL assembly optimizations"
default n
help
Pass no-asm to OpenSSL Configure, disabling architecture-specific
assembly implementations. Useful for debugging or unsupported
platforms.
If unsure, say N.
config OPENSSL_NO_SHARED
bool "Build OpenSSL as static only"
default y
help
Pass no-shared to OpenSSL Configure. When enabled, OpenSSL will
not build shared libraries.
config OPENSSL_NO_TESTS
bool "Skip OpenSSL test targets"
default y
help
Pass no-tests to OpenSSL Configure, skipping the build of
OpenSSL test programs.
config OPENSSL_FIPS
bool "Enable OpenSSL FIPS mode"
default n
help
Pass enable-fips to OpenSSL Configure.
If unsure, say N.
config OPENSSL_EXTRA_ARGS
string "Extra OpenSSL Configure arguments"
default ""
help
Additional arguments passed verbatim to OpenSSL's ./Configure.
For example: "no-ssl3 no-comp enable-ec_nistp_64_gcc_128"
endmenu
menu "Rustls options"
config RUSTLS_DEBUG
bool "Build rustls in debug profile"
default n
help
Build the vendored rustls (cargo) with the debug profile instead of
release. Faster to compile, slower at runtime.
If unsure, say N.
config RUSTLS_CARGO_ARGS
string "rustls cargo build arguments"
default "-p rustls-bench"
help
Arguments passed verbatim to `cargo build` for the vendored rustls.
Defaults to building the rustls-bench benchmarking tool used by the
TLS performance tests. For example: "-p rustls" for just the library.
endmenu
source "scripts/Kconfig.test"
menu "Test options"
config TEST_EVP_STATIC
bool "EVP digest benchmark (static link, noPIC)"
default n
help
Build the OpenSSL EVP digest benchmark test linked statically
against libssl/libcrypto with -static -no-pie (noPIC).
Triggers a vendor OpenSSL build if needed.
config TEST_EVP_DYNAMIC
bool "EVP digest benchmark (shared library)"
default n
help
Build the OpenSSL EVP digest benchmark test linked against
the shared libssl/libcrypto libraries.
Triggers a vendor OpenSSL build if needed.
config TEST_RUSTLS
bool "rustls TLS benchmark"
default n
help
Build the vendored rustls (cargo) so it is available for the TLS
performance tests. Triggers a rustls build during make check; see
RUSTLS_CARGO_ARGS for what is built.
If unsure, say N.
endmenu
source "$CRYPTO_DIR/modules/Kconfig"