Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dssh-ed25519-sk.c208 if (sshbuf_put(encoded, sigblob, len) != 0 || in ssh_ed25519_sk_verify()
209 sshbuf_put(encoded, apphash, sizeof(apphash)) != 0 || in ssh_ed25519_sk_verify()
212 sshbuf_put(encoded, msghash, sizeof(msghash)) != 0) { in ssh_ed25519_sk_verify()
H A Dsshsig.c74 if ((r = sshbuf_put(buf, END_SIGNATURE, in sshsig_armor()
185 if ((r = sshbuf_put(tosign, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_wrap_sign()
214 if ((r = sshbuf_put(blob, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_wrap_sign()
324 if ((r = sshbuf_put(toverify, MAGIC_PREAMBLE, in sshsig_wrap_verify()
430 if ((r = sshbuf_put(b, hash, ssh_digest_bytes(alg))) != 0) { in hash_buffer()
555 if ((r = sshbuf_put(b, hash, ssh_digest_bytes(alg))) != 0) { in hash_file()
H A Dgss-genr.c128 if ((r = sshbuf_put(b, msg.value, msg.length)) != 0 || in ssh_gssapi_last_error()
140 if ((r = sshbuf_put(b, msg.value, msg.length)) != 0 || in ssh_gssapi_last_error()
H A Dsshbuf-misc.c119 if ((r = sshbuf_put(b64, s, strlen(s))) != 0) in sshbuf_dtob64()
161 if ((r = sshbuf_put(buf, p, nlen)) < 0) { in sshbuf_b64tod()
H A Dsshbuf-io.c59 if ((r = sshbuf_put(blob, buf, len)) != 0) in sshbuf_load_fd()
H A Dkexgex.c83 (r = sshbuf_put(b, shared_secret, secretlen)) != 0) { in kexgex_hash()
H A Dsshbuf-getput-basic.c324 sshbuf_put(struct sshbuf *buf, const void *v, size_t len) in sshbuf_put() function
341 return sshbuf_put(buf, sshbuf_ptr(v), sshbuf_len(v)); in sshbuf_putb()
H A Dkexgexc.c221 if ((r = sshbuf_put(kex->initial_sig, signature, slen)) != 0) in input_kex_dh_gex_reply()
H A Dmonitor_wrap.c663 if ((r = sshbuf_put(loginmsg, msg, strlen(msg))) != 0) in mm_pty_allocate()
737 (r = sshbuf_put(loginmsg, msg, msglen)) != 0) in mm_do_pam_account()
H A Dauthfd.c175 if ((r = sshbuf_put(reply, buf, l)) != 0) in ssh_request_reply()
H A Dmisc.c1284 if ((r = sshbuf_put(buf, val, strlen(val))) !=0) in vdollar_percent_expand()
1313 if ((r = sshbuf_put(buf, keys[i].repl, in vdollar_percent_expand()
H A Dclientloop.c854 if ((r = sshbuf_put(c->extended, errmsg, in client_status_confirm()
1326 if ((r = sshbuf_put(berr, s, strlen(s))) != 0) in process_escapes()
H A Dauth-pam.c939 if ((r = sshbuf_put(loginmsg, **prompts, in sshpam_query()
H A Dsshkey-xmss.c928 if ((r = sshbuf_put(encoded, XMSS_MAGIC, sizeof(XMSS_MAGIC))) != 0 || in sshkey_xmss_encrypt_state()
H A Dkrl.c753 if ((r = sshbuf_put(buf, KRL_MAGIC, sizeof(KRL_MAGIC) - 1)) != 0 || in ssh_krl_to_blob()
H A Dsftp-server.c2036 } else if ((r = sshbuf_put(iqueue, buf, len)) != 0) in sftp_server_main()
H A Dssh.c1444 if ((r = sshbuf_put(command, options.remote_command, in main()
H A Dssh-agent.c1970 if ((r = sshbuf_put(sockets[socknum].input, buf, len)) != 0) in handle_conn_read()