Blame view

lib/crypto/Makefile 1.47 KB
dc51f2575   Ard Biesheuvel   crypto: arc4 - re...
1
  # SPDX-License-Identifier: GPL-2.0
5fb8ef258   Ard Biesheuvel   crypto: chacha - ...
2
3
4
  # chacha is used by the /dev/random driver which is always builtin
  obj-y						+= chacha.o
  obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC)		+= libchacha.o
746b2e024   Ard Biesheuvel   crypto: lib - tid...
5
6
  obj-$(CONFIG_CRYPTO_LIB_AES)			+= libaes.o
  libaes-y					:= aes.o
e59c1c987   Ard Biesheuvel   crypto: aes - cre...
7

746b2e024   Ard Biesheuvel   crypto: lib - tid...
8
9
  obj-$(CONFIG_CRYPTO_LIB_ARC4)			+= libarc4.o
  libarc4-y					:= arc4.o
04007b0e6   Ard Biesheuvel   crypto: des - spl...
10

66d7fb94e   Jason A. Donenfeld   crypto: blake2s -...
11
12
13
14
15
  obj-$(CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC)	+= libblake2s-generic.o
  libblake2s-generic-y				+= blake2s-generic.o
  
  obj-$(CONFIG_CRYPTO_LIB_BLAKE2S)		+= libblake2s.o
  libblake2s-y					+= blake2s.o
ed20078b7   Ard Biesheuvel   crypto: chacha20p...
16
17
  obj-$(CONFIG_CRYPTO_LIB_CHACHA20POLY1305)	+= libchacha20poly1305.o
  libchacha20poly1305-y				+= chacha20poly1305.o
a8bdf2c42   Herbert Xu   crypto: curve2551...
18
19
20
21
22
23
  obj-$(CONFIG_CRYPTO_LIB_CURVE25519_GENERIC)	+= libcurve25519-generic.o
  libcurve25519-generic-y				:= curve25519-fiat32.o
  libcurve25519-generic-$(CONFIG_ARCH_SUPPORTS_INT128)	:= curve25519-hacl64.o
  libcurve25519-generic-y				+= curve25519-generic.o
  
  obj-$(CONFIG_CRYPTO_LIB_CURVE25519)		+= libcurve25519.o
0ed42a6f4   Jason A. Donenfeld   crypto: curve2551...
24
  libcurve25519-y					+= curve25519.o
746b2e024   Ard Biesheuvel   crypto: lib - tid...
25
26
  obj-$(CONFIG_CRYPTO_LIB_DES)			+= libdes.o
  libdes-y					:= des.o
01d3aee86   Hans de Goede   crypto: sha256 - ...
27

48ea8c6eb   Ard Biesheuvel   crypto: poly1305 ...
28
  obj-$(CONFIG_CRYPTO_LIB_POLY1305_GENERIC)	+= libpoly1305.o
1c08a1043   Jason A. Donenfeld   crypto: poly1305 ...
29
30
31
  libpoly1305-y					:= poly1305-donna32.o
  libpoly1305-$(CONFIG_ARCH_SUPPORTS_INT128)	:= poly1305-donna64.o
  libpoly1305-y					+= poly1305.o
48ea8c6eb   Ard Biesheuvel   crypto: poly1305 ...
32

746b2e024   Ard Biesheuvel   crypto: lib - tid...
33
34
  obj-$(CONFIG_CRYPTO_LIB_SHA256)			+= libsha256.o
  libsha256-y					:= sha256.o
66d7fb94e   Jason A. Donenfeld   crypto: blake2s -...
35
36
37
  
  ifneq ($(CONFIG_CRYPTO_MANAGER_DISABLE_TESTS),y)
  libblake2s-y					+= blake2s-selftest.o
ed20078b7   Ard Biesheuvel   crypto: chacha20p...
38
  libchacha20poly1305-y				+= chacha20poly1305-selftest.o
aa127963f   Jason A. Donenfeld   crypto: lib/curve...
39
  libcurve25519-y					+= curve25519-selftest.o
66d7fb94e   Jason A. Donenfeld   crypto: blake2s -...
40
  endif