Home
last modified time | relevance | path

Searched refs:sshbuf_put (Results 1 – 18 of 18) sorted by relevance

/external/openssh/
Dkexc25519.c104 (r = sshbuf_put(b, ckexinit, ckexinitlen)) < 0 || in kex_c25519_hash()
107 (r = sshbuf_put(b, skexinit, skexinitlen)) < 0 || in kex_c25519_hash()
111 (r = sshbuf_put(b, shared_secret, secretlen)) < 0) { in kex_c25519_hash()
Dkexecdh.c75 (r = sshbuf_put(b, ckexinit, ckexinitlen)) != 0 || in kex_ecdh_hash()
78 (r = sshbuf_put(b, skexinit, skexinitlen)) != 0 || in kex_ecdh_hash()
Dkexdh.c68 (r = sshbuf_put(b, ckexinit, ckexinitlen)) != 0 || in kex_dh_hash()
71 (r = sshbuf_put(b, skexinit, skexinitlen)) != 0 || in kex_dh_hash()
Dkexgex.c72 (r = sshbuf_put(b, ckexinit, ckexinitlen)) != 0 || in kexgex_hash()
75 (r = sshbuf_put(b, skexinit, skexinitlen)) != 0 || in kexgex_hash()
Dpacket.c332 if ((r = sshbuf_put(state->incoming_packet, buf, in ssh_packet_stop_discard()
645 if ((r = sshbuf_put(out, buf, sizeof(buf) - in compress_buffer()
681 if ((r = sshbuf_put(out, buf, sizeof(buf) - in uncompress_buffer()
845 if ((r = sshbuf_put(state->compression_buffer, in ssh_packet_send1()
876 if ((r = sshbuf_put(state->outgoing_packet, buf, 4)) != 0) in ssh_packet_send1()
886 if ((r = sshbuf_put(state->output, buf, 4)) != 0) in ssh_packet_send1()
1094 if ((r = sshbuf_put(state->outgoing_packet, in ssh_packet_send2_wrapped()
1173 if ((r = sshbuf_put(state->output, macbuf, mac->mac_len)) != 0) in ssh_packet_send2_wrapped()
1853 if ((r = sshbuf_put(ssh->state->input, buf, len)) != 0) in ssh_packet_process_incoming()
2385 (r = sshbuf_put(b, &enc->cipher, sizeof(enc->cipher))) != 0 || in newkeys_to_blob()
[all …]
Dssh_api.c220 return sshbuf_put(ssh_packet_get_input(ssh), data, len); in ssh_input_append()
344 if ((r = sshbuf_put(ssh_packet_get_output(ssh), in _ssh_read_banner()
386 if ((r = sshbuf_put(ssh_packet_get_output(ssh), buf, strlen(buf))) != 0) in _ssh_send_banner()
Dbuffer.c34 if ((ret = sshbuf_put(buffer, data, len)) != 0) in buffer_append()
Dsshbuf-misc.c129 if ((r = sshbuf_put(buf, p, nlen)) < 0) { in sshbuf_b64tod()
Dsshbuf-getput-basic.c234 sshbuf_put(struct sshbuf *buf, const void *v, size_t len) in sshbuf_put() function
249 return sshbuf_put(buf, sshbuf_ptr(v), sshbuf_len(v)); in sshbuf_putb()
Dauthfd.c160 if ((r = sshbuf_put(reply, buf, l)) != 0) in ssh_request_reply()
406 (r = sshbuf_put(msg, session_id, 16)) != 0 || in ssh_decrypt_challenge()
Dsshbuf.h162 int sshbuf_put(struct sshbuf *buf, const void *v, size_t len);
Dauthfile.c117 if ((r = sshbuf_put(blob, buf, len)) != 0) in sshkey_load_file()
Dsshkey.c1476 if ((ret = sshbuf_put(b, uu, strlen(uu))) != 0) in sshkey_write()
3109 if ((r = sshbuf_put(encoded, AUTH_MAGIC, sizeof(AUTH_MAGIC))) != 0 || in sshkey_private_to_blob2()
3157 if ((r = sshbuf_put(blob, MARK_BEGIN, MARK_BEGIN_LEN)) != 0) in sshkey_private_to_blob2()
3168 if ((r = sshbuf_put(blob, MARK_END, MARK_END_LEN)) != 0) in sshkey_private_to_blob2()
3459 if ((r = sshbuf_put(buffer, buf, 8 - (sshbuf_len(buffer) % 8))) != 0) in sshkey_private_rsa1_to_blob()
3469 if ((r = sshbuf_put(encrypted, LEGACY_BEGIN, in sshkey_private_rsa1_to_blob()
3561 if ((r = sshbuf_put(blob, bptr, blen)) != 0) in sshkey_private_pem_to_blob()
Dssh-agent.c349 (r = sshbuf_put(msg, mdbuf, sizeof(mdbuf))) != 0) in process_authentication_challenge1()
1079 if ((r = sshbuf_put(sockets[i].input, in after_select()
Dssh-keyscan.c206 if ((r = sshbuf_put(msg, c->c_data, c->c_plen)) != 0 || in keygrab_ssh1()
Dkex.c334 if ((r = sshbuf_put(kex->peer, ptr, dlen)) != 0) in kex_input_kexinit()
Dkrl.c723 if ((r = sshbuf_put(buf, KRL_MAGIC, sizeof(KRL_MAGIC) - 1)) != 0 || in ssh_krl_to_blob()
Dsftp-server.c1683 } else if ((r = sshbuf_put(iqueue, buf, len)) != 0) { in sftp_server_main()