/openbsd/usr.bin/ssh/ |
H A D | ssh-keysign.c | 81 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 D | ssh-xmss.c | 139 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 D | sshkey-xmss.c | 312 (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 D | ssh-ed25519.c | 107 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 D | ssh-pkcs11-helper.c | 190 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 D | ssh-pkcs11-client.c | 276 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 D | ssh-sk-client.c | 261 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 D | sftp-common.c | 139 (r = sshbuf_get_string(b, &data, &dlen)) != 0) in decode_attrib()
|
H A D | monitor_wrap.c | 269 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 D | gss-genr.c | 50 if ((r = sshbuf_get_string(b, &p, &len)) != 0) in ssh_gssapi_get_buffer_desc()
|
H A D | sshbuf.h | 196 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
|
H A D | ssh-dss.c | 347 sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_dss_verify()
|
H A D | sshsig.c | 280 (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 D | packet.c | 2431 (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 D | sshbuf-getput-basic.c | 183 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string() function
|
H A D | ssh-rsa.c | 507 if (sshbuf_get_string(b, &sigblob, &len) != 0) { in ssh_rsa_verify()
|
H A D | authfd.c | 437 if ((r = sshbuf_get_string(msg, &sig, &len)) != 0) in ssh_agent_sign()
|
H A D | sftp-client.c | 318 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 D | monitor.c | 646 (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 D | sftp-server.c | 500 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 D | sshd-session.c | 650 if ((r = sshbuf_get_string(m, &cp, &len)) != 0 || /* XXX _direct */ in recv_rexec_state()
|
H A D | krl.c | 988 if ((r = sshbuf_get_string(sect, &rdata, &rlen)) != 0) in blob_section()
|
H A D | sshkey.c | 1858 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 D | test_sshbuf_getput_fuzz.c | 44 if (sshbuf_get_string(p1, &s, &l) == 0) { in attempt_parse_blob()
|
H A D | test_sshbuf_getput_basic.c | 289 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()
|