Home
last modified time | relevance | path

Searched refs:major_type (Results 1 – 5 of 5) sorted by relevance

/mcuboot-3.6.0/boot/zcbor/src/
Dzcbor_encode.c49 zcbor_major_type_t major_type, uint8_t additional) in encode_header_byte() argument
56 *(state->payload_mut++) = (uint8_t)((major_type << 5) | (additional & 0x1F)); in encode_header_byte()
63 static bool value_encode_len(zcbor_state_t *state, zcbor_major_type_t major_type, in value_encode_len() argument
72 if (!encode_header_byte(state, major_type, in value_encode_len()
94 static bool value_encode(zcbor_state_t *state, zcbor_major_type_t major_type, in value_encode() argument
106 return value_encode_len(state, major_type, result, result_len); in value_encode()
112 zcbor_major_type_t major_type; local
127 major_type = ZCBOR_MAJOR_TYPE_NINT;
135 major_type = ZCBOR_MAJOR_TYPE_PINT;
138 if (!value_encode(state, major_type, input, int_size)) {
[all …]
Dzcbor_decode.c53 zcbor_major_type_t major_type = ZCBOR_MAJOR_TYPE(*state->payload); in type_check() local
55 if (major_type != exp_major_type) { in type_check()
173 zcbor_major_type_t major_type = ZCBOR_MAJOR_TYPE(*state->payload); local
177 if (major_type != ZCBOR_MAJOR_TYPE_PINT
178 && major_type != ZCBOR_MAJOR_TYPE_NINT) {
196 if (major_type == ZCBOR_MAJOR_TYPE_NINT) {
1413 zcbor_major_type_t major_type = ZCBOR_MAJOR_TYPE(*state->payload); local
1420 while (major_type == ZCBOR_MAJOR_TYPE_TAG) {
1427 major_type = ZCBOR_MAJOR_TYPE(*state_copy.payload);
1435 && ((major_type == ZCBOR_MAJOR_TYPE_LIST) || (major_type == ZCBOR_MAJOR_TYPE_MAP)));
[all …]
/mcuboot-3.6.0/boot/zephyr/
Dshared_data.c30 int boot_add_data_to_shared_area(uint8_t major_type, in boot_add_data_to_shared_area() argument
75 if (GET_MAJOR(tlv_entry.tlv_type) == major_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-3.6.0/boot/bootutil/include/bootutil/
Dboot_record.h49 int boot_add_data_to_shared_area(uint8_t major_type,
/mcuboot-3.6.0/boot/bootutil/src/
Dboot_record.c46 boot_add_data_to_shared_area(uint8_t major_type, in boot_add_data_to_shared_area() argument
84 if (GET_MAJOR(tlv_entry.tlv_type) == major_type && in boot_add_data_to_shared_area()
93 tlv_entry.tlv_type = SET_TLV_TYPE(major_type, minor_type); in boot_add_data_to_shared_area()