Searched refs:img_type (Results 1 – 6 of 6) sorted by relevance
| /optee_os/scripts/ |
| H A D | sign_encrypt.py | 365 def __pack_img(self, img_type, sign_algo): argument 369 self.img_type = img_type 370 self.shdr = struct.pack('<IIIIHH', SHDR_MAGIC, img_type, len(self.img), 479 [magic, img_type, img_size, algo_value, hash_size, 499 if img_type == SHDR_BOOTSTRAP_TA or img_type == SHDR_ENCRYPTED_TA: 504 if img_type == SHDR_ENCRYPTED_TA: 534 elif img_type == SHDR_SUBKEY: 572 raise Exception("Unsupported image type: {}".format(img_type)) 589 if img_type == SHDR_ENCRYPTED_TA: 657 [magic, img_type, img_size, algo_value, hash_size, [all …]
|
| /optee_os/core/kernel/ |
| H A D | ree_fs_ta.c | 290 while (shdr->img_type == SHDR_SUBKEY) { in ree_fs_ta_open() 346 if (shdr->img_type != SHDR_TA && shdr->img_type != SHDR_BOOTSTRAP_TA && in ree_fs_ta_open() 347 shdr->img_type != SHDR_ENCRYPTED_TA) { in ree_fs_ta_open() 383 if (shdr->img_type == SHDR_BOOTSTRAP_TA || in ree_fs_ta_open() 384 shdr->img_type == SHDR_ENCRYPTED_TA) { in ree_fs_ta_open() 421 if (shdr->img_type == SHDR_ENCRYPTED_TA) { in ree_fs_ta_open() 589 if (handle->shdr->img_type == SHDR_ENCRYPTED_TA) { in ree_fs_ta_read() 618 if (handle->shdr->img_type == SHDR_ENCRYPTED_TA) { in ree_fs_ta_read()
|
| /optee_os/ta/remoteproc/src/ |
| H A D | remoteproc_core.c | 641 uint8_t *img_type) in get_tlv_images_type() argument 653 if (length != (sizeof(*img_type) * num_img)) in get_tlv_images_type() 656 *img_type = tlv_value[idx]; in get_tlv_images_type() 789 uint8_t img_type = REMOTEPROC_INVALID_TYPE; in remoteproc_load_elf() local 831 res = get_tlv_images_type(ctx, num_img, i, &img_type); in remoteproc_load_elf() 834 if (img_type != REMOTEPROC_ELF_TYPE) { in remoteproc_load_elf()
|
| /optee_os/core/include/ |
| H A D | signed_hdr.h | 36 uint32_t img_type; member
|
| /optee_os/core/pta/ |
| H A D | secstor_ta_mgmt.c | 52 if (shdr->img_type != SHDR_BOOTSTRAP_TA) in install_ta()
|
| /optee_os/core/crypto/ |
| H A D | signed_hdr.c | 273 if (shdr->img_type != SHDR_SUBKEY) in shdr_load_pub_key()
|