mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-14 08:27:00 +02:00
NXP SoC supports two TBB mode: - MBED_TLS based -- ROTK key hash is placed as part of the BL2 binary at section: --- .rodata.nxp_rotpk_hash -- Supporting non-volatile counter via SFP. -- platform function used by TFA common authentication code. - NXP CSF based -- ROTK key deployment vary from MBEDTLS Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com> Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: Ib0f0bf024fd93de906c5d4f609383ae9e02b2fbc
22 lines
417 B
ArmAsm
22 lines
417 B
ArmAsm
/*
|
|
* Copyright 2018-2020 NXP
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef _CSF_HDR_H_
|
|
|
|
.global nxp_rotpk_hash
|
|
.global nxp_rotpk_hash_end
|
|
.section .rodata.nxp_rotpk_hash, "a"
|
|
nxp_rotpk_hash:
|
|
/* DER header */
|
|
.byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
|
|
.byte 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20
|
|
/* SHA256 */
|
|
.incbin ROTPK_HASH
|
|
nxp_rotpk_hash_end:
|
|
#endif
|