Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssh/
H A Dssh-keysign.c86 if ((r = sshbuf_get_string(b, NULL, &len)) != 0) in valid_request()
119 (r = sshbuf_get_string(b, &pkblob, &blen)) != 0) in valid_request()
276 if ((r = sshbuf_get_string(b, &data, &dlen)) != 0) in main()
H A Dssh-xmss.c144 if ((ret = sshbuf_get_string(b, &pk, &len)) != 0) in ssh_xmss_deserialize_public()
174 (r = sshbuf_get_string(b, &xmss_pk, &pklen)) != 0 || in ssh_xmss_deserialize_private()
175 (r = sshbuf_get_string(b, &xmss_sk, &sklen)) != 0) in ssh_xmss_deserialize_private()
H A Dsshkey-xmss.c318 (r = sshbuf_get_string(b, &state->enc_keyiv, &len)) != 0) in sshkey_xmss_deserialize_enc_key()
790 (r = sshbuf_get_string(b, &state->stack, &ls)) != 0 || in sshkey_xmss_deserialize_state()
792 (r = sshbuf_get_string(b, &state->stacklevels, &lsl)) != 0 || in sshkey_xmss_deserialize_state()
793 (r = sshbuf_get_string(b, &state->auth, &la)) != 0 || in sshkey_xmss_deserialize_state()
794 (r = sshbuf_get_string(b, &state->keep, &lk)) != 0 || in sshkey_xmss_deserialize_state()
795 (r = sshbuf_get_string(b, &state->th_nodes, &ln)) != 0 || in sshkey_xmss_deserialize_state()
796 (r = sshbuf_get_string(b, &state->retain, &lr)) != 0 || in sshkey_xmss_deserialize_state()
H A Dssh-ed25519.c110 if ((r = sshbuf_get_string(b, &pk, &len)) != 0) in ssh_ed25519_deserialize_public()
130 if ((r = sshbuf_get_string(b, &ed25519_sk, &sklen)) != 0) in ssh_ed25519_deserialize_private()
H A Dssh-pkcs11-helper.c194 if ((r = sshbuf_get_string(iqueue, &blob, &blen)) != 0 || in process_sign()
195 (r = sshbuf_get_string(iqueue, &data, &dlen)) != 0 || in process_sign()
H A Dssh-pkcs11-client.c290 if ((r = sshbuf_get_string(msg, &signature, &slen)) != 0) in rsa_encrypt()
373 if ((r = sshbuf_get_string(msg, &signature, &slen)) != 0) in ecdsa_do_sign()
619 if ((r = sshbuf_get_string(msg, &blob, &blen)) != 0 || in pkcs11_add_provider()
H A Dssh-sk-client.c267 if ((r = sshbuf_get_string(resp, sigp, lenp)) != 0) { in sshsk_sign()
431 (r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) { in sshsk_load_resident()
H A Dsftp-common.c144 (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 Dsshbuf.h189 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
H A Dssh-dss.c353 sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_dss_verify()
H A Dsshsig.c282 (r = sshbuf_get_string(buf, NULL, NULL)) != 0 || in sshsig_peek_hashalg()
337 (r = sshbuf_get_string(signature, NULL, NULL)) != 0 || in sshsig_wrap_verify()
H A Dpacket.c2369 (r = sshbuf_get_string(b, &enc->key, &keylen)) != 0 || in newkeys_from_blob()
2370 (r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0) in newkeys_from_blob()
2382 (r = sshbuf_get_string(b, &mac->key, &maclen)) != 0) in newkeys_from_blob()
2602 return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_string()
H A Dsshbuf-getput-basic.c187 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string() function
H A Dssh-rsa.c518 if (sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_rsa_verify()
H A Dauthfd.c438 if ((r = sshbuf_get_string(msg, &sig, &len)) != 0) in ssh_agent_sign()
H A Dsftp-client.c338 if ((r = sshbuf_get_string(msg, &handle, len)) != 0) in get_handle()
508 (r = sshbuf_get_string(msg, &value, &vlen)) != 0) in sftp_init()
1743 if ((r = sshbuf_get_string(msg, &data, &len)) != 0) in sftp_download()
2580 if ((r = sshbuf_get_string(msg, &data, &len)) != 0) in sftp_crossload()
H A Dmonitor.c623 (r = sshbuf_get_string(m, &p, &datlen)) != 0 || in mm_answer_sign()
1843 if ((r = sshbuf_get_string(m, &p, &len)) != 0) in mm_answer_gss_setup_ctx()
H A Dsftp-server.c510 if ((r = sshbuf_get_string(queue, &handle, &hlen)) != 0) in get_handle()
863 (r = sshbuf_get_string(iqueue, &data, &len)) != 0) in process_write()
H A Dmonitor_wrap.c239 if ((r = sshbuf_get_string(m, sigp, lenp)) != 0) in mm_sshkey_sign()
H A Dssh_namespace.h778 #define sshbuf_get_string Fssh_sshbuf_get_string macro
H A Dkrl.c990 if ((r = sshbuf_get_string(sect, &rdata, &rlen)) != 0) in blob_section()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_fuzz.c56 if (sshbuf_get_string(p1, &s, &l) == 0) { in attempt_parse_blob()
H A Dtest_sshbuf_getput_basic.c293 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0); in sshbuf_getput_basic_tests()
308 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0); in sshbuf_getput_basic_tests()
324 r = sshbuf_get_string(p1, &d, &s); in sshbuf_getput_basic_tests()
336 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()

12