Home
last modified time | relevance | path

Searched refs:sshbuf_put_u8 (Results 1 – 17 of 17) sorted by relevance

/external/openssh/
Dauthfd.c189 if ((r = sshbuf_put_u8(msg, type)) != 0 || in ssh_lock_agent()
295 if ((r = sshbuf_put_u8(msg, code1)) != 0) in ssh_fetch_identitylist()
401 if ((r = sshbuf_put_u8(msg, SSH_AGENTC_RSA_CHALLENGE)) != 0 || in ssh_decrypt_challenge()
452 if ((r = sshbuf_put_u8(msg, SSH2_AGENTC_SIGN_REQUEST)) != 0 || in ssh_agent_sign()
521 if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_LIFETIME)) != 0 || in encode_constraints()
526 if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_CONFIRM)) != 0) in encode_constraints()
555 if ((r = sshbuf_put_u8(msg, type)) != 0 || in ssh_add_identity_constrained()
573 if ((r = sshbuf_put_u8(msg, type)) != 0 || in ssh_add_identity_constrained()
611 if ((r = sshbuf_put_u8(msg, in ssh_remove_identity()
622 if ((r = sshbuf_put_u8(msg, in ssh_remove_identity()
[all …]
Dkexecdh.c74 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kex_ecdh_hash()
77 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kex_ecdh_hash()
Dkexdh.c67 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kex_dh_hash()
70 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kex_dh_hash()
Dkexgex.c71 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kexgex_hash()
74 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kexgex_hash()
Dkexc25519.c108 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) < 0 || in kex_c25519_hash()
111 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) < 0 || in kex_c25519_hash()
Dsftp-client.c168 if ((r = sshbuf_put_u8(msg, code)) != 0 || in send_string_request()
186 if ((r = sshbuf_put_u8(msg, code)) != 0 || in send_string_attrs_request()
395 if ((r = sshbuf_put_u8(msg, SSH2_FXP_INIT)) != 0 || in do_init()
494 if ((r = sshbuf_put_u8(msg, SSH2_FXP_CLOSE)) != 0 || in do_close()
530 if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPENDIR)) != 0 || in do_lsreaddir()
555 if ((r = sshbuf_put_u8(msg, SSH2_FXP_READDIR)) != 0 || in do_lsreaddir()
878 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 || in do_rename()
884 if ((r = sshbuf_put_u8(msg, SSH2_FXP_RENAME)) != 0 || in do_rename()
922 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 || in do_hardlink()
958 if ((r = sshbuf_put_u8(msg, SSH2_FXP_SYMLINK)) != 0 || in do_symlink()
[all …]
Dauth2-pubkey.c353 r = sshbuf_put_u8(arg, c); in assemble_argv()
358 if ((r = sshbuf_put_u8(arg, '\\')) != 0) in assemble_argv()
362 r = sshbuf_put_u8(arg, c); in assemble_argv()
369 if ((i != 0 && (r = sshbuf_put_u8(buf, ' ')) != 0) || in assemble_argv()
370 (ws != 0 && (r = sshbuf_put_u8(buf, '"')) != 0) || in assemble_argv()
372 (ws != 0 && (r = sshbuf_put_u8(buf, '"')) != 0)) in assemble_argv()
Dssh-agent.c234 (r = sshbuf_put_u8(e->output, success ? in send_status()
250 if ((r = sshbuf_put_u8(msg, (version == 1) ? in process_request_identities()
352 if ((r = sshbuf_put_u8(msg, SSH_AGENT_RSA_RESPONSE)) != 0 || in process_authentication_challenge1()
360 if ((r = sshbuf_put_u8(msg, SSH_AGENT_FAILURE)) != 0) in process_authentication_challenge1()
413 if ((r = sshbuf_put_u8(msg, SSH2_AGENT_SIGN_RESPONSE)) != 0 || in process_sign_request2()
416 } else if ((r = sshbuf_put_u8(msg, SSH_AGENT_FAILURE)) != 0) in process_sign_request2()
718 if ((r = sshbuf_put_u8(msg, in no_identities()
Dkrl.c607 if ((r = sshbuf_put_u8(buf, state)) != 0 || in revoked_certs_generate()
680 if ((r = sshbuf_put_u8(buf, state)) != 0 || in revoked_certs_generate()
694 if ((r = sshbuf_put_u8(buf, KRL_SECTION_CERT_KEY_ID)) != 0 || in revoked_certs_generate()
737 if ((r = sshbuf_put_u8(buf, KRL_SECTION_CERTIFICATES)) != 0 || in ssh_krl_to_blob()
750 if ((r = sshbuf_put_u8(buf, KRL_SECTION_EXPLICIT_KEY)) != 0 || in ssh_krl_to_blob()
761 if ((r = sshbuf_put_u8(buf, in ssh_krl_to_blob()
770 if ((r = sshbuf_put_u8(buf, KRL_SECTION_SIGNATURE)) != 0 || in ssh_krl_to_blob()
Dsftp-server.c526 if ((r = sshbuf_put_u8(msg, SSH2_FXP_STATUS)) != 0 || in send_status()
547 if ((r = sshbuf_put_u8(msg, type)) != 0 || in send_data_or_handle()
582 if ((r = sshbuf_put_u8(msg, SSH2_FXP_NAME)) != 0 || in send_names()
606 if ((r = sshbuf_put_u8(msg, SSH2_FXP_ATTRS)) != 0 || in send_attrib()
626 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 || in send_statvfs()
657 if ((r = sshbuf_put_u8(msg, SSH2_FXP_VERSION)) != 0 || in process_init()
Dbufaux.c247 if ((ret = sshbuf_put_u8(buffer, value)) != 0) in buffer_put_char()
Dsshbuf.h178 int sshbuf_put_u8(struct sshbuf *buf, u_char val);
Dsshbuf-getput-basic.c334 sshbuf_put_u8(struct sshbuf *buf, u_char val) in sshbuf_put_u8() function
Dkex.c235 if ((r = sshbuf_put_u8(b, 0)) != 0) in kex_prop2buf()
242 if ((r = sshbuf_put_u8(b, 0)) != 0 || /* first_kex_packet_follows */ in kex_prop2buf()
Dsshkey.c3081 if ((r = sshbuf_put_u8(encrypted, ++i & 0xff)) != 0) in sshkey_private_to_blob2()
3107 if ((r = sshbuf_put_u8(blob, b64[i])) != 0) in sshkey_private_to_blob2()
3110 if (i % 70 == 69 && (r = sshbuf_put_u8(blob, '\n')) != 0) in sshkey_private_to_blob2()
3113 if (i % 70 != 69 && (r = sshbuf_put_u8(blob, '\n')) != 0) in sshkey_private_to_blob2()
3186 if ((r = sshbuf_put_u8(encoded, *cp)) != 0) in sshkey_parse_private2()
3196 if ((r = sshbuf_put_u8(encoded, 0)) != 0) in sshkey_parse_private2()
3428 if ((r = sshbuf_put_u8(encrypted, cipher_num)) != 0 || in sshkey_private_rsa1_to_blob()
Dsshconnect2.c1669 (r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 || in userauth_hostbased()
Dpacket.c2727 return sshbuf_put_u8(ssh->state->outgoing_packet, val); in sshpkt_put_u8()