Home
last modified time | relevance | path

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

12

/openbsd/usr.bin/ssh/
H A Dssh-keysign.c81 if ((r = sshbuf_get_string(b, NULL, &len)) != 0) in valid_request()
114 (r = sshbuf_get_string(b, &pkblob, &blen)) != 0) in valid_request()
273 if ((r = sshbuf_get_string(b, &data, &dlen)) != 0) in main()
H A Dssh-xmss.c139 if ((ret = sshbuf_get_string(b, &pk, &len)) != 0) in ssh_xmss_deserialize_public()
169 (r = sshbuf_get_string(b, &xmss_pk, &pklen)) != 0 || in ssh_xmss_deserialize_private()
170 (r = sshbuf_get_string(b, &xmss_sk, &sklen)) != 0) in ssh_xmss_deserialize_private()
H A Dsshkey-xmss.c312 (r = sshbuf_get_string(b, &state->enc_keyiv, &len)) != 0) in sshkey_xmss_deserialize_enc_key()
784 (r = sshbuf_get_string(b, &state->stack, &ls)) != 0 || in sshkey_xmss_deserialize_state()
786 (r = sshbuf_get_string(b, &state->stacklevels, &lsl)) != 0 || in sshkey_xmss_deserialize_state()
787 (r = sshbuf_get_string(b, &state->auth, &la)) != 0 || in sshkey_xmss_deserialize_state()
788 (r = sshbuf_get_string(b, &state->keep, &lk)) != 0 || in sshkey_xmss_deserialize_state()
789 (r = sshbuf_get_string(b, &state->th_nodes, &ln)) != 0 || in sshkey_xmss_deserialize_state()
790 (r = sshbuf_get_string(b, &state->retain, &lr)) != 0 || in sshkey_xmss_deserialize_state()
H A Dssh-ed25519.c107 if ((r = sshbuf_get_string(b, &pk, &len)) != 0) in ssh_ed25519_deserialize_public()
127 if ((r = sshbuf_get_string(b, &ed25519_sk, &sklen)) != 0) in ssh_ed25519_deserialize_private()
H A Dssh-pkcs11-helper.c190 if ((r = sshbuf_get_string(iqueue, &blob, &blen)) != 0 || in process_sign()
191 (r = sshbuf_get_string(iqueue, &data, &dlen)) != 0 || in process_sign()
H A Dssh-pkcs11-client.c276 if ((r = sshbuf_get_string(msg, &signature, &slen)) != 0) in rsa_encrypt()
359 if ((r = sshbuf_get_string(msg, &signature, &slen)) != 0) in ecdsa_do_sign()
631 if ((r = sshbuf_get_string(msg, &blob, &blen)) != 0 || in pkcs11_add_provider()
H A Dssh-sk-client.c261 if ((r = sshbuf_get_string(resp, sigp, lenp)) != 0) { in sshsk_sign()
421 (r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) { in sshsk_load_resident()
H A Dsftp-common.c139 (r = sshbuf_get_string(b, &data, &dlen)) != 0) in decode_attrib()
H A Dmonitor_wrap.c269 if ((r = sshbuf_get_string(m, sigp, lenp)) != 0) in mm_sshkey_sign()
706 if ((r = sshbuf_get_string(m, &cp, &len)) != 0 || in mm_get_state()
718 (r = sshbuf_get_string(m, pw_namep, NULL)) != 0 || in mm_get_state()
H A Dgss-genr.c50 if ((r = sshbuf_get_string(b, &p, &len)) != 0) in ssh_gssapi_get_buffer_desc()
H A Dsshbuf.h196 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
H A Dssh-dss.c347 sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_dss_verify()
H A Dsshsig.c280 (r = sshbuf_get_string(buf, NULL, NULL)) != 0 || in sshsig_peek_hashalg()
335 (r = sshbuf_get_string(signature, NULL, NULL)) != 0 || in sshsig_wrap_verify()
H A Dpacket.c2431 (r = sshbuf_get_string(b, &enc->key, &keylen)) != 0 || in newkeys_from_blob()
2432 (r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0) in newkeys_from_blob()
2444 (r = sshbuf_get_string(b, &mac->key, &maclen)) != 0) in newkeys_from_blob()
2661 return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_string()
H A Dsshbuf-getput-basic.c183 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string() function
H A Dssh-rsa.c507 if (sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_rsa_verify()
H A Dauthfd.c437 if ((r = sshbuf_get_string(msg, &sig, &len)) != 0) in ssh_agent_sign()
H A Dsftp-client.c318 if ((r = sshbuf_get_string(msg, &handle, len)) != 0) in get_handle()
488 (r = sshbuf_get_string(msg, &value, &vlen)) != 0) in sftp_init()
1723 if ((r = sshbuf_get_string(msg, &data, &len)) != 0) in sftp_download()
2555 if ((r = sshbuf_get_string(msg, &data, &len)) != 0) in sftp_crossload()
H A Dmonitor.c646 (r = sshbuf_get_string(m, &p, &datlen)) != 0 || in mm_answer_sign()
1647 if ((r = sshbuf_get_string(m, &p, &len)) != 0) in mm_answer_gss_setup_ctx()
H A Dsftp-server.c500 if ((r = sshbuf_get_string(queue, &handle, &hlen)) != 0) in get_handle()
853 (r = sshbuf_get_string(iqueue, &data, &len)) != 0) in process_write()
H A Dsshd-session.c650 if ((r = sshbuf_get_string(m, &cp, &len)) != 0 || /* XXX _direct */ in recv_rexec_state()
H A Dkrl.c988 if ((r = sshbuf_get_string(sect, &rdata, &rlen)) != 0) in blob_section()
H A Dsshkey.c1858 if ((ret = sshbuf_get_string(b, &sig, &slen)) != 0) { in cert_parse()
3091 if ((r = sshbuf_get_string(kdf, &salt, &slen)) != 0 || in private2_decrypt()
/openbsd/regress/usr.bin/ssh/unittests/sshbuf/
H A Dtest_sshbuf_getput_fuzz.c44 if (sshbuf_get_string(p1, &s, &l) == 0) { in attempt_parse_blob()
H A Dtest_sshbuf_getput_basic.c289 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0); in sshbuf_getput_basic_tests()
304 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0); in sshbuf_getput_basic_tests()
320 r = sshbuf_get_string(p1, &d, &s); in sshbuf_getput_basic_tests()
332 r = sshbuf_get_string(p1, &d, &s); in sshbuf_getput_basic_tests()

12