xref: /optee_os/core/arch/arm/crypto/sub.mk
  • Home
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • current directory
1ifeq ($(CFG_CRYPTO_WITH_CE),y)
2srcs-$(CFG_ARM64_core) += ghash-ce-core_a64.S
3srcs-$(CFG_ARM32_core) += ghash-ce-core_a32.S
4srcs-y += aes-gcm-ce.c
5endif
6
7ifeq ($(CFG_CRYPTO_AES_ARM_CE),y)
8srcs-y += aes_armv8a_ce.c
9srcs-$(CFG_ARM64_core) += aes_modes_armv8a_ce_a64.S
10aflags-aes_modes_armv8a_ce_a64.S-y += -DINTERLEAVE=4
11srcs-$(CFG_ARM32_core) += aes_modes_armv8a_ce_a32.S
12endif
13
14ifeq ($(CFG_CRYPTO_SHA1_ARM_CE),y)
15srcs-y += sha1_armv8a_ce.c
16srcs-$(CFG_ARM64_core) += sha1_armv8a_ce_a64.S
17srcs-$(CFG_ARM32_core) += sha1_armv8a_ce_a32.S
18endif
19
20ifeq ($(CFG_CRYPTO_SHA256_ARM_CE),y)
21srcs-y += sha256_armv8a_ce.c
22srcs-$(CFG_ARM64_core) += sha256_armv8a_ce_a64.S
23srcs-$(CFG_ARM32_core) += sha256_armv8a_ce_a32.S
24endif
25

Last Index update Sat Jun 03 09:59:21 CST 2023