INNER CODE UNIT · C
idx
wolfSSL/wolfssh · src/agent.c:238
word32 idx = agent->msgIdx;
msg[idx++] = MSGID_AGENT_IDENTITIES_ANSWER;
c32toa(idCount, msg + idx);
idx += UINT32_SZ;
id = agent->idList;
while (id != NULL) {
c32toa(id->keyBlobSz, msg + idx);
idx += LENGTH_SZ;
WMEMCPY(msg + idx, id->keyBlob, id->keyBlobSz);
idx += id->keyBlobSz;
c32toa(id->commentSz, msg + idx);
idx += LENGTH_SZ;
WMEMCPY(msg + idx, id->comment, id->commentSz);
idx += id->commentSz;
id = id->next;
}