Home
last modified time | relevance | path

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

12

/external/openssh/
Dssh-sk-helper.c104 (r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_sign()
106 (r = sshbuf_get_cstring(req, NULL, NULL)) != 0 || /* alg */ in process_sign()
108 (r = sshbuf_get_cstring(req, &pin, NULL)) != 0) in process_sign()
159 (r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_enroll()
160 (r = sshbuf_get_cstring(req, &device, NULL)) != 0 || in process_enroll()
161 (r = sshbuf_get_cstring(req, &application, NULL)) != 0 || in process_enroll()
162 (r = sshbuf_get_cstring(req, &userid, NULL)) != 0 || in process_enroll()
164 (r = sshbuf_get_cstring(req, &pin, NULL)) != 0 || in process_enroll()
220 if ((r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_load_resident()
221 (r = sshbuf_get_cstring(req, &device, NULL)) != 0 || in process_load_resident()
[all …]
Dmonitor_wrap.c285 if ((r = sshbuf_get_cstring(m, &pw->pw_name, NULL)) != 0 || in mm_getpwnamallow()
286 (r = sshbuf_get_cstring(m, &pw->pw_passwd, NULL)) != 0 || in mm_getpwnamallow()
288 (r = sshbuf_get_cstring(m, &pw->pw_gecos, NULL)) != 0 || in mm_getpwnamallow()
291 (r = sshbuf_get_cstring(m, &pw->pw_class, NULL)) != 0 || in mm_getpwnamallow()
293 (r = sshbuf_get_cstring(m, &pw->pw_dir, NULL)) != 0 || in mm_getpwnamallow()
294 (r = sshbuf_get_cstring(m, &pw->pw_shell, NULL)) != 0) in mm_getpwnamallow()
308 if ((r = sshbuf_get_cstring(m, \ in mm_getpwnamallow()
318 if ((r = sshbuf_get_cstring(m, \ in mm_getpwnamallow()
355 if ((r = sshbuf_get_cstring(m, &banner, NULL)) != 0) in mm_auth2_read_banner()
594 if ((r = sshbuf_get_cstring(m, &p, NULL)) != 0 || in mm_pty_allocate()
[all …]
Dssh-keysign.c99 if ((r = sshbuf_get_cstring(b, &p, NULL)) != 0) in valid_request()
106 if ((r = sshbuf_get_cstring(b, &p, NULL)) != 0) in valid_request()
113 if ((r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || in valid_request()
129 if ((r = sshbuf_get_cstring(b, &p, &len)) != 0) in valid_request()
141 if ((r = sshbuf_get_cstring(b, &luser, NULL)) != 0) in valid_request()
Dsftp-server.c689 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_open()
830 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_do_stat()
917 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_setstat()
1029 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_opendir()
1114 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_remove()
1132 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_mkdir()
1152 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_rmdir()
1170 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_realpath()
1197 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || in process_rename()
1198 (r = sshbuf_get_cstring(iqueue, &newpath, NULL)) != 0) in process_rename()
[all …]
Dmonitor.c456 (r = sshbuf_get_cstring(logmsg, &msg, NULL)) != 0) in monitor_read_log()
631 (r = sshbuf_get_cstring(m, &alg, &alglen)) != 0 || in mm_answer_sign()
729 if ((r = sshbuf_get_cstring(m, &username, NULL)) != 0) in mm_answer_pwnamallow()
838 if ((r = sshbuf_get_cstring(m, &authctxt->service, NULL)) != 0 || in mm_answer_authserv()
839 (r = sshbuf_get_cstring(m, &authctxt->style, NULL)) != 0) in mm_answer_authserv()
894 if ((r = sshbuf_get_cstring(m, &passwd, &plen)) != 0) in mm_answer_authpassword()
972 if ((r = sshbuf_get_cstring(m, &response, NULL)) != 0) in mm_answer_bsdauthrespond()
1115 if ((r = sshbuf_get_cstring(m, &(resp[i]), NULL)) != 0) in mm_answer_pam_respond()
1169 (r = sshbuf_get_cstring(m, &cuser, NULL)) != 0 || in mm_answer_keyallowed()
1170 (r = sshbuf_get_cstring(m, &chost, NULL)) != 0 || in mm_answer_keyallowed()
[all …]
Dmux.c297 if ((r = sshbuf_get_cstring(m, &name, NULL)) != 0 || in mux_master_process_hello()
357 (r = sshbuf_get_cstring(m, &cctx->term, NULL)) != 0 || in mux_master_process_new_session()
358 (r = sshbuf_get_cstring(m, &cmd, NULL)) != 0) { in mux_master_process_new_session()
372 if ((r = sshbuf_get_cstring(m, &cp, NULL)) != 0) in mux_master_process_new_session()
709 (r = sshbuf_get_cstring(m, &listen_addr, NULL)) != 0 || in mux_master_process_open_fwd()
711 (r = sshbuf_get_cstring(m, &connect_addr, NULL)) != 0 || in mux_master_process_open_fwd()
876 (r = sshbuf_get_cstring(m, &listen_addr, NULL)) != 0 || in mux_master_process_close_fwd()
878 (r = sshbuf_get_cstring(m, &connect_addr, NULL)) != 0 || in mux_master_process_close_fwd()
984 (r = sshbuf_get_cstring(m, &chost, NULL)) != 0 || in mux_master_process_stdio_fwd()
1651 if ((r = sshbuf_get_cstring(m, &name, NULL)) != 0 || in mux_client_hello_exchange()
[all …]
Dssh-pkcs11-helper.c130 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_add()
131 (r = sshbuf_get_cstring(iqueue, &pin, NULL)) != 0) in process_add()
175 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_del()
176 (r = sshbuf_get_cstring(iqueue, &pin, NULL)) != 0) in process_del()
Dssh-agent.c441 (r = sshbuf_get_cstring(e->request, &comment, NULL)) != 0) { in process_add_identity()
475 if ((r = sshbuf_get_cstring(e->request, in process_add_identity()
487 if ((r = sshbuf_get_cstring(e->request, in process_add_identity()
590 if ((r = sshbuf_get_cstring(e->request, &passwd, &pwlen)) != 0) in process_lock_agent()
655 if ((r = sshbuf_get_cstring(e->request, &provider, NULL)) != 0 || in process_add_smartcard_key()
656 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) { in process_add_smartcard_key()
735 if ((r = sshbuf_get_cstring(e->request, &provider, NULL)) != 0 || in process_remove_smartcard_key()
736 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) { in process_remove_smartcard_key()
Dauth-options.c89 if ((r = sshbuf_get_cstring(c, &name, NULL)) != 0 || in cert_option_list()
123 if ((r = sshbuf_get_cstring(data, &command, in cert_option_list()
139 if ((r = sshbuf_get_cstring(data, &allowed, in cert_option_list()
727 if ((r = sshbuf_get_cstring(b, &a[i], NULL)) != 0) in deserialise_array()
765 (r = sshbuf_get_cstring(m, flag ? NULL : sp, NULL)) != 0) in deserialise_nullable_string()
Dsshkey.c2210 (ret = sshbuf_get_cstring(b, &key->cert->key_id, &kidlen)) != 0 || in cert_parse()
2246 if ((ret = sshbuf_get_cstring(principals, &principal, in cert_parse()
2360 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { in sshkey_from_blob_internal()
2449 if (sshbuf_get_cstring(b, &curve, NULL) != 0) { in sshkey_from_blob_internal()
2486 if (sshbuf_get_cstring(b, &key->sk_application, in sshkey_from_blob_internal()
2520 if (sshbuf_get_cstring(b, &key->sk_application, in sshkey_from_blob_internal()
2541 if ((ret = sshbuf_get_cstring(b, &xmss_name, NULL)) != 0) in sshkey_from_blob_internal()
2645 if ((r = sshbuf_get_cstring(b, &sigtype, NULL)) != 0) in sshkey_get_sigtype()
3394 if ((r = sshbuf_get_cstring(buf, &tname, NULL)) != 0) in sshkey_private_deserialize()
3455 if ((r = sshbuf_get_cstring(buf, &curve, NULL)) != 0) in sshkey_private_deserialize()
[all …]
Dssh-ed25519-sk.c71 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ed25519_sk_verify()
Dssh-ed25519.c114 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_ed25519_verify()
Dssh-ecdsa.c139 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ecdsa_verify()
Dssh-ecdsa-sk.c86 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ecdsa_sk_verify()
Dauth-pam.c361 if ((r = sshbuf_get_cstring(b, &(sshpam_env[i]), NULL)) != 0) in import_environments()
371 if ((r = sshbuf_get_cstring(b, &env, NULL)) != 0) in import_environments()
433 if ((r = sshbuf_get_cstring(buffer, in sshpam_thread_conv()
844 (r = sshbuf_get_cstring(buffer, &msg, &mlen)) != 0) in sshpam_query()
Dsftp-client.c446 if ((r = sshbuf_get_cstring(msg, &name, NULL)) != 0 || in do_init()
623 if ((r = sshbuf_get_cstring(msg, &filename, in do_lsreaddir()
625 (r = sshbuf_get_cstring(msg, &longname, in do_lsreaddir()
873 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in do_realpath()
874 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in do_realpath()
1073 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in do_readlink()
1074 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in do_readlink()
Dssh-xmss.c138 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_xmss_verify()
Dssh-dss.c142 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_dss_verify()
Dsftp-common.c141 if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 || in decode_attrib()
Dsshsig.c272 (r = sshbuf_get_cstring(buf, &hashalg, NULL)) != 0 || in sshsig_peek_hashalg()
325 (r = sshbuf_get_cstring(signature, &got_namespace, NULL)) != 0 || in sshsig_wrap_verify()
327 (r = sshbuf_get_cstring(signature, &sig_hashalg, NULL)) != 0 || in sshsig_wrap_verify()
Dsshbuf.h205 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
Dsshkey-xmss.c315 if ((r = sshbuf_get_cstring(b, &state->enc_ciphername, NULL)) != 0 || in sshkey_xmss_deserialize_enc_key()
787 if ((r = sshbuf_get_cstring(b, &magic, NULL)) != 0 || in sshkey_xmss_deserialize_state()
860 (r = sshbuf_get_cstring(b, &k->xmss_filename, NULL)) != 0) in sshkey_xmss_deserialize_state_opt()
Dssh-pkcs11-client.c348 (r = sshbuf_get_cstring(msg, &label, NULL)) != 0) in pkcs11_add_provider()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_fixed.c61 ASSERT_INT_EQ(sshbuf_get_cstring(p1, &s, &l), 0); in sshbuf_fixed()
92 ASSERT_INT_EQ(sshbuf_get_cstring(p2, &s, &l), 0); in sshbuf_fixed()
Dtest_sshbuf_getput_basic.c349 r = sshbuf_get_cstring(p1, &s2, &s); in sshbuf_getput_basic_tests()
361 r = sshbuf_get_cstring(p1, &s2, NULL); in sshbuf_getput_basic_tests()
372 ASSERT_INT_EQ(sshbuf_get_cstring(p1, &s2, &s), 0); in sshbuf_getput_basic_tests()

12