Debian Codegraph @

plat/arm/board/common/rotpk/arm_dev_rotpk.S

raw
1 /*
2 * Copyright (c) 2021-2024, ARM Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <plat/arm/board/common/rotpk/rotpk_def.h>
8
9 .global arm_rotpk_header
10 .section .rodata.arm_rotpk_hash, "a"
11
12 arm_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
15 arm_rotpk_header_len:
16
17 #ifdef ARM_ROTPK_HASH
18 .global arm_rotpk_hash_end
19 .incbin ARM_ROTPK_HASH
20 arm_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