Home
last modified time | relevance | path

Searched refs:u8_result (Results 1 – 2 of 2) sorted by relevance

/mcuboot-2.7.6/boot/boot_serial/src/
Dcbor_encode.c58 uint8_t *u8_result = (uint8_t *)input; in value_encode_len() local
65 get_additional(result_len, u8_result[0]))) { in value_encode_len()
73 memcpy(state->payload_mut, u8_result, result_len); in value_encode_len()
77 *(state->payload_mut++) = u8_result[result_len - 1]; in value_encode_len()
88 uint8_t *u8_result = (uint8_t *)input; in get_result_len() local
97 if (u8_result[idx] != 0) { in get_result_len()
118 if ((max_result_len == 1) && (u8_result[0] <= VALUE_IN_HEADER)) { in get_result_len()
Dcbor_decode.c91 uint8_t *u8_result = (uint8_t *)result; in value_extract() local
100 u8_result[result_len - 1] = additional; in value_extract()
102 u8_result[0] = additional; in value_extract()
112 memcpy(&u8_result[result_len - len], state->payload, len); in value_extract()
115 u8_result[i] = (state->payload)[len - i - 1]; in value_extract()