Home
last modified time | relevance | path

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

/mcuboot-2.7.6/boot/boot_serial/src/
Dboot_serial.c547 boot_serial_in_dec(char *in, int inlen, char *out, int *out_off, int maxout) in boot_serial_in_dec() argument
555 err = base64_decode( &out[*out_off], maxout - *out_off, &rc, in, inlen - 2); in boot_serial_in_dec()
560 if (*out_off + base64_decode_len(in) >= maxout) { in boot_serial_in_dec()
563 rc = base64_decode(in, &out[*out_off]); in boot_serial_in_dec()
569 *out_off += rc; in boot_serial_in_dec()
570 if (*out_off <= sizeof(uint16_t)) { in boot_serial_in_dec()
575 if (len != *out_off - sizeof(uint16_t)) { in boot_serial_in_dec()
579 if (len > *out_off - sizeof(uint16_t)) { in boot_serial_in_dec()
580 len = *out_off - sizeof(uint16_t); in boot_serial_in_dec()
592 *out_off -= sizeof(crc); in boot_serial_in_dec()
[all …]