blob: 80f2192e4dc305cc070865ac2b7bfb8415d51af3 [file] [log] [blame]
Max Shvetsov06dba292019-12-06 11:50:12 +00001/*
2 * Copyright (c) 2020, ARM Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include "plat/arm/common/arm_def.h"
8
9 .global arm_rotpk_header
10 .global arm_rotpk_header_end
11 .section .rodata.arm_rotpk_hash, "a"
12
13arm_rotpk_header:
14 .byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
15 .byte 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20
16arm_rotpk_header_len:
17
18#ifdef ARM_ROTPK_HASH
19 .global arm_rotpk_hash_end
20 .incbin ARM_ROTPK_HASH
21arm_rotpk_hash_end:
22#endif
23
24.if ARM_ROTPK_HEADER_LEN != arm_rotpk_header_len - arm_rotpk_header
25.error "Invalid ROTPK header length."
26.endif