xref: /openbmc/linux/crypto/Makefile (revision 004a403c2e954734090a69aedc7f4f822bdcc142)
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
8cce9e06dSHerbert Xucrypto_algapi-$(CONFIG_PROC_FS) += proc.o
9e962a653SHerbert Xucrypto_algapi-objs := algapi.o scatterwalk.o $(crypto_algapi-y)
10cce9e06dSHerbert Xuobj-$(CONFIG_CRYPTO_ALGAPI) += crypto_algapi.o
111da177e4SLinus Torvalds
121ae97820SHerbert Xuobj-$(CONFIG_CRYPTO_AEAD) += aead.o
13653ebd9cSHerbert Xu
14653ebd9cSHerbert Xucrypto_blkcipher-objs := ablkcipher.o
15653ebd9cSHerbert Xucrypto_blkcipher-objs += blkcipher.o
1676fc60a2SHerbert Xucrypto_blkcipher-objs += chainiv.o
1776fc60a2SHerbert Xucrypto_blkcipher-objs += eseqiv.o
18653ebd9cSHerbert Xuobj-$(CONFIG_CRYPTO_BLKCIPHER) += crypto_blkcipher.o
190a270321SHerbert Xuobj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
205cde0af2SHerbert Xu
21055bcee3SHerbert Xucrypto_hash-objs := hash.o
22*004a403cSLoc Hocrypto_hash-objs += ahash.o
23055bcee3SHerbert Xuobj-$(CONFIG_CRYPTO_HASH) += crypto_hash.o
24055bcee3SHerbert Xu
252b8c19dbSHerbert Xuobj-$(CONFIG_CRYPTO_MANAGER) += cryptomgr.o
261da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_HMAC) += hmac.o
27333b0d7eSKazunori MIYAZAWAobj-$(CONFIG_CRYPTO_XCBC) += xcbc.o
281da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_NULL) += crypto_null.o
291da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MD4) += md4.o
301da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MD5) += md5.o
31c6580eb8SAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD128) += rmd128.o
32c6580eb8SAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
33c555c28dSAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
34c555c28dSAdrian-Ken Rueegseggerobj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
35ad5d2789SSebastian Siewiorobj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
36ad5d2789SSebastian Siewiorobj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
3778f8b3a2SJan Glauberobj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o
381da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_WP512) += wp512.o
391da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
40c494e070SRik Snelobj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
41db131ef9SHerbert Xuobj-$(CONFIG_CRYPTO_ECB) += ecb.o
42db131ef9SHerbert Xuobj-$(CONFIG_CRYPTO_CBC) += cbc.o
4391652be5SDavid Howellsobj-$(CONFIG_CRYPTO_PCBC) += pcbc.o
4476cb9521SKevin Coffmanobj-$(CONFIG_CRYPTO_CTS) += cts.o
4564470f1bSRik Snelobj-$(CONFIG_CRYPTO_LRW) += lrw.o
46f19f5111SRik Snelobj-$(CONFIG_CRYPTO_XTS) += xts.o
4723e353c8SJoy Lattenobj-$(CONFIG_CRYPTO_CTR) += ctr.o
4828db8e3eSMikko Herranenobj-$(CONFIG_CRYPTO_GCM) += gcm.o
494a49b499SJoy Lattenobj-$(CONFIG_CRYPTO_CCM) += ccm.o
50124b53d0SHerbert Xuobj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o
51c5a511f1SSebastian Siewiorobj-$(CONFIG_CRYPTO_DES) += des_generic.o
5290831639SDavid Howellsobj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o
531da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish.o
541da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TWOFISH) += twofish.o
552729bb42SJoachim Fritschiobj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o
561da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_SERPENT) += serpent.o
57f8246af0SSebastian Siewiorobj-$(CONFIG_CRYPTO_AES) += aes_generic.o
58d64beac0SNoriaki TAKAMIYAobj-$(CONFIG_CRYPTO_CAMELLIA) += camellia.o
591da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CAST5) += cast5.o
601da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CAST6) += cast6.o
611da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_ARC4) += arc4.o
621da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TEA) += tea.o
631da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o
641da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
65e2ee95b8SHye-Shik Changobj-$(CONFIG_CRYPTO_SEED) += seed.o
662407d608STan Swee Hengobj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
671da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
681da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
691da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o
703c09f17cSHerbert Xuobj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o
710b77abb3SZoltan Sogorobj-$(CONFIG_CRYPTO_LZO) += lzo.o
721da177e4SLinus Torvalds
731da177e4SLinus Torvaldsobj-$(CONFIG_CRYPTO_TEST) += tcrypt.o
74685784aaSDan Williams
75685784aaSDan Williams#
76685784aaSDan Williams# generic algorithms and the async_tx api
77685784aaSDan Williams#
78685784aaSDan Williamsobj-$(CONFIG_XOR_BLOCKS) += xor.o
799bc89cd8SDan Williamsobj-$(CONFIG_ASYNC_CORE) += async_tx/
80