Home
last modified time | relevance | path

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

12

/external/openssh/
Dkexc25519.c113 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) < 0 || in kex_c25519_hash()
114 (r = sshbuf_put_string(b, client_dh_pub, CURVE25519_SIZE)) < 0 || in kex_c25519_hash()
115 (r = sshbuf_put_string(b, server_dh_pub, CURVE25519_SIZE)) < 0 || in kex_c25519_hash()
Dsshbuf-getput-crypto.c160 if ((r = sshbuf_put_string(buf, d + 1 - prepend, len + prepend)) < 0) { in sshbuf_put_bignum2()
212 ret = sshbuf_put_string(buf, d, len); in sshbuf_put_ec()
Dsshbuf-getput-basic.c346 sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len) in sshbuf_put_string() function
366 return sshbuf_put_string(buf, (u_char *)v, v == NULL ? 0 : strlen(v)); in sshbuf_put_cstring()
372 return sshbuf_put_string(buf, sshbuf_ptr(v), sshbuf_len(v)); in sshbuf_put_stringb()
Dkexecdh.c79 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) != 0 || in kex_ecdh_hash()
Dkexdh.c72 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) != 0 || in kex_dh_hash()
Dkrl.c562 if ((r = sshbuf_put_string(buf, NULL, 0)) != 0) in revoked_certs_generate()
568 if ((r = sshbuf_put_string(buf, NULL, 0)) != 0) in revoked_certs_generate()
728 (r = sshbuf_put_string(buf, NULL, 0)) != 0 || in ssh_krl_to_blob()
746 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0) in ssh_krl_to_blob()
757 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0) in ssh_krl_to_blob()
778 if ((r = sshbuf_put_string(buf, sblob, slen)) != 0) in ssh_krl_to_blob()
Dkexgex.c76 (r = sshbuf_put_string(b, serverhostkeyblob, sbloblen)) != 0 || in kexgex_hash()
Dsftp-client.c170 (r = sshbuf_put_string(msg, s, len)) != 0) in send_string_request()
188 (r = sshbuf_put_string(msg, s, len)) != 0 || in send_string_attrs_request()
496 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_close()
557 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_lsreaddir()
994 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_fsync()
1114 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_fstatvfs()
1135 (r = sshbuf_put_string(msg, handle, handle_len)) != 0 || in send_read_request()
1685 (r = sshbuf_put_string(msg, handle, in do_upload()
1688 (r = sshbuf_put_string(msg, data, len)) != 0) in do_upload()
Dauthfd.c453 (r = sshbuf_put_string(msg, blob, blen)) != 0 || in ssh_agent_sign()
454 (r = sshbuf_put_string(msg, data, datalen)) != 0 || in ssh_agent_sign()
624 (r = sshbuf_put_string(msg, blob, blen)) != 0) in ssh_remove_identity()
Dpacket.c717 if ((r = sshbuf_put_string(b, &state->compression_in_stream, in ssh_packet_get_compress_state()
720 } else if ((r = sshbuf_put_string(b, NULL, 0)) != 0) in ssh_packet_get_compress_state()
723 if ((r = sshbuf_put_string(b, &state->compression_out_stream, in ssh_packet_get_compress_state()
726 } else if ((r = sshbuf_put_string(b, NULL, 0)) != 0) in ssh_packet_get_compress_state()
2376 if ((r = sshbuf_put_string(m, kex->session_id, in kex_to_blob()
2418 (r = sshbuf_put_string(b, enc->key, enc->key_len)) != 0 || in newkeys_to_blob()
2419 (r = sshbuf_put_string(b, enc->iv, enc->iv_len)) != 0) in newkeys_to_blob()
2424 (r = sshbuf_put_string(b, mac->key, mac->key_len)) != 0) in newkeys_to_blob()
2453 (r = sshbuf_put_string(m, state->ssh1_key, state->ssh1_keylen)) != 0 || in ssh_packet_get_state()
2745 return sshbuf_put_string(ssh->state->outgoing_packet, v, len); in sshpkt_put_string()
Dssh-ed25519.c70 (r = sshbuf_put_string(b, sig, smlen - datalen)) != 0) in ssh_ed25519_sign()
Dbufaux.c207 if ((ret = sshbuf_put_string(buffer, buf, len)) != 0) in buffer_put_string()
Dssh-dss.c107 (ret = sshbuf_put_string(b, sigblob, SIGBLOB_LEN)) != 0) in ssh_dss_sign()
Dsshkey.c792 (ret = sshbuf_put_string(b, in to_blob_buf()
2401 if ((ret = sshbuf_put_string(cert, nonce, sizeof(nonce))) != 0) in sshkey_certify()
2431 if ((ret = sshbuf_put_string(cert, in sshkey_certify()
2459 (ret = sshbuf_put_string(cert, NULL, 0)) != 0 || /* Reserved */ in sshkey_certify()
2460 (ret = sshbuf_put_string(cert, ca_blob, ca_len)) != 0) in sshkey_certify()
2469 if ((ret = sshbuf_put_string(cert, sig_blob, sig_len)) != 0) in sshkey_certify()
2610 if ((r = sshbuf_put_string(b, key->ed25519_pk, in sshkey_private_serialize()
2612 (r = sshbuf_put_string(b, key->ed25519_sk, in sshkey_private_serialize()
2622 (r = sshbuf_put_string(b, key->ed25519_pk, in sshkey_private_serialize()
2624 (r = sshbuf_put_string(b, key->ed25519_sk, in sshkey_private_serialize()
[all …]
Dssh-rsa.c95 (ret = sshbuf_put_string(b, sig, slen)) != 0) in ssh_rsa_sign()
Dssh-keysign.c291 if ((r = sshbuf_put_string(b, signature, slen)) != 0) in main()
Dsshbuf.h188 int sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len);
Dserverloop.c1200 (r = sshbuf_put_string(sigbuf, in server_input_hostkeys_prove()
1205 (r = sshbuf_put_string(resp, sig, slen)) != 0) { in server_input_hostkeys_prove()
Dsshconnect2.c1527 (r = sshbuf_put_string(b, data, datalen)) != 0) in ssh_keysign()
1668 if ((r = sshbuf_put_string(b, session_id2, session_id2_len)) != 0 || in userauth_hostbased()
1674 (r = sshbuf_put_string(b, keyblob, keylen)) != 0 || in userauth_hostbased()
Dssh-agent.c276 if ((r = sshbuf_put_string(msg, blob, blen)) != 0) in process_request_identities()
414 (r = sshbuf_put_string(msg, signature, slen)) != 0) in process_sign_request2()
Dmonitor.c729 (r = sshbuf_put_string(sigbuf, session_id2, in mm_answer_sign()
768 if ((r = sshbuf_put_string(m, signature, siglen)) != 0) in mm_answer_sign()
Dsftp-server.c549 (r = sshbuf_put_string(msg, data, dlen)) != 0) in send_data_or_handle()
Dclientloop.c2289 (r = sshbuf_put_string(signdata, ssh->kex->session_id, in client_global_hostkeys_private_confirm()
Dssh-keygen.c1489 (r = sshbuf_put_string(c, NULL, 0)) != 0) in add_flag_option()
/external/openssh/openbsd-compat/
Dport-tun.c247 if ((r = sshbuf_put_string(&c->input, ptr, len)) != 0) in sys_tun_infilter()

12