Lines Matching defs:len
120 uint32_t count, reserved, len, i;
162 rd.len = req_len;
217 SAFEALIGN_COPY_UINT32(&len, rep+c, &c);
219 if (len > rep_len - c - sizeof(uint32_t)) {
225 res->name = talloc_array(res, char, len);
231 safealign_memcpy(res->name, rep+c, len, &c);
232 if (strnlen(res->name, len) != len-1) {
237 c += len;
240 SAFEALIGN_COPY_UINT32(&len, rep+c, &c);
242 if (len > rep_len - c) {
247 res->pubkeys[i].data = talloc_array(res, uint8_t, len);
253 safealign_memcpy(res->pubkeys[i].data, rep+c, len, &c);
254 res->pubkeys[i].data_len = len;