mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 00:54:22 +00:00

Changes all occurrences of "RSS" and "rss" in the code and build files to "RSE" and "rse". Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I8c2fcbdf1de1c75f9969d28bc15e0b3500071404
29 lines
689 B
Makefile
29 lines
689 B
Makefile
#
|
|
# Copyright (c) 2024, Arm Limited. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# Hash algorithm for DICE Protection Environment
|
|
# SHA-256 (or stronger) is required.
|
|
DPE_HASH_ALG := sha256
|
|
|
|
ifeq (${DPE_HASH_ALG}, sha512)
|
|
DPE_ALG_ID := DPE_ALG_SHA512
|
|
DPE_DIGEST_SIZE := 64U
|
|
else ifeq (${DPE_HASH_ALG}, sha384)
|
|
DPE_ALG_ID := DPE_ALG_SHA384
|
|
DPE_DIGEST_SIZE := 48U
|
|
else
|
|
DPE_ALG_ID := DPE_ALG_SHA256
|
|
DPE_DIGEST_SIZE := 32U
|
|
endif #DPE_HASH_ALG
|
|
|
|
# Set definitions for DICE Protection Environment
|
|
$(eval $(call add_defines,\
|
|
$(sort \
|
|
DPE_ALG_ID \
|
|
DPE_DIGEST_SIZE \
|
|
)))
|
|
|
|
DPE_SOURCES += drivers/measured_boot/rse/dice_prot_env.c
|