blob: 5862b807334e5c0f46fbad14bf01e058fe4e9939 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Cryptographic API
3#
4
Sebastian Siewiorc3715cb92008-03-30 16:36:09 +08005obj-$(CONFIG_CRYPTO) += crypto.o
6crypto-objs := api.o cipher.o digest.o compress.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Neil Hormanccb778e2008-08-05 14:13:08 +08008obj-$(CONFIG_CRYPTO_FIPS) += fips.o
9
Herbert Xucce9e062006-08-21 21:08:13 +100010crypto_algapi-$(CONFIG_PROC_FS) += proc.o
Herbert Xue962a652007-08-29 16:06:15 +080011crypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y)
Herbert Xucce9e062006-08-21 21:08:13 +100012obj-$(CONFIG_CRYPTO_ALGAPI) += crypto_algapi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Herbert Xu1ae97822007-08-30 15:36:14 +080014obj-$(CONFIG_CRYPTO_AEAD) += aead.o
Herbert Xu653ebd92007-11-27 19:48:27 +080015
16crypto_blkcipher-objs := ablkcipher.o
17crypto_blkcipher-objs += blkcipher.o
18obj-$(CONFIG_CRYPTO_BLKCIPHER) += crypto_blkcipher.o
Herbert Xu5be5e662008-08-17 18:04:30 +100019obj-$(CONFIG_CRYPTO_BLKCIPHER) += chainiv.o
20obj-$(CONFIG_CRYPTO_BLKCIPHER) += eseqiv.o
Herbert Xu0a270322007-11-30 21:38:37 +110021obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
Herbert Xu5cde0af2006-08-22 00:07:53 +100022
Herbert Xu055bcee2006-08-19 22:24:23 +100023crypto_hash-objs := hash.o
Loc Ho004a4032008-05-14 20:41:47 +080024crypto_hash-objs += ahash.o
Herbert Xu055bcee2006-08-19 22:24:23 +100025obj-$(CONFIG_CRYPTO_HASH) += crypto_hash.o
26
Herbert Xuda7f0332008-07-31 17:08:25 +080027cryptomgr-objs := algboss.o testmgr.o
28
Herbert Xu2b8c19d2006-09-21 11:31:44 +100029obj-$(CONFIG_CRYPTO_MANAGER) += cryptomgr.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
Kazunori MIYAZAWA333b0d72006-10-28 13:15:24 +100031obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070032obj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
33obj-$(CONFIG_CRYPTO_MD4) += md4.o
34obj-$(CONFIG_CRYPTO_MD5) += md5.o
Adrian-Ken Rueegseggerc6580eb2008-05-07 22:14:10 +080035obj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
36obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
Adrian-Ken Rueegseggerc555c282008-05-09 21:27:02 +080037obj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
38obj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
Sebastian Siewiorad5d2782007-10-08 11:45:10 +080039obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
40obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
Jan Glauber78f8b3a2008-03-06 19:55:38 +080041obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_CRYPTO_WP512) += wp512.o
43obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
Rik Snelc494e072006-11-29 18:59:44 +110044obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
Herbert Xudb131ef2006-09-21 11:44:08 +100045obj-$(CONFIG_CRYPTO_ECB) += ecb.o
46obj-$(CONFIG_CRYPTO_CBC) += cbc.o
David Howells91652be2006-12-16 12:09:02 +110047obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
Kevin Coffman76cb9522008-03-24 21:26:16 +080048obj-$(CONFIG_CRYPTO_CTS) += cts.o
Rik Snel64470f12006-11-26 09:43:10 +110049obj-$(CONFIG_CRYPTO_LRW) += lrw.o
Rik Snelf19f5112007-09-19 20:23:13 +080050obj-$(CONFIG_CRYPTO_XTS) += xts.o
Joy Latten23e353c2007-10-23 08:50:32 +080051obj-$(CONFIG_CRYPTO_CTR) += ctr.o
Mikko Herranen28db8e32007-11-26 22:24:11 +080052obj-$(CONFIG_CRYPTO_GCM) += gcm.o
Joy Latten4a49b492007-12-12 20:25:13 +080053obj-$(CONFIG_CRYPTO_CCM) += ccm.o
Herbert Xu124b53d2007-04-16 20:49:20 +100054obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
Sebastian Siewiorc5a511f2007-10-05 16:42:03 +080055obj-$(CONFIG_CRYPTO_DES) += des_generic.o
David Howells90831632006-12-16 12:13:14 +110056obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070057obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish.o
58obj-$(CONFIG_CRYPTO_TWOFISH) += twofish.o
Joachim Fritschi2729bb42006-06-20 20:37:23 +100059obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070060obj-$(CONFIG_CRYPTO_SERPENT) += serpent.o
Sebastian Siewiorf8246af2007-10-05 16:52:01 +080061obj-$(CONFIG_CRYPTO_AES) += aes_generic.o
Noriaki TAKAMIYAd64beac2007-01-24 21:47:48 +110062obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070063obj-$(CONFIG_CRYPTO_CAST5) += cast5.o
64obj-$(CONFIG_CRYPTO_CAST6) += cast6.o
65obj-$(CONFIG_CRYPTO_ARC4) += arc4.o
66obj-$(CONFIG_CRYPTO_TEA) += tea.o
67obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
68obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
Hye-Shik Change2ee95b2007-08-21 20:01:03 +080069obj-$(CONFIG_CRYPTO_SEED) += seed.o
Tan Swee Heng2407d602007-11-23 19:45:00 +080070obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070071obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
72obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
73obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
Herbert Xu3c09f172007-08-30 16:24:15 +080074obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o
Zoltan Sogor0b77abb2007-12-07 16:53:23 +080075obj-$(CONFIG_CRYPTO_LZO) += lzo.o
Neil Horman17f0f4a2008-08-14 22:15:52 +100076obj-$(CONFIG_CRYPTO_RNG) += rng.o
77obj-$(CONFIG_CRYPTO_RNG) += krng.o
78obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070079obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
Dan Williams685784a2007-07-09 11:56:42 -070080
81#
82# generic algorithms and the async_tx api
83#
84obj-$(CONFIG_XOR_BLOCKS) += xor.o
Dan Williams9bc89cd2007-01-02 11:10:44 -070085obj-$(CONFIG_ASYNC_CORE) += async_tx/