1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Cryptographic API 3 # Cryptographic API 4 # 4 # 5 5 6 obj-$(CONFIG_CRYPTO) += crypto.o 6 obj-$(CONFIG_CRYPTO) += crypto.o 7 crypto-y := api.o cipher.o compress.o 7 crypto-y := api.o cipher.o compress.o 8 8 9 obj-$(CONFIG_CRYPTO_ENGINE) += crypto_engine.o 9 obj-$(CONFIG_CRYPTO_ENGINE) += crypto_engine.o 10 obj-$(CONFIG_CRYPTO_FIPS) += fips.o 10 obj-$(CONFIG_CRYPTO_FIPS) += fips.o 11 11 12 crypto_algapi-$(CONFIG_PROC_FS) += proc.o 12 crypto_algapi-$(CONFIG_PROC_FS) += proc.o 13 crypto_algapi-y := algapi.o scatterwalk.o $(cr 13 crypto_algapi-y := algapi.o scatterwalk.o $(crypto_algapi-y) 14 obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi. 14 obj-$(CONFIG_CRYPTO_ALGAPI2) += crypto_algapi.o 15 15 16 obj-$(CONFIG_CRYPTO_AEAD2) += aead.o 16 obj-$(CONFIG_CRYPTO_AEAD2) += aead.o 17 obj-$(CONFIG_CRYPTO_GENIV) += geniv.o 17 obj-$(CONFIG_CRYPTO_GENIV) += geniv.o 18 18 19 crypto_skcipher-y += lskcipher.o 19 crypto_skcipher-y += lskcipher.o 20 crypto_skcipher-y += skcipher.o 20 crypto_skcipher-y += skcipher.o 21 21 22 obj-$(CONFIG_CRYPTO_SKCIPHER2) += crypto_skcip 22 obj-$(CONFIG_CRYPTO_SKCIPHER2) += crypto_skcipher.o 23 ifeq ($(CONFIG_BPF_SYSCALL),y) << 24 obj-$(CONFIG_CRYPTO_SKCIPHER2) += bpf_crypto_s << 25 endif << 26 23 27 obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o 24 obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o 28 obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o 25 obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o 29 26 30 crypto_hash-y += ahash.o 27 crypto_hash-y += ahash.o 31 crypto_hash-y += shash.o 28 crypto_hash-y += shash.o 32 obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o 29 obj-$(CONFIG_CRYPTO_HASH2) += crypto_hash.o 33 30 34 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o 31 obj-$(CONFIG_CRYPTO_AKCIPHER2) += akcipher.o 35 obj-$(CONFIG_CRYPTO_SIG2) += sig.o 32 obj-$(CONFIG_CRYPTO_SIG2) += sig.o 36 obj-$(CONFIG_CRYPTO_KPP2) += kpp.o 33 obj-$(CONFIG_CRYPTO_KPP2) += kpp.o 37 34 38 dh_generic-y := dh.o 35 dh_generic-y := dh.o 39 dh_generic-y += dh_helper.o 36 dh_generic-y += dh_helper.o 40 obj-$(CONFIG_CRYPTO_DH) += dh_generic.o 37 obj-$(CONFIG_CRYPTO_DH) += dh_generic.o 41 38 42 $(obj)/rsapubkey.asn1.o: $(obj)/rsapubkey.asn1 39 $(obj)/rsapubkey.asn1.o: $(obj)/rsapubkey.asn1.c $(obj)/rsapubkey.asn1.h 43 $(obj)/rsaprivkey.asn1.o: $(obj)/rsaprivkey.as 40 $(obj)/rsaprivkey.asn1.o: $(obj)/rsaprivkey.asn1.c $(obj)/rsaprivkey.asn1.h 44 $(obj)/rsa_helper.o: $(obj)/rsapubkey.asn1.h $ 41 $(obj)/rsa_helper.o: $(obj)/rsapubkey.asn1.h $(obj)/rsaprivkey.asn1.h 45 42 46 rsa_generic-y := rsapubkey.asn1.o 43 rsa_generic-y := rsapubkey.asn1.o 47 rsa_generic-y += rsaprivkey.asn1.o 44 rsa_generic-y += rsaprivkey.asn1.o 48 rsa_generic-y += rsa.o 45 rsa_generic-y += rsa.o 49 rsa_generic-y += rsa_helper.o 46 rsa_generic-y += rsa_helper.o 50 rsa_generic-y += rsa-pkcs1pad.o 47 rsa_generic-y += rsa-pkcs1pad.o 51 obj-$(CONFIG_CRYPTO_RSA) += rsa_generic.o 48 obj-$(CONFIG_CRYPTO_RSA) += rsa_generic.o 52 49 >> 50 $(obj)/sm2signature.asn1.o: $(obj)/sm2signature.asn1.c $(obj)/sm2signature.asn1.h >> 51 $(obj)/sm2.o: $(obj)/sm2signature.asn1.h >> 52 >> 53 sm2_generic-y += sm2signature.asn1.o >> 54 sm2_generic-y += sm2.o >> 55 >> 56 obj-$(CONFIG_CRYPTO_SM2) += sm2_generic.o >> 57 53 $(obj)/ecdsasignature.asn1.o: $(obj)/ecdsasign 58 $(obj)/ecdsasignature.asn1.o: $(obj)/ecdsasignature.asn1.c $(obj)/ecdsasignature.asn1.h 54 $(obj)/ecdsa.o: $(obj)/ecdsasignature.asn1.h 59 $(obj)/ecdsa.o: $(obj)/ecdsasignature.asn1.h 55 ecdsa_generic-y += ecdsa.o 60 ecdsa_generic-y += ecdsa.o 56 ecdsa_generic-y += ecdsasignature.asn1.o 61 ecdsa_generic-y += ecdsasignature.asn1.o 57 obj-$(CONFIG_CRYPTO_ECDSA) += ecdsa_generic.o 62 obj-$(CONFIG_CRYPTO_ECDSA) += ecdsa_generic.o 58 63 59 crypto_acompress-y := acompress.o 64 crypto_acompress-y := acompress.o 60 crypto_acompress-y += scompress.o 65 crypto_acompress-y += scompress.o 61 obj-$(CONFIG_CRYPTO_ACOMP2) += crypto_acompres 66 obj-$(CONFIG_CRYPTO_ACOMP2) += crypto_acompress.o 62 67 63 cryptomgr-y := algboss.o testmgr.o 68 cryptomgr-y := algboss.o testmgr.o 64 69 65 obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o 70 obj-$(CONFIG_CRYPTO_MANAGER2) += cryptomgr.o 66 obj-$(CONFIG_CRYPTO_USER) += crypto_user.o 71 obj-$(CONFIG_CRYPTO_USER) += crypto_user.o >> 72 crypto_user-y := crypto_user_base.o >> 73 crypto_user-$(CONFIG_CRYPTO_STATS) += crypto_user_stat.o 67 obj-$(CONFIG_CRYPTO_CMAC) += cmac.o 74 obj-$(CONFIG_CRYPTO_CMAC) += cmac.o 68 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o 75 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o 69 obj-$(CONFIG_CRYPTO_VMAC) += vmac.o 76 obj-$(CONFIG_CRYPTO_VMAC) += vmac.o 70 obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o 77 obj-$(CONFIG_CRYPTO_XCBC) += xcbc.o 71 obj-$(CONFIG_CRYPTO_NULL2) += crypto_null.o 78 obj-$(CONFIG_CRYPTO_NULL2) += crypto_null.o 72 obj-$(CONFIG_CRYPTO_MD4) += md4.o 79 obj-$(CONFIG_CRYPTO_MD4) += md4.o 73 obj-$(CONFIG_CRYPTO_MD5) += md5.o 80 obj-$(CONFIG_CRYPTO_MD5) += md5.o 74 obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o 81 obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o 75 obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o 82 obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o 76 obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic. 83 obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o 77 obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic. 84 obj-$(CONFIG_CRYPTO_SHA512) += sha512_generic.o 78 obj-$(CONFIG_CRYPTO_SHA3) += sha3_generic.o 85 obj-$(CONFIG_CRYPTO_SHA3) += sha3_generic.o 79 obj-$(CONFIG_CRYPTO_SM3) += sm3.o 86 obj-$(CONFIG_CRYPTO_SM3) += sm3.o 80 obj-$(CONFIG_CRYPTO_SM3_GENERIC) += sm3_generi 87 obj-$(CONFIG_CRYPTO_SM3_GENERIC) += sm3_generic.o 81 obj-$(CONFIG_CRYPTO_STREEBOG) += streebog_gene 88 obj-$(CONFIG_CRYPTO_STREEBOG) += streebog_generic.o 82 obj-$(CONFIG_CRYPTO_WP512) += wp512.o 89 obj-$(CONFIG_CRYPTO_WP512) += wp512.o 83 CFLAGS_wp512.o := $(call cc-option,-fno-schedu 90 CFLAGS_wp512.o := $(call cc-option,-fno-schedule-insns) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149 84 obj-$(CONFIG_CRYPTO_BLAKE2B) += blake2b_generi 91 obj-$(CONFIG_CRYPTO_BLAKE2B) += blake2b_generic.o 85 CFLAGS_blake2b_generic.o := -Wframe-larger-tha 92 CFLAGS_blake2b_generic.o := -Wframe-larger-than=4096 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 86 obj-$(CONFIG_CRYPTO_ECB) += ecb.o 93 obj-$(CONFIG_CRYPTO_ECB) += ecb.o 87 obj-$(CONFIG_CRYPTO_CBC) += cbc.o 94 obj-$(CONFIG_CRYPTO_CBC) += cbc.o >> 95 obj-$(CONFIG_CRYPTO_CFB) += cfb.o 88 obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o 96 obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o 89 obj-$(CONFIG_CRYPTO_CTS) += cts.o 97 obj-$(CONFIG_CRYPTO_CTS) += cts.o 90 obj-$(CONFIG_CRYPTO_LRW) += lrw.o 98 obj-$(CONFIG_CRYPTO_LRW) += lrw.o 91 obj-$(CONFIG_CRYPTO_XTS) += xts.o 99 obj-$(CONFIG_CRYPTO_XTS) += xts.o 92 obj-$(CONFIG_CRYPTO_CTR) += ctr.o 100 obj-$(CONFIG_CRYPTO_CTR) += ctr.o 93 obj-$(CONFIG_CRYPTO_XCTR) += xctr.o 101 obj-$(CONFIG_CRYPTO_XCTR) += xctr.o 94 obj-$(CONFIG_CRYPTO_HCTR2) += hctr2.o 102 obj-$(CONFIG_CRYPTO_HCTR2) += hctr2.o 95 obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o 103 obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o 96 obj-$(CONFIG_CRYPTO_ADIANTUM) += adiantum.o 104 obj-$(CONFIG_CRYPTO_ADIANTUM) += adiantum.o 97 obj-$(CONFIG_CRYPTO_NHPOLY1305) += nhpoly1305. 105 obj-$(CONFIG_CRYPTO_NHPOLY1305) += nhpoly1305.o 98 obj-$(CONFIG_CRYPTO_GCM) += gcm.o 106 obj-$(CONFIG_CRYPTO_GCM) += gcm.o 99 obj-$(CONFIG_CRYPTO_CCM) += ccm.o 107 obj-$(CONFIG_CRYPTO_CCM) += ccm.o 100 obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chach 108 obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o 101 obj-$(CONFIG_CRYPTO_AEGIS128) += aegis128.o 109 obj-$(CONFIG_CRYPTO_AEGIS128) += aegis128.o 102 aegis128-y := aegis128-core.o 110 aegis128-y := aegis128-core.o 103 111 104 ifeq ($(ARCH),arm) 112 ifeq ($(ARCH),arm) 105 CFLAGS_aegis128-neon-inner.o += -ffreestanding 113 CFLAGS_aegis128-neon-inner.o += -ffreestanding -march=armv8-a -mfloat-abi=softfp 106 CFLAGS_aegis128-neon-inner.o += -mfpu=crypto-n 114 CFLAGS_aegis128-neon-inner.o += -mfpu=crypto-neon-fp-armv8 107 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aeg 115 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o 108 endif 116 endif 109 ifeq ($(ARCH),arm64) 117 ifeq ($(ARCH),arm64) 110 aegis128-cflags-y := -ffreestanding -mcpu=gene 118 aegis128-cflags-y := -ffreestanding -mcpu=generic+crypto 111 aegis128-cflags-$(CONFIG_CC_IS_GCC) += -ffixed 119 aegis128-cflags-$(CONFIG_CC_IS_GCC) += -ffixed-q16 -ffixed-q17 -ffixed-q18 \ 112 -ffixed 120 -ffixed-q19 -ffixed-q20 -ffixed-q21 \ 113 -ffixed 121 -ffixed-q22 -ffixed-q23 -ffixed-q24 \ 114 -ffixed 122 -ffixed-q25 -ffixed-q26 -ffixed-q27 \ 115 -ffixed 123 -ffixed-q28 -ffixed-q29 -ffixed-q30 \ 116 -ffixed 124 -ffixed-q31 117 CFLAGS_aegis128-neon-inner.o += $(aegis128-cfl 125 CFLAGS_aegis128-neon-inner.o += $(aegis128-cflags-y) 118 CFLAGS_REMOVE_aegis128-neon-inner.o += -mgener 126 CFLAGS_REMOVE_aegis128-neon-inner.o += -mgeneral-regs-only 119 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aeg 127 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o 120 endif 128 endif 121 # Enable <arm_neon.h> 129 # Enable <arm_neon.h> 122 CFLAGS_aegis128-neon-inner.o += -isystem $(she 130 CFLAGS_aegis128-neon-inner.o += -isystem $(shell $(CC) -print-file-name=include) 123 131 124 obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o 132 obj-$(CONFIG_CRYPTO_PCRYPT) += pcrypt.o 125 obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o 133 obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o 126 obj-$(CONFIG_CRYPTO_DES) += des_generic.o 134 obj-$(CONFIG_CRYPTO_DES) += des_generic.o 127 obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o 135 obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o 128 obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_gene 136 obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish_generic.o 129 obj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfi 137 obj-$(CONFIG_CRYPTO_BLOWFISH_COMMON) += blowfish_common.o 130 obj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generi 138 obj-$(CONFIG_CRYPTO_TWOFISH) += twofish_generic.o 131 obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish 139 obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o 132 obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generi 140 obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generic.o 133 CFLAGS_serpent_generic.o := $(call cc-option,- 141 CFLAGS_serpent_generic.o := $(call cc-option,-fsched-pressure) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149 134 obj-$(CONFIG_CRYPTO_AES) += aes_generic.o 142 obj-$(CONFIG_CRYPTO_AES) += aes_generic.o 135 CFLAGS_aes_generic.o := $(call cc-option,-fno- 143 CFLAGS_aes_generic.o := $(call cc-option,-fno-code-hoisting) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356 136 obj-$(CONFIG_CRYPTO_SM4) += sm4.o 144 obj-$(CONFIG_CRYPTO_SM4) += sm4.o 137 obj-$(CONFIG_CRYPTO_SM4_GENERIC) += sm4_generi 145 obj-$(CONFIG_CRYPTO_SM4_GENERIC) += sm4_generic.o 138 obj-$(CONFIG_CRYPTO_AES_TI) += aes_ti.o 146 obj-$(CONFIG_CRYPTO_AES_TI) += aes_ti.o 139 obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia_gene 147 obj-$(CONFIG_CRYPTO_CAMELLIA) += camellia_generic.o 140 obj-$(CONFIG_CRYPTO_CAST_COMMON) += cast_commo 148 obj-$(CONFIG_CRYPTO_CAST_COMMON) += cast_common.o 141 obj-$(CONFIG_CRYPTO_CAST5) += cast5_generic.o 149 obj-$(CONFIG_CRYPTO_CAST5) += cast5_generic.o 142 obj-$(CONFIG_CRYPTO_CAST6) += cast6_generic.o 150 obj-$(CONFIG_CRYPTO_CAST6) += cast6_generic.o 143 obj-$(CONFIG_CRYPTO_ARC4) += arc4.o 151 obj-$(CONFIG_CRYPTO_ARC4) += arc4.o 144 obj-$(CONFIG_CRYPTO_TEA) += tea.o 152 obj-$(CONFIG_CRYPTO_TEA) += tea.o 145 obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o 153 obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o 146 obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o 154 obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o 147 obj-$(CONFIG_CRYPTO_SEED) += seed.o 155 obj-$(CONFIG_CRYPTO_SEED) += seed.o 148 obj-$(CONFIG_CRYPTO_ARIA) += aria_generic.o 156 obj-$(CONFIG_CRYPTO_ARIA) += aria_generic.o 149 obj-$(CONFIG_CRYPTO_CHACHA20) += chacha_generi 157 obj-$(CONFIG_CRYPTO_CHACHA20) += chacha_generic.o 150 obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_gene 158 obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_generic.o 151 obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o 159 obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o 152 obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mi 160 obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o 153 obj-$(CONFIG_CRYPTO_CRC32C) += crc32c_generic. 161 obj-$(CONFIG_CRYPTO_CRC32C) += crc32c_generic.o 154 obj-$(CONFIG_CRYPTO_CRC32) += crc32_generic.o 162 obj-$(CONFIG_CRYPTO_CRC32) += crc32_generic.o 155 obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif_co 163 obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif_common.o crct10dif_generic.o 156 obj-$(CONFIG_CRYPTO_CRC64_ROCKSOFT) += crc64_r 164 obj-$(CONFIG_CRYPTO_CRC64_ROCKSOFT) += crc64_rocksoft_generic.o 157 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o auth 165 obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o 158 obj-$(CONFIG_CRYPTO_LZO) += lzo.o lzo-rle.o 166 obj-$(CONFIG_CRYPTO_LZO) += lzo.o lzo-rle.o 159 obj-$(CONFIG_CRYPTO_LZ4) += lz4.o 167 obj-$(CONFIG_CRYPTO_LZ4) += lz4.o 160 obj-$(CONFIG_CRYPTO_LZ4HC) += lz4hc.o 168 obj-$(CONFIG_CRYPTO_LZ4HC) += lz4hc.o 161 obj-$(CONFIG_CRYPTO_XXHASH) += xxhash_generic. 169 obj-$(CONFIG_CRYPTO_XXHASH) += xxhash_generic.o 162 obj-$(CONFIG_CRYPTO_842) += 842.o 170 obj-$(CONFIG_CRYPTO_842) += 842.o 163 obj-$(CONFIG_CRYPTO_RNG2) += rng.o 171 obj-$(CONFIG_CRYPTO_RNG2) += rng.o 164 obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng. 172 obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o 165 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o 173 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o 166 obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitteren 174 obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitterentropy_rng.o 167 CFLAGS_jitterentropy.o = -O0 175 CFLAGS_jitterentropy.o = -O0 168 KASAN_SANITIZE_jitterentropy.o = n 176 KASAN_SANITIZE_jitterentropy.o = n 169 UBSAN_SANITIZE_jitterentropy.o = n 177 UBSAN_SANITIZE_jitterentropy.o = n 170 jitterentropy_rng-y := jitterentropy.o jittere 178 jitterentropy_rng-y := jitterentropy.o jitterentropy-kcapi.o 171 obj-$(CONFIG_CRYPTO_JITTERENTROPY_TESTINTERFAC 179 obj-$(CONFIG_CRYPTO_JITTERENTROPY_TESTINTERFACE) += jitterentropy-testing.o 172 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o 180 obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o 173 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o 181 obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o 174 obj-$(CONFIG_CRYPTO_POLYVAL) += polyval-generi 182 obj-$(CONFIG_CRYPTO_POLYVAL) += polyval-generic.o 175 obj-$(CONFIG_CRYPTO_USER_API) += af_alg.o 183 obj-$(CONFIG_CRYPTO_USER_API) += af_alg.o 176 obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_ha 184 obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o 177 obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algi 185 obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o 178 obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng 186 obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng.o 179 obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_ae 187 obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o 180 obj-$(CONFIG_CRYPTO_ZSTD) += zstd.o 188 obj-$(CONFIG_CRYPTO_ZSTD) += zstd.o >> 189 obj-$(CONFIG_CRYPTO_OFB) += ofb.o 181 obj-$(CONFIG_CRYPTO_ECC) += ecc.o 190 obj-$(CONFIG_CRYPTO_ECC) += ecc.o 182 obj-$(CONFIG_CRYPTO_ESSIV) += essiv.o 191 obj-$(CONFIG_CRYPTO_ESSIV) += essiv.o 183 obj-$(CONFIG_CRYPTO_CURVE25519) += curve25519- 192 obj-$(CONFIG_CRYPTO_CURVE25519) += curve25519-generic.o 184 193 185 ecdh_generic-y += ecdh.o 194 ecdh_generic-y += ecdh.o 186 ecdh_generic-y += ecdh_helper.o 195 ecdh_generic-y += ecdh_helper.o 187 obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o 196 obj-$(CONFIG_CRYPTO_ECDH) += ecdh_generic.o 188 197 189 $(obj)/ecrdsa_params.asn1.o: $(obj)/ecrdsa_par 198 $(obj)/ecrdsa_params.asn1.o: $(obj)/ecrdsa_params.asn1.c $(obj)/ecrdsa_params.asn1.h 190 $(obj)/ecrdsa_pub_key.asn1.o: $(obj)/ecrdsa_pu 199 $(obj)/ecrdsa_pub_key.asn1.o: $(obj)/ecrdsa_pub_key.asn1.c $(obj)/ecrdsa_pub_key.asn1.h 191 $(obj)/ecrdsa.o: $(obj)/ecrdsa_params.asn1.h $ 200 $(obj)/ecrdsa.o: $(obj)/ecrdsa_params.asn1.h $(obj)/ecrdsa_pub_key.asn1.h 192 ecrdsa_generic-y += ecrdsa.o 201 ecrdsa_generic-y += ecrdsa.o 193 ecrdsa_generic-y += ecrdsa_params.asn1.o 202 ecrdsa_generic-y += ecrdsa_params.asn1.o 194 ecrdsa_generic-y += ecrdsa_pub_key.asn1.o 203 ecrdsa_generic-y += ecrdsa_pub_key.asn1.o 195 obj-$(CONFIG_CRYPTO_ECRDSA) += ecrdsa_generic. 204 obj-$(CONFIG_CRYPTO_ECRDSA) += ecrdsa_generic.o 196 205 197 # 206 # 198 # generic algorithms and the async_tx api 207 # generic algorithms and the async_tx api 199 # 208 # 200 obj-$(CONFIG_XOR_BLOCKS) += xor.o 209 obj-$(CONFIG_XOR_BLOCKS) += xor.o 201 obj-$(CONFIG_ASYNC_CORE) += async_tx/ 210 obj-$(CONFIG_ASYNC_CORE) += async_tx/ 202 obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetri 211 obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys/ 203 obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o 212 obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o 204 crypto_simd-y := simd.o 213 crypto_simd-y := simd.o 205 obj-$(CONFIG_CRYPTO_SIMD) += crypto_simd.o 214 obj-$(CONFIG_CRYPTO_SIMD) += crypto_simd.o 206 215 207 # 216 # 208 # Key derivation function 217 # Key derivation function 209 # 218 # 210 obj-$(CONFIG_CRYPTO_KDF800108_CTR) += kdf_sp80 219 obj-$(CONFIG_CRYPTO_KDF800108_CTR) += kdf_sp800108.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.