]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(st-crypto): update HASH for new hardware version used in STM32MP13
authorNicolas Toromanoff <nicolas.toromanoff@st.com>
Tue, 22 Dec 2020 12:54:51 +0000 (13:54 +0100)
committerLionel Debieve <lionel.debieve@foss.st.com>
Mon, 14 Nov 2022 09:55:17 +0000 (10:55 +0100)
commit68039f2d14626adce09512871d6cde20ff45e1d9
tree276cb8a0744d110630b5aad4293cc0349d339a3a
parent797d7446a0863b8633537f5d386e87287d7f25aa
feat(st-crypto): update HASH for new hardware version used in STM32MP13

Introduce new flag to manage hardware version.
STM32MP15 currently uses the HASH_V2 and STM32MP13 uses the HASH_V4.
For STM32_HASH_V4: remove MD5 algorithm (no more supported) and
add SHA384 and SHA512.

For STM32_HASH_V2: no change.

Change-Id: I3a9ae9e38249a2421c657232cb0877004d04dae1
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
drivers/st/crypto/stm32_hash.c
include/drivers/st/stm32_hash.h
plat/st/stm32mp1/platform.mk