xref: /openbmc/linux/crypto/Makefile (revision 25c38d3fb92fc23af7730a1601bc20af8216ae44)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Cryptographic API
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5c3715cb9SSebastian Siewiorobj-$(CONFIG_CRYPTO) += crypto.o
6c3715cb9SSebastian Siewiorcrypto-objs := api.o cipher.o digest.o compress.o
71da177e4SLinus Torvalds
8*25c38d3fSHuang Yingobj-$(CONFIG_CRYPTO_WORKQUEUE) += crypto_wq.o
9*25c38d3fSHuang Ying
10ccb778e1SNeil Hormanobj-$(CONFIG_CRYPTO_FIPS) += fips.o
11ccb778e1SNeil Horman
12cce9e06dSHerbert Xucrypto_algapi-$(CONFIG_PROC_FS) += proc.o
13e962a653SHerbert Xucrypto_algapi-objs := 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
18653ebd9cSHerbert Xucrypto_blkcipher-objs := ablkcipher.o
19653ebd9cSHerbert Xucrypto_blkcipher-objs += 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
25055bcee3SHerbert Xucrypto_hash-objs := hash.o
26004a403cSLoc Hocrypto_hash-objs += ahash.o
277b5a080bSHerbert Xucrypto_hash-objs += shash.o
286a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o
29055bcee3SHerbert Xu
30da7f033dSHerbert Xucryptomgr-objs := algboss.o testmgr.o
31da7f033dSHerbert Xu
326a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o
331da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_HMAC) += hmac.o
34333b0d7eSKazunori MIYAZAWAobj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
351da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
361da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MD4) += md4.o
371da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MD5) += md5.o
38c6580eb8SAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
39c6580eb8SAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
40c555c28dSAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
41c555c28dSAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
42ad5d2789SSebastian Siewiorobj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
43ad5d2789SSebastian Siewiorobj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
4478f8b3a2SJan Glauberobj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
451da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_WP512) += wp512.o
461da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
47c494e070SRik Snelobj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
48db131ef9SHerbert Xuobj-$(CONFIG_CRYPTO_ECB) += ecb.o
49db131ef9SHerbert Xuobj-$(CONFIG_CRYPTO_CBC) += cbc.o
5091652be5SDavid Howellsobj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
5176cb9521SKevin Coffmanobj-$(CONFIG_CRYPTO_CTS) += cts.o
5264470f1bSRik Snelobj-$(CONFIG_CRYPTO_LRW) += lrw.o
53f19f5111SRik Snelobj-$(CONFIG_CRYPTO_XTS) += xts.o
5423e353c8SJoy Lattenobj-$(CONFIG_CRYPTO_CTR) += ctr.o
5528db8e3eSMikko Herranenobj-$(CONFIG_CRYPTO_GCM) += gcm.o
564a49b499SJoy Lattenobj-$(CONFIG_CRYPTO_CCM) += ccm.o
57124b53d0SHerbert Xuobj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
58c5a511f1SSebastian Siewiorobj-$(CONFIG_CRYPTO_DES) += des_generic.o
5990831639SDavid Howellsobj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
601da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish.o
611da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TWOFISH) += twofish.o
622729bb42SJoachim Fritschiobj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
631da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_SERPENT) += serpent.o
64f8246af0SSebastian Siewiorobj-$(CONFIG_CRYPTO_AES) += aes_generic.o
65d64beac0SNoriaki TAKAMIYAobj-$(CONFIG_CRYPTO_CAMELLIA) += camellia.o
661da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CAST5) += cast5.o
671da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CAST6) += cast6.o
681da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_ARC4) += arc4.o
691da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TEA) += tea.o
701da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
711da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
72e2ee95b8SHye-Shik Changobj-$(CONFIG_CRYPTO_SEED) += seed.o
732407d608STan Swee Hengobj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
741da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
751da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
761da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
773c09f17cSHerbert Xuobj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o
780b77abb3SZoltan Sogorobj-$(CONFIG_CRYPTO_LZO) += lzo.o
796a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_RNG2) += rng.o
806a0fcbb4SHerbert Xuobj-$(CONFIG_CRYPTO_RNG2) += krng.o
8117f0f4a4SNeil Hormanobj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o
821da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
83685784aaSDan Williams
84685784aaSDan Williams#
85685784aaSDan Williams# generic algorithms and the async_tx api
86685784aaSDan Williams#
87685784aaSDan Williamsobj-$(CONFIG_XOR_BLOCKS) += xor.o
889bc89cd8SDan Williamsobj-$(CONFIG_ASYNC_CORE) += async_tx/
89