~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/crypto/Makefile

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /crypto/Makefile (Version linux-6.11.5) and /crypto/Makefile (Version linux-2.6.32.71)


  1 # SPDX-License-Identifier: GPL-2.0             << 
  2 #                                                   1 #
  3 # Cryptographic API                                 2 # Cryptographic API
  4 #                                                   3 #
  5                                                     4 
  6 obj-$(CONFIG_CRYPTO) += crypto.o                    5 obj-$(CONFIG_CRYPTO) += crypto.o
  7 crypto-y := api.o cipher.o compress.o          !!   6 crypto-objs := api.o cipher.o compress.o
                                                   >>   7 
                                                   >>   8 obj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o
  8                                                     9 
  9 obj-$(CONFIG_CRYPTO_ENGINE) += crypto_engine.o << 
 10 obj-$(CONFIG_CRYPTO_FIPS) += fips.o                10 obj-$(CONFIG_CRYPTO_FIPS) += fips.o
 11                                                    11 
 12 crypto_algapi-$(CONFIG_PROC_FS) += proc.o          12 crypto_algapi-$(CONFIG_PROC_FS) += proc.o
 13 crypto_algapi-y := algapi.o scatterwalk.o $(cr !!  13 crypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y)
 14 obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.     14 obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
 15                                                    15 
 16 obj-$(CONFIG_CRYPTO_AEAD2) += aead.o               16 obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
 17 obj-$(CONFIG_CRYPTO_GENIV) += geniv.o          << 
 18                                                << 
 19 crypto_skcipher-y += lskcipher.o               << 
 20 crypto_skcipher-y += skcipher.o                << 
 21                                                << 
 22 obj-$(CONFIG_CRYPTO_SKCIPHER2) += crypto_skcip << 
 23 ifeq ($(CONFIG_BPF_SYSCALL),y)                 << 
 24 obj-$(CONFIG_CRYPTO_SKCIPHER2) += bpf_crypto_s << 
 25 endif                                          << 
 26                                                    17 
                                                   >>  18 crypto_blkcipher-objs := ablkcipher.o
                                                   >>  19 crypto_blkcipher-objs += blkcipher.o
                                                   >>  20 obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
                                                   >>  21 obj-$(CONFIG_CRYPTO_BLKCIPHER2) += chainiv.o
                                                   >>  22 obj-$(CONFIG_CRYPTO_BLKCIPHER2) += eseqiv.o
 27 obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o              23 obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
 28 obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o    << 
 29                                                    24 
 30 crypto_hash-y += ahash.o                       !!  25 crypto_hash-objs += ahash.o
 31 crypto_hash-y += shash.o                       !!  26 crypto_hash-objs += shash.o
 32 obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o        27 obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
 33                                                    28 
 34 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o   !!  29 obj-$(CONFIG_CRYPTO_PCOMP) += pcompress.o
 35 obj-$(CONFIG_CRYPTO_SIG2) += sig.o             << 
 36 obj-$(CONFIG_CRYPTO_KPP2) += kpp.o             << 
 37                                                << 
 38 dh_generic-y := dh.o                           << 
 39 dh_generic-y += dh_helper.o                    << 
 40 obj-$(CONFIG_CRYPTO_DH) += dh_generic.o        << 
 41                                                << 
 42 $(obj)/rsapubkey.asn1.o: $(obj)/rsapubkey.asn1 << 
 43 $(obj)/rsaprivkey.asn1.o: $(obj)/rsaprivkey.as << 
 44 $(obj)/rsa_helper.o: $(obj)/rsapubkey.asn1.h $ << 
 45                                                << 
 46 rsa_generic-y := rsapubkey.asn1.o              << 
 47 rsa_generic-y += rsaprivkey.asn1.o             << 
 48 rsa_generic-y += rsa.o                         << 
 49 rsa_generic-y += rsa_helper.o                  << 
 50 rsa_generic-y += rsa-pkcs1pad.o                << 
 51 obj-$(CONFIG_CRYPTO_RSA) += rsa_generic.o      << 
 52                                                << 
 53 $(obj)/ecdsasignature.asn1.o: $(obj)/ecdsasign << 
 54 $(obj)/ecdsa.o: $(obj)/ecdsasignature.asn1.h   << 
 55 ecdsa_generic-y += ecdsa.o                     << 
 56 ecdsa_generic-y += ecdsasignature.asn1.o       << 
 57 obj-$(CONFIG_CRYPTO_ECDSA) += ecdsa_generic.o  << 
 58                                                << 
 59 crypto_acompress-y := acompress.o              << 
 60 crypto_acompress-y += scompress.o              << 
 61 obj-$(CONFIG_CRYPTO_ACOMP2) += crypto_acompres << 
 62                                                    30 
 63 cryptomgr-y := algboss.o testmgr.o             !!  31 cryptomgr-objs := algboss.o testmgr.o
 64                                                    32 
 65 obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o       33 obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
 66 obj-$(CONFIG_CRYPTO_USER) += crypto_user.o     << 
 67 obj-$(CONFIG_CRYPTO_CMAC) += cmac.o            << 
 68 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o                34 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
 69 obj-$(CONFIG_CRYPTO_VMAC) += vmac.o                35 obj-$(CONFIG_CRYPTO_VMAC) += vmac.o
 70 obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o                36 obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
 71 obj-$(CONFIG_CRYPTO_NULL2) += crypto_null.o    !!  37 obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
 72 obj-$(CONFIG_CRYPTO_MD4) += md4.o                  38 obj-$(CONFIG_CRYPTO_MD4) += md4.o
 73 obj-$(CONFIG_CRYPTO_MD5) += md5.o                  39 obj-$(CONFIG_CRYPTO_MD5) += md5.o
                                                   >>  40 obj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
 74 obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o            41 obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
                                                   >>  42 obj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
                                                   >>  43 obj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
 75 obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o        44 obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
 76 obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.     45 obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
 77 obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.     46 obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
 78 obj-$(CONFIG_CRYPTO_SHA3) += sha3_generic.o    << 
 79 obj-$(CONFIG_CRYPTO_SM3) += sm3.o              << 
 80 obj-$(CONFIG_CRYPTO_SM3_GENERIC) += sm3_generi << 
 81 obj-$(CONFIG_CRYPTO_STREEBOG) += streebog_gene << 
 82 obj-$(CONFIG_CRYPTO_WP512) += wp512.o              47 obj-$(CONFIG_CRYPTO_WP512) += wp512.o
 83 CFLAGS_wp512.o := $(call cc-option,-fno-schedu !!  48 obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
 84 obj-$(CONFIG_CRYPTO_BLAKE2B) += blake2b_generi !!  49 obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
 85 CFLAGS_blake2b_generic.o := -Wframe-larger-tha << 
 86 obj-$(CONFIG_CRYPTO_ECB) += ecb.o                  50 obj-$(CONFIG_CRYPTO_ECB) += ecb.o
 87 obj-$(CONFIG_CRYPTO_CBC) += cbc.o                  51 obj-$(CONFIG_CRYPTO_CBC) += cbc.o
 88 obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o                52 obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
 89 obj-$(CONFIG_CRYPTO_CTS) += cts.o                  53 obj-$(CONFIG_CRYPTO_CTS) += cts.o
 90 obj-$(CONFIG_CRYPTO_LRW) += lrw.o                  54 obj-$(CONFIG_CRYPTO_LRW) += lrw.o
 91 obj-$(CONFIG_CRYPTO_XTS) += xts.o                  55 obj-$(CONFIG_CRYPTO_XTS) += xts.o
 92 obj-$(CONFIG_CRYPTO_CTR) += ctr.o                  56 obj-$(CONFIG_CRYPTO_CTR) += ctr.o
 93 obj-$(CONFIG_CRYPTO_XCTR) += xctr.o            << 
 94 obj-$(CONFIG_CRYPTO_HCTR2) += hctr2.o          << 
 95 obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o      << 
 96 obj-$(CONFIG_CRYPTO_ADIANTUM) += adiantum.o    << 
 97 obj-$(CONFIG_CRYPTO_NHPOLY1305) += nhpoly1305. << 
 98 obj-$(CONFIG_CRYPTO_GCM) += gcm.o                  57 obj-$(CONFIG_CRYPTO_GCM) += gcm.o
 99 obj-$(CONFIG_CRYPTO_CCM) += ccm.o                  58 obj-$(CONFIG_CRYPTO_CCM) += ccm.o
100 obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chach << 
101 obj-$(CONFIG_CRYPTO_AEGIS128) += aegis128.o    << 
102 aegis128-y := aegis128-core.o                  << 
103                                                << 
104 ifeq ($(ARCH),arm)                             << 
105 CFLAGS_aegis128-neon-inner.o += -ffreestanding << 
106 CFLAGS_aegis128-neon-inner.o += -mfpu=crypto-n << 
107 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aeg << 
108 endif                                          << 
109 ifeq ($(ARCH),arm64)                           << 
110 aegis128-cflags-y := -ffreestanding -mcpu=gene << 
111 aegis128-cflags-$(CONFIG_CC_IS_GCC) += -ffixed << 
112                                        -ffixed << 
113                                        -ffixed << 
114                                        -ffixed << 
115                                        -ffixed << 
116                                        -ffixed << 
117 CFLAGS_aegis128-neon-inner.o += $(aegis128-cfl << 
118 CFLAGS_REMOVE_aegis128-neon-inner.o += -mgener << 
119 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aeg << 
120 endif                                          << 
121 # Enable <arm_neon.h>                          << 
122 CFLAGS_aegis128-neon-inner.o += -isystem $(she << 
123                                                << 
124 obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o        << 
125 obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o            59 obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
126 obj-$(CONFIG_CRYPTO_DES) += des_generic.o          60 obj-$(CONFIG_CRYPTO_DES) += des_generic.o
127 obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o            61 obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
128 obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_gene !!  62 obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish.o
129 obj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfi !!  63 obj-$(CONFIG_CRYPTO_TWOFISH) += twofish.o
130 obj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generi << 
131 obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish     64 obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
132 obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generi !!  65 obj-$(CONFIG_CRYPTO_SERPENT) += serpent.o
133 CFLAGS_serpent_generic.o := $(call cc-option,- << 
134 obj-$(CONFIG_CRYPTO_AES) += aes_generic.o          66 obj-$(CONFIG_CRYPTO_AES) += aes_generic.o
135 CFLAGS_aes_generic.o := $(call cc-option,-fno- !!  67 obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia.o
136 obj-$(CONFIG_CRYPTO_SM4) += sm4.o              !!  68 obj-$(CONFIG_CRYPTO_CAST5) += cast5.o
137 obj-$(CONFIG_CRYPTO_SM4_GENERIC) += sm4_generi !!  69 obj-$(CONFIG_CRYPTO_CAST6) += cast6.o
138 obj-$(CONFIG_CRYPTO_AES_TI) += aes_ti.o        << 
139 obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia_gene << 
140 obj-$(CONFIG_CRYPTO_CAST_COMMON) += cast_commo << 
141 obj-$(CONFIG_CRYPTO_CAST5) += cast5_generic.o  << 
142 obj-$(CONFIG_CRYPTO_CAST6) += cast6_generic.o  << 
143 obj-$(CONFIG_CRYPTO_ARC4) += arc4.o                70 obj-$(CONFIG_CRYPTO_ARC4) += arc4.o
144 obj-$(CONFIG_CRYPTO_TEA) += tea.o                  71 obj-$(CONFIG_CRYPTO_TEA) += tea.o
145 obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o            72 obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
146 obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o            73 obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
147 obj-$(CONFIG_CRYPTO_SEED) += seed.o                74 obj-$(CONFIG_CRYPTO_SEED) += seed.o
148 obj-$(CONFIG_CRYPTO_ARIA) += aria_generic.o    !!  75 obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
149 obj-$(CONFIG_CRYPTO_CHACHA20) += chacha_generi << 
150 obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_gene << 
151 obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o          76 obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
                                                   >>  77 obj-$(CONFIG_CRYPTO_ZLIB) += zlib.o
152 obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mi     78 obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
153 obj-$(CONFIG_CRYPTO_CRC32C) += crc32c_generic. !!  79 obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
154 obj-$(CONFIG_CRYPTO_CRC32) += crc32_generic.o  !!  80 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o
155 obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif_co !!  81 obj-$(CONFIG_CRYPTO_LZO) += lzo.o
156 obj-$(CONFIG_CRYPTO_CRC64_ROCKSOFT) += crc64_r << 
157 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o auth << 
158 obj-$(CONFIG_CRYPTO_LZO) += lzo.o lzo-rle.o    << 
159 obj-$(CONFIG_CRYPTO_LZ4) += lz4.o              << 
160 obj-$(CONFIG_CRYPTO_LZ4HC) += lz4hc.o          << 
161 obj-$(CONFIG_CRYPTO_XXHASH) += xxhash_generic. << 
162 obj-$(CONFIG_CRYPTO_842) += 842.o              << 
163 obj-$(CONFIG_CRYPTO_RNG2) += rng.o                 82 obj-$(CONFIG_CRYPTO_RNG2) += rng.o
                                                   >>  83 obj-$(CONFIG_CRYPTO_RNG2) += krng.o
164 obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.     84 obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
165 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o            << 
166 obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitteren << 
167 CFLAGS_jitterentropy.o = -O0                   << 
168 KASAN_SANITIZE_jitterentropy.o = n             << 
169 UBSAN_SANITIZE_jitterentropy.o = n             << 
170 jitterentropy_rng-y := jitterentropy.o jittere << 
171 obj-$(CONFIG_CRYPTO_JITTERENTROPY_TESTINTERFAC << 
172 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o              85 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
173 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o      86 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
174 obj-$(CONFIG_CRYPTO_POLYVAL) += polyval-generi << 
175 obj-$(CONFIG_CRYPTO_USER_API) += af_alg.o      << 
176 obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_ha << 
177 obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algi << 
178 obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng << 
179 obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_ae << 
180 obj-$(CONFIG_CRYPTO_ZSTD) += zstd.o            << 
181 obj-$(CONFIG_CRYPTO_ECC) += ecc.o              << 
182 obj-$(CONFIG_CRYPTO_ESSIV) += essiv.o          << 
183 obj-$(CONFIG_CRYPTO_CURVE25519) += curve25519- << 
184                                                << 
185 ecdh_generic-y += ecdh.o                       << 
186 ecdh_generic-y += ecdh_helper.o                << 
187 obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o    << 
188                                                << 
189 $(obj)/ecrdsa_params.asn1.o: $(obj)/ecrdsa_par << 
190 $(obj)/ecrdsa_pub_key.asn1.o: $(obj)/ecrdsa_pu << 
191 $(obj)/ecrdsa.o: $(obj)/ecrdsa_params.asn1.h $ << 
192 ecrdsa_generic-y += ecrdsa.o                   << 
193 ecrdsa_generic-y += ecrdsa_params.asn1.o       << 
194 ecrdsa_generic-y += ecrdsa_pub_key.asn1.o      << 
195 obj-$(CONFIG_CRYPTO_ECRDSA) += ecrdsa_generic. << 
196                                                    87 
197 #                                                  88 #
198 # generic algorithms and the async_tx api          89 # generic algorithms and the async_tx api
199 #                                                  90 #
200 obj-$(CONFIG_XOR_BLOCKS) += xor.o                  91 obj-$(CONFIG_XOR_BLOCKS) += xor.o
201 obj-$(CONFIG_ASYNC_CORE) += async_tx/              92 obj-$(CONFIG_ASYNC_CORE) += async_tx/
202 obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetri << 
203 obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o  << 
204 crypto_simd-y := simd.o                        << 
205 obj-$(CONFIG_CRYPTO_SIMD) += crypto_simd.o     << 
206                                                << 
207 #                                              << 
208 # Key derivation function                      << 
209 #                                              << 
210 obj-$(CONFIG_CRYPTO_KDF800108_CTR) += kdf_sp80 << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php