]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - crypto/Makefile
Merge tag 'gpio-v4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[mirror_ubuntu-artful-kernel.git] / crypto / Makefile
CommitLineData
1da177e4
LT
1#
2# Cryptographic API
3#
4
c3715cb9 5obj-$(CONFIG_CRYPTO) += crypto.o
6bf37e5a 6crypto-y := api.o cipher.o compress.o memneq.o
1da177e4 7
25c38d3f
HY
8obj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o
9
735d37b5 10obj-$(CONFIG_CRYPTO_ENGINE) += crypto_engine.o
ccb778e1
NH
11obj-$(CONFIG_CRYPTO_FIPS) += fips.o
12
cce9e06d 13crypto_algapi-$(CONFIG_PROC_FS) += proc.o
21ea28ab 14crypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y)
6a0fcbb4 15obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
1da177e4 16
6a0fcbb4 17obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
653ebd9c 18
21ea28ab
TD
19crypto_blkcipher-y := ablkcipher.o
20crypto_blkcipher-y += blkcipher.o
7a7ffe65 21crypto_blkcipher-y += skcipher.o
6a0fcbb4 22obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
0a270321 23obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
a10f554f 24obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o
5cde0af2 25
21ea28ab
TD
26crypto_hash-y += ahash.o
27crypto_hash-y += shash.o
6a0fcbb4 28obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
055bcee3 29
3c339ab8 30obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o
4e5f2c40 31obj-$(CONFIG_CRYPTO_KPP2) += kpp.o
a1d2f095 32
802c7f1c
SB
33dh_generic-y := dh.o
34dh_generic-y += dh_helper.o
35obj-$(CONFIG_CRYPTO_DH) += dh_generic.o
3c4b2390
SB
36ecdh_generic-y := ecc.o
37ecdh_generic-y += ecdh.o
38ecdh_generic-y += ecdh_helper.o
39obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o
802c7f1c 40
22287b0b
TS
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
57891633 43$(obj)/rsa_helper.o: $(obj)/rsapubkey-asn1.h $(obj)/rsaprivkey-asn1.h
22287b0b
TS
44clean-files += rsapubkey-asn1.c rsapubkey-asn1.h
45clean-files += rsaprivkey-asn1.c rsaprivkey-asn1.h
cfc2bb32 46
22287b0b
TS
47rsa_generic-y := rsapubkey-asn1.o
48rsa_generic-y += rsaprivkey-asn1.o
cfc2bb32
TS
49rsa_generic-y += rsa.o
50rsa_generic-y += rsa_helper.o
3d5b1ecd 51rsa_generic-y += rsa-pkcs1pad.o
cfc2bb32
TS
52obj-$(CONFIG_CRYPTO_RSA) += rsa_generic.o
53
6c0f4000
GC
54crypto_acompress-y := acompress.o
55crypto_acompress-y += scompress.o
56obj-$(CONFIG_CRYPTO_ACOMP2) += crypto_acompress.o
2ebda74f 57
21ea28ab 58cryptomgr-y := algboss.o testmgr.o
da7f033d 59
6a0fcbb4 60obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
a38f7907 61obj-$(CONFIG_CRYPTO_USER) += crypto_user.o
93b5e86a 62obj-$(CONFIG_CRYPTO_CMAC) += cmac.o
1da177e4 63obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
f1939f7c 64obj-$(CONFIG_CRYPTO_VMAC) += vmac.o
333b0d7e 65obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
a26bcb04 66obj-$(CONFIG_CRYPTO_NULL2) += crypto_null.o
1da177e4
LT
67obj-$(CONFIG_CRYPTO_MD4) += md4.o
68obj-$(CONFIG_CRYPTO_MD5) += md5.o
c6580eb8
AKR
69obj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
70obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
c555c28d
AKR
71obj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
72obj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
ad5d2789
SS
73obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
74obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
78f8b3a2 75obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
53964b9e 76obj-$(CONFIG_CRYPTO_SHA3) += sha3_generic.o
1da177e4
LT
77obj-$(CONFIG_CRYPTO_WP512) += wp512.o
78obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
c494e070 79obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
db131ef9
HX
80obj-$(CONFIG_CRYPTO_ECB) += ecb.o
81obj-$(CONFIG_CRYPTO_CBC) += cbc.o
91652be5 82obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
76cb9521 83obj-$(CONFIG_CRYPTO_CTS) += cts.o
64470f1b 84obj-$(CONFIG_CRYPTO_LRW) += lrw.o
f19f5111 85obj-$(CONFIG_CRYPTO_XTS) += xts.o
23e353c8 86obj-$(CONFIG_CRYPTO_CTR) += ctr.o
1c49678e 87obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o
28db8e3e 88obj-$(CONFIG_CRYPTO_GCM) += gcm.o
4a49b499 89obj-$(CONFIG_CRYPTO_CCM) += ccm.o
71ebc4d1 90obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o
5068c7a8 91obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o
124b53d0 92obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
1e65b81a 93obj-$(CONFIG_CRYPTO_MCRYPTD) += mcryptd.o
c5a511f1 94obj-$(CONFIG_CRYPTO_DES) += des_generic.o
90831639 95obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
3f2a5d2d 96obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_generic.o
52ba867c 97obj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfish_common.o
5b04fc17 98obj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generic.o
2729bb42 99obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
dd6eec24 100obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generic.o
f8246af0 101obj-$(CONFIG_CRYPTO_AES) += aes_generic.o
075e39df 102obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia_generic.o
044ab525 103obj-$(CONFIG_CRYPTO_CAST_COMMON) += cast_common.o
270b0c6b 104obj-$(CONFIG_CRYPTO_CAST5) += cast5_generic.o
2b49b906 105obj-$(CONFIG_CRYPTO_CAST6) += cast6_generic.o
1da177e4
LT
106obj-$(CONFIG_CRYPTO_ARC4) += arc4.o
107obj-$(CONFIG_CRYPTO_TEA) += tea.o
108obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
109obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
e2ee95b8 110obj-$(CONFIG_CRYPTO_SEED) += seed.o
2407d608 111obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
c08d0e64 112obj-$(CONFIG_CRYPTO_CHACHA20) += chacha20_generic.o
f979e014 113obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_generic.o
1da177e4
LT
114obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
115obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
06e5a1f2 116obj-$(CONFIG_CRYPTO_CRC32C) += crc32c_generic.o
a7c58ac0 117obj-$(CONFIG_CRYPTO_CRC32) += crc32_generic.o
26052f9b 118obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif_common.o crct10dif_generic.o
a5079d08 119obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
0b77abb3 120obj-$(CONFIG_CRYPTO_LZO) += lzo.o
0ea8530d
CM
121obj-$(CONFIG_CRYPTO_LZ4) += lz4.o
122obj-$(CONFIG_CRYPTO_LZ4HC) += lz4hc.o
35a1fc18 123obj-$(CONFIG_CRYPTO_842) += 842.o
6a0fcbb4 124obj-$(CONFIG_CRYPTO_RNG2) += rng.o
17f0f4a4 125obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
f2c89a10 126obj-$(CONFIG_CRYPTO_DRBG) += drbg.o
dfc9fa91
SM
127obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitterentropy_rng.o
128CFLAGS_jitterentropy.o = -O0
129jitterentropy_rng-y := jitterentropy.o jitterentropy-kcapi.o
1da177e4 130obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
2cdc6899 131obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
03c8efc1 132obj-$(CONFIG_CRYPTO_USER_API) += af_alg.o
fe869cdb 133obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o
8ff59090 134obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o
2f375538 135obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng.o
44cac4fc 136obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o
685784aa
DW
137
138#
139# generic algorithms and the async_tx api
140#
141obj-$(CONFIG_XOR_BLOCKS) += xor.o
9bc89cd8 142obj-$(CONFIG_ASYNC_CORE) += async_tx/
964f3b3b 143obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys/
ee08997f 144obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o
a62b01cd 145obj-$(CONFIG_CRYPTO_ABLK_HELPER) += ablk_helper.o
266d0516
HX
146crypto_simd-y := simd.o
147obj-$(CONFIG_CRYPTO_SIMD) += crypto_simd.o