]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(auth): allow to verify PublicKey with platform format PK
authorNicolas Toromanoff <nicolas.toromanoff@st.com>
Mon, 9 Nov 2020 11:14:52 +0000 (12:14 +0100)
committerLionel Debieve <lionel.debieve@foss.st.com>
Mon, 14 Nov 2022 10:25:01 +0000 (11:25 +0100)
commit40f9f644e8af34e745dbaec73d7128c0a4902e54
tree983df96f83a08473340ce875ee3a42d16f72f637
parente78ba69e3525c968118eb91f443b1e9db9eee5f5
feat(auth): allow to verify PublicKey with platform format PK

In some platform the digest of the public key saved in the OTP is not
the digest of the exact same public key buffer needed to check the
signature. Typically, platform checks signature using the DER ROTPK
whereas some others add some related information. Add a new platform
weak function to transform the public key buffer used by
verify_signature to a platform specific public key.

Mark this new weak function as deprecated as it will be replaced
by another framework implementation.

Change-Id: I71017b41e3eca9398cededf317ad97e9b511be5f
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
docs/about/release-information.rst
docs/getting_started/porting-guide.rst
drivers/auth/auth_mod.c
include/plat/common/platform.h