Home
last modified time | relevance | path

Searched refs:sshbuf_get_cstring (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dssh-sk-helper.c103 (r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_sign()
105 (r = sshbuf_get_cstring(req, NULL, NULL)) != 0 || /* alg */ in process_sign()
107 (r = sshbuf_get_cstring(req, &pin, NULL)) != 0) in process_sign()
163 (r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_enroll()
164 (r = sshbuf_get_cstring(req, &device, NULL)) != 0 || in process_enroll()
165 (r = sshbuf_get_cstring(req, &application, NULL)) != 0 || in process_enroll()
166 (r = sshbuf_get_cstring(req, &userid, NULL)) != 0 || in process_enroll()
168 (r = sshbuf_get_cstring(req, &pin, NULL)) != 0 || in process_enroll()
225 if ((r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_load_resident()
226 (r = sshbuf_get_cstring(req, &device, NULL)) != 0 || in process_load_resident()
[all …]
H A Dmonitor_wrap.c315 (r = sshbuf_get_cstring(m, &newopts->x, NULL)) != 0) \ in mm_decode_activate_server_options()
322 if ((r = sshbuf_get_cstring(m, \ in mm_decode_activate_server_options()
383 if ((r = sshbuf_get_cstring(m, &pw->pw_name, NULL)) != 0 || in mm_getpwnamallow()
384 (r = sshbuf_get_cstring(m, &pw->pw_passwd, NULL)) != 0 || in mm_getpwnamallow()
385 (r = sshbuf_get_cstring(m, &pw->pw_gecos, NULL)) != 0 || in mm_getpwnamallow()
386 (r = sshbuf_get_cstring(m, &pw->pw_class, NULL)) != 0 || in mm_getpwnamallow()
387 (r = sshbuf_get_cstring(m, &pw->pw_dir, NULL)) != 0 || in mm_getpwnamallow()
388 (r = sshbuf_get_cstring(m, &pw->pw_shell, NULL)) != 0) in mm_getpwnamallow()
418 if ((r = sshbuf_get_cstring(m, &banner, NULL)) != 0) in mm_auth2_read_banner()
655 if ((r = sshbuf_get_cstring(m, &p, NULL)) != 0 || in mm_pty_allocate()
[all …]
H A Dssh-keysign.c103 if ((r = sshbuf_get_cstring(b, &p, NULL)) != 0) in valid_request()
110 if ((r = sshbuf_get_cstring(b, &p, NULL)) != 0) in valid_request()
117 if ((r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || in valid_request()
131 if ((r = sshbuf_get_cstring(b, &p, &len)) != 0) in valid_request()
143 if ((r = sshbuf_get_cstring(b, &luser, NULL)) != 0) in valid_request()
H A Dsftp-server.c745 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_open()
902 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_do_stat()
989 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_setstat()
1089 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_opendir()
1175 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_remove()
1193 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_mkdir()
1213 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_rmdir()
1231 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_realpath()
1258 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || in process_rename()
1259 (r = sshbuf_get_cstring(iqueue, &newpath, NULL)) != 0) in process_rename()
[all …]
H A Dssh-agent.c708 (r = sshbuf_get_cstring(b, &user, NULL)) != 0 || /* server user */ in parse_userauth_request()
709 (r = sshbuf_get_cstring(b, &service, NULL)) != 0 || /* service */ in parse_userauth_request()
710 (r = sshbuf_get_cstring(b, &method, NULL)) != 0 || /* method */ in parse_userauth_request()
712 (r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || /* alg */ in parse_userauth_request()
776 (r = sshbuf_get_cstring(b, NULL, NULL)) != 0 || /* namespace */ in parse_sshsig_request()
778 (r = sshbuf_get_cstring(b, NULL, NULL)) != 0 || /* hashalg */ in parse_sshsig_request()
1073 if ((r = sshbuf_get_cstring(b, &dch->user, NULL)) != 0 || in parse_dest_constraint_hop()
1074 (r = sshbuf_get_cstring(b, &dch->hostname, NULL)) != 0 || in parse_dest_constraint_hop()
1181 if ((r = sshbuf_get_cstring(m, &ext_name, NULL)) != 0) { in parse_key_constraint_extension()
1197 if ((r = sshbuf_get_cstring(m, sk_providerp, NULL)) != 0) { in parse_key_constraint_extension()
[all …]
H A Dssh-xmss.c138 if ((ret = sshbuf_get_cstring(b, &xmss_name, NULL)) != 0) in ssh_xmss_deserialize_public()
171 if ((r = sshbuf_get_cstring(b, &xmss_name, NULL)) != 0 || in ssh_xmss_deserialize_private()
301 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_xmss_verify()
H A Dauth-options.c93 if ((r = sshbuf_get_cstring(c, &name, NULL)) != 0 || in cert_option_list()
129 if ((r = sshbuf_get_cstring(data, &command, in cert_option_list()
144 if ((r = sshbuf_get_cstring(data, &allowed, in cert_option_list()
754 if ((r = sshbuf_get_cstring(b, &a[i], NULL)) != 0) in deserialise_array()
792 (r = sshbuf_get_cstring(m, flag ? NULL : sp, NULL)) != 0) in deserialise_nullable_string()
H A Dsftp-client.c493 if ((r = sshbuf_get_cstring(msg, &name, NULL)) != 0 || in sftp_init()
775 if ((r = sshbuf_get_cstring(msg, &filename, in sftp_lsreaddir()
777 (r = sshbuf_get_cstring(msg, &longname, in sftp_lsreaddir()
1036 (r = sshbuf_get_cstring(msg, &errmsg, NULL)) != 0) in sftp_realpath_expand()
1052 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in sftp_realpath_expand()
1053 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in sftp_realpath_expand()
1398 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in sftp_readlink()
1399 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in sftp_readlink()
2876 (r = sshbuf_get_cstring(msg, &errmsg, NULL)) != 0) in sftp_get_users_groups_by_id()
2899 if ((r = sshbuf_get_cstring(uidbuf, &name, NULL)) != 0) in sftp_get_users_groups_by_id()
[all …]
H A Dauth-pam.c377 if ((r = sshbuf_get_cstring(b, &(sshpam_env[i]), NULL)) != 0) in import_environments()
391 if ((r = sshbuf_get_cstring(b, &env, NULL)) != 0) in import_environments()
459 if ((r = sshbuf_get_cstring(buffer, in sshpam_thread_conv()
889 (r = sshbuf_get_cstring(buffer, &msg, &mlen)) != 0) in sshpam_query()
H A Dkrl.c840 if ((r = sshbuf_get_cstring(subsect, &name, NULL)) != 0 || in cert_extension_subsection()
952 if ((r = sshbuf_get_cstring(subsect, in parse_revoked_certs()
1020 if ((r = sshbuf_get_cstring(sect, &name, NULL)) != 0 || in extension_section()
1089 (r = sshbuf_get_cstring(copy, &krl->comment, NULL)) != 0) { in ssh_krl_from_blob()
H A Dssh-ed25519-sk.c158 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ed25519_sk_verify()
H A Dsshsig.c285 (r = sshbuf_get_cstring(buf, &hashalg, NULL)) != 0 || in sshsig_peek_hashalg()
338 (r = sshbuf_get_cstring(signature, &got_namespace, NULL)) != 0 || in sshsig_wrap_verify()
340 (r = sshbuf_get_cstring(signature, &sig_hashalg, NULL)) != 0 || in sshsig_wrap_verify()
H A Dsftp-common.c146 if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 || in decode_attrib()
H A Dssh-ed25519.c227 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_ed25519_verify()
H A Dsshkey-xmss.c314 if ((r = sshbuf_get_cstring(b, &state->enc_ciphername, NULL)) != 0 || in sshkey_xmss_deserialize_enc_key()
785 if ((r = sshbuf_get_cstring(b, &magic, NULL)) != 0 || in sshkey_xmss_deserialize_state()
858 (r = sshbuf_get_cstring(b, &k->xmss_filename, NULL)) != 0) in sshkey_xmss_deserialize_state_opt()
H A Dssh-sk-client.c423 (r = sshbuf_get_cstring(resp, NULL, NULL)) != 0 || in sshsk_load_resident()
H A Dssh-dss.c350 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_dss_verify()
H A Dsshbuf-getput-basic.c269 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) in sshbuf_get_cstring() function
H A Dauthfd.c246 (r = sshbuf_get_cstring(ids, &comment, NULL)) != 0) in deserialise_identity2()