]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - crypto/Makefile
Merge tag 'arm-soc/for-4.10/defconfig-fixes' of http://github.com/Broadcom/stblinux...
[mirror_ubuntu-artful-kernel.git] / crypto / Makefile
1 #
2 # Cryptographic API
3 #
4
5 obj-$(CONFIG_CRYPTO) += crypto.o
6 crypto-y := api.o cipher.o compress.o memneq.o
7
8 obj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o
9
10 obj-$(CONFIG_CRYPTO_ENGINE) += crypto_engine.o
11 obj-$(CONFIG_CRYPTO_FIPS) += fips.o
12
13 crypto_algapi-$(CONFIG_PROC_FS) += proc.o
14 crypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y)
15 obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
16
17 obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
18
19 crypto_blkcipher-y := ablkcipher.o
20 crypto_blkcipher-y += blkcipher.o
21 crypto_blkcipher-y += skcipher.o
22 obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
23 obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
24 obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o
25
26 crypto_hash-y += ahash.o
27 crypto_hash-y += shash.o
28 obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
29
30 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
31 obj-$(CONFIG_CRYPTO_KPP2) += kpp.o
32
33 dh_generic-y := dh.o
34 dh_generic-y += dh_helper.o
35 obj-$(CONFIG_CRYPTO_DH) += dh_generic.o
36 ecdh_generic-y := ecc.o
37 ecdh_generic-y += ecdh.o
38 ecdh_generic-y += ecdh_helper.o
39 obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o
40
41 $(obj)/rsapubkey-asn1.o: $(obj)/rsapubkey-asn1.c $(obj)/rsapubkey-asn1.h
42 $(obj)/rsaprivkey-asn1.o: $(obj)/rsaprivkey-asn1.c $(obj)/rsaprivkey-asn1.h
43 $(obj)/rsa_helper.o: $(obj)/rsapubkey-asn1.h $(obj)/rsaprivkey-asn1.h
44 clean-files += rsapubkey-asn1.c rsapubkey-asn1.h
45 clean-files += rsaprivkey-asn1.c rsaprivkey-asn1.h
46
47 rsa_generic-y := rsapubkey-asn1.o
48 rsa_generic-y += rsaprivkey-asn1.o
49 rsa_generic-y += rsa.o
50 rsa_generic-y += rsa_helper.o
51 rsa_generic-y += rsa-pkcs1pad.o
52 obj-$(CONFIG_CRYPTO_RSA) += rsa_generic.o
53
54 crypto_acompress-y := acompress.o
55 crypto_acompress-y += scompress.o
56 obj-$(CONFIG_CRYPTO_ACOMP2) += crypto_acompress.o
57
58 cryptomgr-y := algboss.o testmgr.o
59
60 obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
61 obj-$(CONFIG_CRYPTO_USER) += crypto_user.o
62 obj-$(CONFIG_CRYPTO_CMAC) += cmac.o
63 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
64 obj-$(CONFIG_CRYPTO_VMAC) += vmac.o
65 obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
66 obj-$(CONFIG_CRYPTO_NULL2) += crypto_null.o
67 obj-$(CONFIG_CRYPTO_MD4) += md4.o
68 obj-$(CONFIG_CRYPTO_MD5) += md5.o
69 obj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
70 obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
71 obj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
72 obj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
73 obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
74 obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
75 obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
76 obj-$(CONFIG_CRYPTO_SHA3) += sha3_generic.o
77 obj-$(CONFIG_CRYPTO_WP512) += wp512.o
78 obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
79 obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
80 obj-$(CONFIG_CRYPTO_ECB) += ecb.o
81 obj-$(CONFIG_CRYPTO_CBC) += cbc.o
82 obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
83 obj-$(CONFIG_CRYPTO_CTS) += cts.o
84 obj-$(CONFIG_CRYPTO_LRW) += lrw.o
85 obj-$(CONFIG_CRYPTO_XTS) += xts.o
86 obj-$(CONFIG_CRYPTO_CTR) += ctr.o
87 obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o
88 obj-$(CONFIG_CRYPTO_GCM) += gcm.o
89 obj-$(CONFIG_CRYPTO_CCM) += ccm.o
90 obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o
91 obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o
92 obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
93 obj-$(CONFIG_CRYPTO_MCRYPTD) += mcryptd.o
94 obj-$(CONFIG_CRYPTO_DES) += des_generic.o
95 obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
96 obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_generic.o
97 obj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfish_common.o
98 obj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generic.o
99 obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
100 obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generic.o
101 obj-$(CONFIG_CRYPTO_AES) += aes_generic.o
102 obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia_generic.o
103 obj-$(CONFIG_CRYPTO_CAST_COMMON) += cast_common.o
104 obj-$(CONFIG_CRYPTO_CAST5) += cast5_generic.o
105 obj-$(CONFIG_CRYPTO_CAST6) += cast6_generic.o
106 obj-$(CONFIG_CRYPTO_ARC4) += arc4.o
107 obj-$(CONFIG_CRYPTO_TEA) += tea.o
108 obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
109 obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
110 obj-$(CONFIG_CRYPTO_SEED) += seed.o
111 obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
112 obj-$(CONFIG_CRYPTO_CHACHA20) += chacha20_generic.o
113 obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_generic.o
114 obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
115 obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
116 obj-$(CONFIG_CRYPTO_CRC32C) += crc32c_generic.o
117 obj-$(CONFIG_CRYPTO_CRC32) += crc32_generic.o
118 obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif_common.o crct10dif_generic.o
119 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
120 obj-$(CONFIG_CRYPTO_LZO) += lzo.o
121 obj-$(CONFIG_CRYPTO_LZ4) += lz4.o
122 obj-$(CONFIG_CRYPTO_LZ4HC) += lz4hc.o
123 obj-$(CONFIG_CRYPTO_842) += 842.o
124 obj-$(CONFIG_CRYPTO_RNG2) += rng.o
125 obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
126 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o
127 obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitterentropy_rng.o
128 CFLAGS_jitterentropy.o = -O0
129 jitterentropy_rng-y := jitterentropy.o jitterentropy-kcapi.o
130 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
131 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
132 obj-$(CONFIG_CRYPTO_USER_API) += af_alg.o
133 obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o
134 obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o
135 obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng.o
136 obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o
137
138 #
139 # generic algorithms and the async_tx api
140 #
141 obj-$(CONFIG_XOR_BLOCKS) += xor.o
142 obj-$(CONFIG_ASYNC_CORE) += async_tx/
143 obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys/
144 obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o
145 obj-$(CONFIG_CRYPTO_ABLK_HELPER) += ablk_helper.o
146 crypto_simd-y := simd.o
147 obj-$(CONFIG_CRYPTO_SIMD) += crypto_simd.o