Searched refs:tlv (Results 1 – 11 of 11) sorted by relevance
/mcuboot-3.4.0/boot/bootutil/src/ |
D | tlv.c | 98 struct image_tlv tlv; in bootutil_tlv_iter_next() local 110 rc = LOAD_IMAGE_DATA(it->hdr, it->fap, it->tlv_off, &tlv, sizeof tlv); in bootutil_tlv_iter_next() 120 if (it->type == IMAGE_TLV_ANY || tlv.it_type == it->type) { in bootutil_tlv_iter_next() 122 *type = tlv.it_type; in bootutil_tlv_iter_next() 124 *off = it->tlv_off + sizeof(tlv); in bootutil_tlv_iter_next() 125 *len = tlv.it_len; in bootutil_tlv_iter_next() 126 it->tlv_off += sizeof(tlv) + tlv.it_len; in bootutil_tlv_iter_next() 130 it->tlv_off += sizeof(tlv) + tlv.it_len; in bootutil_tlv_iter_next()
|
/mcuboot-3.4.0/ci/fih_test_docker/ |
D | damage_image.py | 100 tlv = ImageTLV() 101 (tlv.it_type, _, tlv.it_len) = struct.unpack('<BBH', in_file.read(4)) 102 (tlv.it_value) = struct.unpack('<{:d}s'.format(tlv.it_len), in_file.read(tlv.it_len)) 103 return tlv 127 def damage_tlv(image_offset, tlv_off, tlv, out_file_content): argument 130 value = bytearray(tlv.it_value[0]) 135 def is_valid_signature(tlv): argument 136 return tlv.it_type == TLV_VALUES['RSA2048'] or tlv.it_type == TLV_VALUES['RSA3072'] 176 tlv = ImageTLV.read_from_binary(in_file) 178 …lv {:24s} len = {:4d}, len = {:4d}".format(get_tlv_type_string(tlv.it_type), tlv.it_len, len(tlv))) [all …]
|
/mcuboot-3.4.0/scripts/imgtool/ |
D | dumpinfo.py | 46 for tlv in tlv_list: 48 tlv_type, tlv_length, tlv_data = tlv.keys() 51 tlv_type, TLV_TYPES[tlv[tlv_type]], hex(tlv[tlv_type]))) 52 print(" " * indent, "{}: ".format(tlv_length), hex(tlv[tlv_length])) 55 for j, data in enumerate(tlv[tlv_data]): 57 if ((j+1) % 8 == 0) and ((j+1) != len(tlv[tlv_data])):
|
D | image.py | 449 tlv = TLV(self.endian) 456 tlv.add(hash_tlv, digest) 470 tlv.add('KEYHASH', pubbytes) 472 tlv.add('PUBKEY', pub) 485 tlv.add(key.sig_tlv(), sig) 488 tlv.add(pub_key.sig_tlv(), fixed_sig['value']) 511 tlv.add('ENCRSA2048', cipherkey) 518 tlv.add('ENCEC256', enctlv) 520 tlv.add('ENCX25519', enctlv) 532 self.payload += tlv.get() [all …]
|
D | main.py | 405 for tlv in custom_tlv: 406 tag = int(tlv[0], 0) 413 value = tlv[1]
|
/mcuboot-3.4.0/boot/bootutil/ |
D | CMakeLists.txt | 34 src/tlv.c
|
/mcuboot-3.4.0/sim/src/ |
D | image.rs | 56 use crate::tlv::{ManifestGen, TlvGen, TlvFlags}; 1659 let mut tlv: Box<dyn ManifestGen> = Box::new(make_tlv()); in install_image() localVariable 1663 tlv.add_dependency(deps.other_id(), &dep); in install_image() 1679 let tlv_len = tlv.estimate_size(); in install_image() 1686 let tlv_len = tlv.estimate_size(); in install_image() 1698 magic: tlv.get_magic(), in install_image() 1701 protect_tlv_size: tlv.protect_size(), in install_image() 1703 flags: tlv.get_flags(), in install_image() 1712 tlv.add_bytes(&b_header); in install_image() 1728 tlv.add_bytes(&b_img); in install_image() [all …]
|
D | lib.rs | 18 mod tlv; module
|
/mcuboot-3.4.0/scripts/ |
D | mcubin.bt | 120 struct TLV tlv;
|
/mcuboot-3.4.0/boot/espressif/ |
D | CMakeLists.txt | 146 ${BOOTUTIL_DIR}/src/tlv.c
|
/mcuboot-3.4.0/boot/zephyr/ |
D | CMakeLists.txt | 100 ${BOOT_DIR}/bootutil/src/tlv.c
|