Searched refs:out_off (Results 1 – 1 of 1) sorted by relevance
/mcuboot-3.4.0/boot/boot_serial/src/ |
D | boot_serial.c | 1095 boot_serial_in_dec(char *in, int inlen, char *out, int *out_off, int maxout) in boot_serial_in_dec() argument 1103 err = base64_decode( &out[*out_off], maxout - *out_off, &rc, in, inlen - 2); in boot_serial_in_dec() 1109 …err = base64_decode((unsigned char *)&out[*out_off], maxout - *out_off, (size_t *)&rc, (unsigned c… in boot_serial_in_dec() 1114 if (*out_off + base64_decode_len(in) >= maxout) { in boot_serial_in_dec() 1117 rc = base64_decode(in, &out[*out_off]); in boot_serial_in_dec() 1123 *out_off += rc; in boot_serial_in_dec() 1124 if (*out_off <= sizeof(uint16_t)) { in boot_serial_in_dec() 1129 if (len != *out_off - sizeof(uint16_t)) { in boot_serial_in_dec() 1133 if (len > *out_off - sizeof(uint16_t)) { in boot_serial_in_dec() 1134 len = *out_off - sizeof(uint16_t); in boot_serial_in_dec() [all …]
|