Lines Matching refs:msg
117 struct sshbuf *msg;
119 if ((msg = sshbuf_new()) == NULL)
125 if ((r = sshbuf_put_u8(msg,
127 (r = sshbuf_put_u32(msg, nkeys)) != 0)
135 if ((r = sshbuf_put_string(msg, blob, blen)) != 0 ||
136 (r = sshbuf_put_cstring(msg, name)) != 0)
144 if ((r = sshbuf_put_u8(msg, SSH_AGENT_FAILURE)) != 0)
149 send_msg(msg);
150 sshbuf_free(msg);
157 struct sshbuf *msg;
160 if ((msg = sshbuf_new()) == NULL)
166 if ((r = sshbuf_put_u8(msg, pkcs11_del_provider(name) == 0 ?
171 send_msg(msg);
172 sshbuf_free(msg);
182 struct sshbuf *msg;
208 if ((msg = sshbuf_new()) == NULL)
211 if ((r = sshbuf_put_u8(msg, SSH2_AGENT_SIGN_RESPONSE)) != 0 ||
212 (r = sshbuf_put_string(msg, signature, slen)) != 0)
215 if ((r = sshbuf_put_u8(msg, SSH2_AGENT_FAILURE)) != 0)
221 send_msg(msg);
222 sshbuf_free(msg);