Searched refs:tlv_type (Results 1 – 6 of 6) sorted by relevance
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | boot_status.h | 75 #define GET_MAJOR(tlv_type) ((uint16_t)(tlv_type) >> MAJOR_POS) argument 76 #define GET_MINOR(tlv_type) ((tlv_type) & MINOR_MASK) argument 105 #define GET_IAS_MODULE(tlv_type) ((uint16_t)GET_MINOR(tlv_type) >> MODULE_POS) argument 106 #define GET_IAS_CLAIM(tlv_type) (GET_MINOR(tlv_type) & CLAIM_MASK) argument 173 uint16_t tlv_type; member
|
/mcuboot-latest/scripts/imgtool/ |
D | dumpinfo.py | 103 tlv_type, tlv_length, tlv_data = tlv.keys() 105 if tlv[tlv_type] in TLV_TYPES: 107 tlv_type, TLV_TYPES[tlv[tlv_type]], hex(tlv[tlv_type]))) 110 tlv_type, "UNKNOWN", hex(tlv[tlv_type]))) 168 tlv_type, tlv_len = struct.unpack( 174 {"type": tlv_type, "len": tlv_len, "data": tlv_data}) 186 tlv_type, tlv_len = struct.unpack( 192 {"type": tlv_type, "len": tlv_len, "data": tlv_data})
|
D | image.py | 235 def get_digest(tlv_type, hash_region): argument 236 sha = TLV_SHA_TO_SHA_AND_ALG[tlv_type].alg() 242 def tlv_matches_key_type(tlv_type, key): argument 248 _, _ = key_and_user_sha_to_alg_and_tlv(key, tlv_sha_to_sha(tlv_type)) 839 tlv_type, _, tlv_len = struct.unpack('BBH', tlv) 840 if tlv_type == TLV_VALUES['SIG_PURE']: 851 tlv_type, _, tlv_len = struct.unpack('BBH', tlv) 852 if is_sha_tlv(tlv_type): 853 if not tlv_matches_key_type(tlv_type, key): 856 digest = get_digest(tlv_type, hash_region) [all …]
|
/mcuboot-latest/boot/zephyr/ |
D | shared_data.c | 75 if (GET_MAJOR(tlv_entry.tlv_type) == major_type && in boot_add_data_to_shared_area() 76 GET_MINOR(tlv_entry.tlv_type) == minor_type) { in boot_add_data_to_shared_area() 84 tlv_entry.tlv_type = SET_TLV_TYPE(major_type, minor_type); in boot_add_data_to_shared_area()
|
/mcuboot-latest/boot/bootutil/src/ |
D | boot_record.c | 88 if (GET_MAJOR(tlv_entry.tlv_type) == major_type && in boot_add_data_to_shared_area() 89 GET_MINOR(tlv_entry.tlv_type) == minor_type) { in boot_add_data_to_shared_area() 97 tlv_entry.tlv_type = SET_TLV_TYPE(major_type, minor_type); in boot_add_data_to_shared_area()
|
/mcuboot-latest/ci/fih_test_docker/ |
D | damage_image.py | 25 def get_tlv_type_string(tlv_type): argument 27 return tlvs.get(tlv_type, "UNKNOWN({:d})".format(tlv_type))
|