Home
last modified time | relevance | path

Searched refs:sshbuf_get_string (Results 1 – 25 of 25) sorted by relevance

/freebsd/crypto/openssh/
H A Dssh-keysign.c84 if ((r = sshbuf_get_string(b, NULL, &len)) != 0) in valid_request()
117 (r = sshbuf_get_string(b, &pkblob, &blen)) != 0) in valid_request()
272 if ((r = sshbuf_get_string(b, &data, &dlen)) != 0) in main()
H A Dssh-ed25519.c109 if ((r = sshbuf_get_string(b, &pk, &len)) != 0) in ssh_ed25519_deserialize_public()
129 if ((r = sshbuf_get_string(b, &ed25519_sk, &sklen)) != 0) in ssh_ed25519_deserialize_private()
H A Dssh-sk-client.c285 if ((r = sshbuf_get_string(resp, sigp, lenp)) != 0) { in sshsk_sign()
449 (r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) { in sshsk_load_resident()
H A Dsftp-common.c142 (r = sshbuf_get_string(b, &data, &dlen)) != 0) in decode_attrib()
H A Dgss-genr.c56 if ((r = sshbuf_get_string(b, &p, &len)) != 0) in ssh_gssapi_get_buffer_desc()
H A Dmonitor_wrap.c293 if ((r = sshbuf_get_string(m, sigp, lenp)) != 0) in mm_sshkey_sign()
912 if ((r = sshbuf_get_string(m, &cp, &len)) != 0 || in mm_get_state()
924 (r = sshbuf_get_string(m, pw_namep, NULL)) != 0 || in mm_get_state()
H A Dsshbuf.h210 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
H A Dsshsig.c287 (r = sshbuf_get_string(buf, NULL, NULL)) != 0 || in sshsig_peek_hashalg()
342 (r = sshbuf_get_string(signature, NULL, NULL)) != 0 || in sshsig_wrap_verify()
H A Dssh-pkcs11-client.c266 if ((r = sshbuf_get_string(msg, &signature, &signature_len)) != 0) in pkcs11_sign()
H A Dpacket.c2530 (r = sshbuf_get_string(b, &enc->key, &keylen)) != 0 || in newkeys_from_blob()
2531 (r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0) in newkeys_from_blob()
2543 (r = sshbuf_get_string(b, &mac->key, &maclen)) != 0) in newkeys_from_blob()
2773 return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_string()
H A Dssh-rsa.c536 if (sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_rsa_verify()
H A Dsshbuf-getput-basic.c185 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string() function
H A Dsftp-client.c326 if ((r = sshbuf_get_string(msg, &handle, len)) != 0) in get_handle()
496 (r = sshbuf_get_string(msg, &value, &vlen)) != 0) in sftp_init()
1728 if ((r = sshbuf_get_string(msg, &data, &len)) != 0) in sftp_download()
2571 if ((r = sshbuf_get_string(msg, &data, &len)) != 0) in sftp_crossload()
H A Dauthfd.c437 if ((r = sshbuf_get_string(msg, &sig, &len)) != 0) in ssh_agent_sign()
H A Dsftp-server.c502 if ((r = sshbuf_get_string(queue, &handle, &hlen)) != 0) in get_handle()
855 (r = sshbuf_get_string(iqueue, &data, &len)) != 0) in process_write()
H A Dmonitor.c751 (r = sshbuf_get_string(m, &p, &datlen)) != 0 || in mm_answer_sign()
2005 if ((r = sshbuf_get_string(m, &p, &len)) != 0) in mm_answer_gss_setup_ctx()
H A Dsshd-session.c663 if ((r = sshbuf_get_string(m, &cp, &len)) != 0 || /* XXX _direct */ in recv_rexec_state()
H A Dssh_namespace.h796 #define sshbuf_get_string Fssh_sshbuf_get_string macro
H A Dkrl.c991 if ((r = sshbuf_get_string(sect, &rdata, &rlen)) != 0) in blob_section()
H A Dsshkey.c1887 if ((ret = sshbuf_get_string(b, &sig, &slen)) != 0) { in cert_parse()
3093 if ((r = sshbuf_get_string(kdf, &salt, &slen)) != 0 || in private2_decrypt()
H A Dsshconnect2.c2127 if ((r = sshbuf_get_string(b, sigp, lenp)) != 0) { in ssh_keysign()
H A Dchannels.c2288 if ((r = sshbuf_get_string(c->output, &data, &dlen)) != 0) in channel_handle_wfd()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_fuzz.c54 if (sshbuf_get_string(p1, &s, &l) == 0) { in attempt_parse_blob()
H A Dtest_sshbuf_getput_basic.c291 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0); in sshbuf_getput_basic_tests()
306 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0); in sshbuf_getput_basic_tests()
322 r = sshbuf_get_string(p1, &d, &s); in sshbuf_getput_basic_tests()
334 r = sshbuf_get_string(p1, &d, &s); in sshbuf_getput_basic_tests()
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-net.c361 if ((r = sshbuf_get_string(c->output, data, dlen)) != 0) in sys_tun_outfilter()