xref: /openbmc/linux/crypto/Makefile (revision a38f7907)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Cryptographic API
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5c3715cb9SSebastian Siewiorobj-$(CONFIG_CRYPTO) += crypto.o
621ea28abSTracey Dentcrypto-y := api.o cipher.o compress.o
71da177e4SLinus Torvalds
825c38d3fSHuang Yingobj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o
925c38d3fSHuang Ying
10ccb778e1SNeil Hormanobj-$(CONFIG_CRYPTO_FIPS) += fips.o
11ccb778e1SNeil Horman
12cce9e06dSHerbert Xucrypto_algapi-$(CONFIG_PROC_FS) += proc.o
1321ea28abSTracey Dentcrypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y)
146a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o
151da177e4SLinus Torvalds
166a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_AEAD2) += aead.o
17653ebd9cSHerbert Xu
1821ea28abSTracey Dentcrypto_blkcipher-y := ablkcipher.o
1921ea28abSTracey Dentcrypto_blkcipher-y += blkcipher.o
206a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_BLKCIPHER2) += crypto_blkcipher.o
216a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_BLKCIPHER2) += chainiv.o
226a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_BLKCIPHER2) += eseqiv.o
230a270321SHerbert Xuobj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
245cde0af2SHerbert Xu
2521ea28abSTracey Dentcrypto_hash-y += ahash.o
2621ea28abSTracey Dentcrypto_hash-y += shash.o
276a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
28055bcee3SHerbert Xu
29bc94e596SHerbert Xuobj-$(CONFIG_CRYPTO_PCOMP2) += pcompress.o
30a1d2f095SGeert Uytterhoeven
3121ea28abSTracey Dentcryptomgr-y := algboss.o testmgr.o
32da7f033dSHerbert Xu
336a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
34a38f7907SSteffen Klassertobj-$(CONFIG_CRYPTO_USER) += crypto_user.o
351da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_HMAC) += hmac.o
36f1939f7cSShane Wangobj-$(CONFIG_CRYPTO_VMAC) += vmac.o
37333b0d7eSKazunori MIYAZAWAobj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
381da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
391da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MD4) += md4.o
401da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MD5) += md5.o
41c6580eb8SAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
42c6580eb8SAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
43c555c28dSAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
44c555c28dSAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
45ad5d2789SSebastian Siewiorobj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
46ad5d2789SSebastian Siewiorobj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
4778f8b3a2SJan Glauberobj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
481da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_WP512) += wp512.o
491da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
50c494e070SRik Snelobj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
51db131ef9SHerbert Xuobj-$(CONFIG_CRYPTO_ECB) += ecb.o
52db131ef9SHerbert Xuobj-$(CONFIG_CRYPTO_CBC) += cbc.o
5391652be5SDavid Howellsobj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
5476cb9521SKevin Coffmanobj-$(CONFIG_CRYPTO_CTS) += cts.o
5564470f1bSRik Snelobj-$(CONFIG_CRYPTO_LRW) += lrw.o
56f19f5111SRik Snelobj-$(CONFIG_CRYPTO_XTS) += xts.o
5723e353c8SJoy Lattenobj-$(CONFIG_CRYPTO_CTR) += ctr.o
5828db8e3eSMikko Herranenobj-$(CONFIG_CRYPTO_GCM) += gcm.o
594a49b499SJoy Lattenobj-$(CONFIG_CRYPTO_CCM) += ccm.o
605068c7a8SSteffen Klassertobj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o
61124b53d0SHerbert Xuobj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
62c5a511f1SSebastian Siewiorobj-$(CONFIG_CRYPTO_DES) += des_generic.o
6390831639SDavid Howellsobj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
643f2a5d2dSJussi Kivilinnaobj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_generic.o
6552ba867cSJussi Kivilinnaobj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfish_common.o
665b04fc17SJoachim Fritschiobj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generic.o
672729bb42SJoachim Fritschiobj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
681da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_SERPENT) += serpent.o
69f8246af0SSebastian Siewiorobj-$(CONFIG_CRYPTO_AES) += aes_generic.o
70d64beac0SNoriaki TAKAMIYAobj-$(CONFIG_CRYPTO_CAMELLIA) += camellia.o
711da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CAST5) += cast5.o
721da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CAST6) += cast6.o
731da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_ARC4) += arc4.o
741da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TEA) += tea.o
751da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
761da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
77e2ee95b8SHye-Shik Changobj-$(CONFIG_CRYPTO_SEED) += seed.o
782407d608STan Swee Hengobj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
791da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
80bf68e65eSGeert Uytterhoevenobj-$(CONFIG_CRYPTO_ZLIB) += zlib.o
811da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
821da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
83a5079d08SSteffen Klassertobj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o
840b77abb3SZoltan Sogorobj-$(CONFIG_CRYPTO_LZO) += lzo.o
856a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_RNG2) += rng.o
866a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_RNG2) += krng.o
8717f0f4a4SNeil Hormanobj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
881da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
892cdc6899SHuang Yingobj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o
9003c8efc1SHerbert Xuobj-$(CONFIG_CRYPTO_USER_API) += af_alg.o
91fe869cdbSHerbert Xuobj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o
928ff59090SHerbert Xuobj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o
93685784aaSDan Williams
94685784aaSDan Williams#
95685784aaSDan Williams# generic algorithms and the async_tx api
96685784aaSDan Williams#
97685784aaSDan Williamsobj-$(CONFIG_XOR_BLOCKS) += xor.o
989bc89cd8SDan Williamsobj-$(CONFIG_ASYNC_CORE) += async_tx/
99