Searched refs:sshbuf_put_string (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10-stable/crypto/openssh/
H A Dkexc25519.c113 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) < 0 ||
114 (r = sshbuf_put_string(b, client_dh_pub, CURVE25519_SIZE)) < 0 ||
115 (r = sshbuf_put_string(b, server_dh_pub, CURVE25519_SIZE)) < 0 ||
H A Dkexdh.c73 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) != 0 ||
H A Dkexgex.c76 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) != 0 ||
H A Dkexecdh.c79 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) != 0 ||
H A Dsshbuf-getput-crypto.c160 if ((r = sshbuf_put_string(buf, d + 1 - prepend, len + prepend)) < 0) {
212 ret = sshbuf_put_string(buf, d, len);
H A Dsshbuf-getput-basic.c348 sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len) function
368 return sshbuf_put_string(buf, (u_char *)v, v == NULL ? 0 : strlen(v));
374 return sshbuf_put_string(buf, sshbuf_ptr(v), sshbuf_len(v));
H A Dbufaux.c207 if ((ret = sshbuf_put_string(buffer, buf, len)) != 0)
H A Dssh-ed25519.c70 (r = sshbuf_put_string(b, sig, smlen - datalen)) != 0)
H A Dsftp-client.c171 (r = sshbuf_put_string(msg, s, len)) != 0)
189 (r = sshbuf_put_string(msg, s, len)) != 0 ||
497 (r = sshbuf_put_string(msg, handle, handle_len)) != 0)
557 (r = sshbuf_put_string(msg, handle, handle_len)) != 0)
994 (r = sshbuf_put_string(msg, handle, handle_len)) != 0)
1114 (r = sshbuf_put_string(msg, handle, handle_len)) != 0)
1135 (r = sshbuf_put_string(msg, handle, handle_len)) != 0 ||
1685 (r = sshbuf_put_string(msg, handle,
1688 (r = sshbuf_put_string(msg, data, len)) != 0)
H A Dauthfd.c467 (r = sshbuf_put_string(msg, blob, blen)) != 0 ||
468 (r = sshbuf_put_string(msg, data, datalen)) != 0 ||
638 (r = sshbuf_put_string(msg, blob, blen)) != 0)
H A Dkrl.c562 if ((r = sshbuf_put_string(buf, NULL, 0)) != 0)
568 if ((r = sshbuf_put_string(buf, NULL, 0)) != 0)
728 (r = sshbuf_put_string(buf, NULL, 0)) != 0 ||
746 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
757 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
778 if ((r = sshbuf_put_string(buf, sblob, slen)) != 0)
H A Dssh-keysign.c302 if ((r = sshbuf_put_string(b, signature, slen)) != 0)
H A Dsshbuf.h188 int sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len);
H A Dssh-dss.c107 (ret = sshbuf_put_string(b, sigblob, SIGBLOB_LEN)) != 0)
H A Dpacket.c774 if ((r = sshbuf_put_string(b, &state->compression_in_stream,
777 } else if ((r = sshbuf_put_string(b, NULL, 0)) != 0)
780 if ((r = sshbuf_put_string(b, &state->compression_out_stream,
783 } else if ((r = sshbuf_put_string(b, NULL, 0)) != 0)
2482 if ((r = sshbuf_put_string(m, kex->session_id,
2524 (r = sshbuf_put_string(b, enc->key, enc->key_len)) != 0 ||
2525 (r = sshbuf_put_string(b, enc->iv, enc->iv_len)) != 0)
2530 (r = sshbuf_put_string(b, mac->key, mac->key_len)) != 0)
2558 (r = sshbuf_put_string(m, state->ssh1_key, state->ssh1_keylen)) != 0 ||
2834 return sshbuf_put_string(ss
[all...]
H A Dssh-rsa.c140 (ret = sshbuf_put_string(b, sig, slen)) != 0)
H A Dsshkey.c789 (ret = sshbuf_put_string(b,
2399 if ((ret = sshbuf_put_string(cert, nonce, sizeof(nonce))) != 0)
2429 if ((ret = sshbuf_put_string(cert,
2457 (ret = sshbuf_put_string(cert, NULL, 0)) != 0 || /* Reserved */
2458 (ret = sshbuf_put_string(cert, ca_blob, ca_len)) != 0)
2467 if ((ret = sshbuf_put_string(cert, sig_blob, sig_len)) != 0)
2642 if ((r = sshbuf_put_string(b, key->ed25519_pk,
2644 (r = sshbuf_put_string(b, key->ed25519_sk,
2654 (r = sshbuf_put_string(b, key->ed25519_pk,
2656 (r = sshbuf_put_string(
[all...]
H A Dserverloop.c1194 (r = sshbuf_put_string(sigbuf,
1199 (r = sshbuf_put_string(resp, sig, slen)) != 0) {
H A Dsshconnect2.c1624 (r = sshbuf_put_string(b, data, datalen)) != 0)
1765 if ((r = sshbuf_put_string(b, session_id2, session_id2_len)) != 0 ||
1771 (r = sshbuf_put_string(b, keyblob, keylen)) != 0 ||
H A Dssh-agent.c292 if ((r = sshbuf_put_string(msg, blob, blen)) != 0)
442 (r = sshbuf_put_string(msg, signature, slen)) != 0)
H A Dmonitor.c729 (r = sshbuf_put_string(sigbuf, session_id2,
768 if ((r = sshbuf_put_string(m, signature, siglen)) != 0)
/freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_basic.c379 TEST_START("sshbuf_put_string");
382 ASSERT_INT_EQ(sshbuf_put_string(p1, x, sizeof(x)), 0);
389 TEST_START("sshbuf_put_string limited");
393 r = sshbuf_put_string(p1, x, sizeof(x));
399 TEST_START("sshbuf_put_string giant");
402 r = sshbuf_put_string(p1, (void *)0x01, 0xfffffffc);
H A Dtest_sshbuf_getput_crypto.c384 ASSERT_INT_EQ(sshbuf_put_string(p1, expec256, sizeof(expec256)), 0);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dport-tun.c247 if ((r = sshbuf_put_string(&c->input, ptr, len)) != 0)
/freebsd-10-stable/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c100 ASSERT_INT_EQ(sshbuf_put_string(b, NULL, 0), 0); /* reserved */
104 ASSERT_INT_EQ(sshbuf_put_string(b, sigblob, siglen), 0); /* signature */

Completed in 365 milliseconds

12