| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Defines the BCT parametres for T30 |
| #define BCT_LENGTH 0x17E0 |
| #define EBT_ALIGNMENT 0x10 |
| * Defines the CMAC-AES-128 hash length in 32 bit words. (128 bits = 4 words) |
| #define NVBOOT_CMAC_AES_HASH_LENGTH 4 |
| * Defines the maximum number of bootloader descriptions in the BCT. |
| #define NVBOOT_MAX_BOOTLOADERS 4 |
| struct nv_bootloader_info { |
| u32 crypto_hash[NVBOOT_CMAC_AES_HASH_LENGTH]; |
| struct nvboot_config_table { |
| struct nv_bootloader_info bootloader[NVBOOT_MAX_BOOTLOADERS]; |