blob: 22ae9d35d642f53a3d28ba8ee617923a883533c2 [file] [log] [blame]
Max Shvetsov06dba292019-12-06 11:50:12 +00001/*
Rohit Mathew96ee83a2023-12-26 22:33:03 +00002 * Copyright (c) 2021-2024, ARM Limited. All rights reserved.
Max Shvetsov06dba292019-12-06 11:50:12 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Rohit Mathew96ee83a2023-12-26 22:33:03 +00007#include <plat/arm/board/common/rotpk/rotpk_def.h>
Max Shvetsov06dba292019-12-06 11:50:12 +00008
9 .global arm_rotpk_header
Max Shvetsov06dba292019-12-06 11:50:12 +000010 .section .rodata.arm_rotpk_hash, "a"
11
12arm_rotpk_header:
13 .byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
14 .byte 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20
15arm_rotpk_header_len:
16
17#ifdef ARM_ROTPK_HASH
18 .global arm_rotpk_hash_end
19 .incbin ARM_ROTPK_HASH
20arm_rotpk_hash_end:
21#endif
22
23.if ARM_ROTPK_HEADER_LEN != arm_rotpk_header_len - arm_rotpk_header
24.error "Invalid ROTPK header length."
25.endif