Makefile 3.71 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4
#
# Cryptographic API
#

5
obj-$(CONFIG_CRYPTO) += crypto.o
Tracey Dent's avatar
Tracey Dent committed
6
crypto-y := api.o cipher.o compress.o
Linus Torvalds's avatar
Linus Torvalds committed
7

8 9
obj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o

10 11
obj-$(CONFIG_CRYPTO_FIPS) += fips.o

12
crypto_algapi-$(CONFIG_PROC_FS) += proc.o
Tracey Dent's avatar
Tracey Dent committed
13
crypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y)
14
obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
Linus Torvalds's avatar
Linus Torvalds committed
15

16
obj-$(CONFIG_CRYPTO_AEAD2) += aead.o
17

Tracey Dent's avatar
Tracey Dent committed
18 19
crypto_blkcipher-y := ablkcipher.o
crypto_blkcipher-y += blkcipher.o
20 21 22
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += chainiv.o
obj-$(CONFIG_CRYPTO_BLKCIPHER2) += eseqiv.o
23
obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
24

Tracey Dent's avatar
Tracey Dent committed
25 26
crypto_hash-y += ahash.o
crypto_hash-y += shash.o
27
obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
28

29
obj-$(CONFIG_CRYPTO_PCOMP2) += pcompress.o
30

Tracey Dent's avatar
Tracey Dent committed
31
cryptomgr-y := algboss.o testmgr.o
32

33
obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
34
obj-$(CONFIG_CRYPTO_USER) += crypto_user.o
35
obj-$(CONFIG_CRYPTO_CMAC) += cmac.o
Linus Torvalds's avatar
Linus Torvalds committed
36
obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
37
obj-$(CONFIG_CRYPTO_VMAC) += vmac.o
38
obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
Linus Torvalds's avatar
Linus Torvalds committed
39 40 41
obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
obj-$(CONFIG_CRYPTO_MD4) += md4.o
obj-$(CONFIG_CRYPTO_MD5) += md5.o
42 43
obj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
44 45
obj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
obj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
46 47
obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
48
obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
Linus Torvalds's avatar
Linus Torvalds committed
49 50
obj-$(CONFIG_CRYPTO_WP512) += wp512.o
obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
51
obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
52 53
obj-$(CONFIG_CRYPTO_ECB) += ecb.o
obj-$(CONFIG_CRYPTO_CBC) += cbc.o
54
obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
55
obj-$(CONFIG_CRYPTO_CTS) += cts.o
56
obj-$(CONFIG_CRYPTO_LRW) += lrw.o
57
obj-$(CONFIG_CRYPTO_XTS) += xts.o
58
obj-$(CONFIG_CRYPTO_CTR) += ctr.o
Mikko Herranen's avatar
Mikko Herranen committed
59
obj-$(CONFIG_CRYPTO_GCM) += gcm.o
Joy Latten's avatar
Joy Latten committed
60
obj-$(CONFIG_CRYPTO_CCM) += ccm.o
61
obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o
62
obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
63
obj-$(CONFIG_CRYPTO_DES) += des_generic.o
64
obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
65
obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_generic.o
66
obj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfish_common.o
67
obj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generic.o
68
obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
69
obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generic.o
70
obj-$(CONFIG_CRYPTO_AES) += aes_generic.o
71
obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia_generic.o
72
obj-$(CONFIG_CRYPTO_CAST_COMMON) += cast_common.o
73
obj-$(CONFIG_CRYPTO_CAST5) += cast5_generic.o
74
obj-$(CONFIG_CRYPTO_CAST6) += cast6_generic.o
Linus Torvalds's avatar
Linus Torvalds committed
75 76 77 78
obj-$(CONFIG_CRYPTO_ARC4) += arc4.o
obj-$(CONFIG_CRYPTO_TEA) += tea.o
obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
79
obj-$(CONFIG_CRYPTO_SEED) += seed.o
80
obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
Linus Torvalds's avatar
Linus Torvalds committed
81
obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
82
obj-$(CONFIG_CRYPTO_ZLIB) += zlib.o
Linus Torvalds's avatar
Linus Torvalds committed
83 84
obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
85
obj-$(CONFIG_CRYPTO_CRC32) += crc32.o
86
obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif.o
87
obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
88
obj-$(CONFIG_CRYPTO_LZO) += lzo.o
89 90
obj-$(CONFIG_CRYPTO_LZ4) += lz4.o
obj-$(CONFIG_CRYPTO_LZ4HC) += lz4hc.o
91
obj-$(CONFIG_CRYPTO_842) += 842.o
92 93
obj-$(CONFIG_CRYPTO_RNG2) += rng.o
obj-$(CONFIG_CRYPTO_RNG2) += krng.o
94
obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
Linus Torvalds's avatar
Linus Torvalds committed
95
obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
96
obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
97
obj-$(CONFIG_CRYPTO_USER_API) += af_alg.o
98
obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o
99
obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o
100 101 102 103 104

#
# generic algorithms and the async_tx api
#
obj-$(CONFIG_XOR_BLOCKS) += xor.o
105
obj-$(CONFIG_ASYNC_CORE) += async_tx/
106
obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys/
107
obj-$(CONFIG_CRYPTO_ABLK_HELPER) += ablk_helper.o