1# SPDX-License-Identifier: GPL-2.0 2 3# chacha is used by the /dev/random driver which is always builtin 4obj-y += chacha.o 5obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC) += libchacha.o 6 7obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o 8libaes-y := aes.o 9 10obj-$(CONFIG_CRYPTO_LIB_ARC4) += libarc4.o 11libarc4-y := arc4.o 12 13obj-$(CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC) += libblake2s-generic.o 14libblake2s-generic-y += blake2s-generic.o 15 16obj-$(CONFIG_CRYPTO_LIB_BLAKE2S) += libblake2s.o 17libblake2s-y += blake2s.o 18 19obj-$(CONFIG_CRYPTO_LIB_DES) += libdes.o 20libdes-y := des.o 21 22obj-$(CONFIG_CRYPTO_LIB_POLY1305_GENERIC) += libpoly1305.o 23libpoly1305-y := poly1305.o 24 25obj-$(CONFIG_CRYPTO_LIB_SHA256) += libsha256.o 26libsha256-y := sha256.o 27 28ifneq ($(CONFIG_CRYPTO_MANAGER_DISABLE_TESTS),y) 29libblake2s-y += blake2s-selftest.o 30endif 31