Home
last modified time | relevance | path

Searched refs:img_type (Results 1 – 6 of 6) sorted by relevance

/optee_os/scripts/
H A Dsign_encrypt.py365 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 Dree_fs_ta.c290 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 Dremoteproc_core.c641 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 Dsigned_hdr.h36 uint32_t img_type; member
/optee_os/core/pta/
H A Dsecstor_ta_mgmt.c52 if (shdr->img_type != SHDR_BOOTSTRAP_TA) in install_ta()
/optee_os/core/crypto/
H A Dsigned_hdr.c273 if (shdr->img_type != SHDR_SUBKEY) in shdr_load_pub_key()