Home
last modified time | relevance | path

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

12

/freebsd-13.1/crypto/openssh/
H A 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()
164 (r = sshbuf_get_cstring(req, &provider, NULL)) != 0 || in process_enroll()
165 (r = sshbuf_get_cstring(req, &device, NULL)) != 0 || in process_enroll()
166 (r = sshbuf_get_cstring(req, &application, NULL)) != 0 || in process_enroll()
167 (r = sshbuf_get_cstring(req, &userid, NULL)) != 0 || in process_enroll()
169 (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.c296 if ((r = sshbuf_get_cstring(m, &pw->pw_name, NULL)) != 0 || in mm_getpwnamallow()
304 (r = sshbuf_get_cstring(m, &pw->pw_dir, NULL)) != 0 || in mm_getpwnamallow()
305 (r = sshbuf_get_cstring(m, &pw->pw_shell, NULL)) != 0) in mm_getpwnamallow()
326 if ((r = sshbuf_get_cstring(m, \ in mm_getpwnamallow()
365 if ((r = sshbuf_get_cstring(m, &banner, NULL)) != 0) in mm_auth2_read_banner()
600 if ((r = sshbuf_get_cstring(m, &p, NULL)) != 0 || in mm_pty_allocate()
601 (r = sshbuf_get_cstring(m, &msg, NULL)) != 0) in mm_pty_allocate()
680 (r = sshbuf_get_cstring(m, &msg, &msglen)) != 0 || in mm_do_pam_account()
731 (r = sshbuf_get_cstring(m, name, NULL)) != 0 || in mm_sshpam_query()
732 (r = sshbuf_get_cstring(m, info, NULL)) != 0 || in mm_sshpam_query()
[all …]
H A 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()
H A Dsftp-server.c726 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_open()
883 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_do_stat()
970 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_setstat()
1082 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_opendir()
1167 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_remove()
1185 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_mkdir()
1205 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_rmdir()
1223 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_realpath()
1310 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_readlink()
1374 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_extended_statvfs()
[all …]
H A Dmonitor.c452 (r = sshbuf_get_cstring(logmsg, &msg, NULL)) != 0) in monitor_read_log()
888 if ((r = sshbuf_get_cstring(m, &passwd, &plen)) != 0) in mm_answer_authpassword()
1279 if ((r = sshbuf_get_cstring(b, &cp, NULL)) != 0) in monitor_valid_userblob()
1292 (r = sshbuf_get_cstring(b, &cp, NULL)) != 0) in monitor_valid_userblob()
1335 if ((r = sshbuf_get_cstring(b, &cp, NULL)) != 0) in monitor_valid_hostbasedblob()
1348 (r = sshbuf_get_cstring(b, &cp, NULL)) != 0) in monitor_valid_hostbasedblob()
1358 if ((r = sshbuf_get_cstring(b, &cp, NULL)) != 0) in monitor_valid_hostbasedblob()
1367 if ((r = sshbuf_get_cstring(b, &cp, NULL)) != 0) in monitor_valid_hostbasedblob()
1393 (r = sshbuf_get_cstring(m, &sigalg, NULL)) != 0) in mm_answer_keyverify()
1610 if ((r = sshbuf_get_cstring(m, &tty, NULL)) != 0) in mm_answer_pty_cleanup()
[all …]
H A Dmux.c369 if ((r = sshbuf_get_cstring(m, &cp, NULL)) != 0) in mux_master_process_new_session()
1665 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_request_alive()
1727 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_request_terminate()
1731 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_request_terminate()
1817 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_forward()
1823 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_forward()
1953 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_request_session()
1959 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_request_session()
2076 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_proxy()
2152 if ((r = sshbuf_get_cstring(m, &e, NULL)) != 0) in mux_client_request_stdio_fwd()
[all …]
H A Dssh-agent.c346 (r = sshbuf_get_cstring(b, &method, NULL)) != 0 || /* method */ in parse_userauth_request()
348 (r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || /* alg */ in parse_userauth_request()
406 (r = sshbuf_get_cstring(b, NULL, NULL)) != 0 || /* hashalg */ in parse_sshsig_request()
603 if ((r = sshbuf_get_cstring(m, &ext_name, NULL)) != 0) { in parse_key_constraint_extension()
619 if ((r = sshbuf_get_cstring(m, sk_providerp, NULL)) != 0) { in parse_key_constraint_extension()
722 (r = sshbuf_get_cstring(e->request, &comment, NULL)) != 0) { in process_add_identity()
817 if ((r = sshbuf_get_cstring(e->request, &passwd, &pwlen)) != 0) in process_lock_agent()
882 if ((r = sshbuf_get_cstring(e->request, &provider, NULL)) != 0 || in process_add_smartcard_key()
883 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) { in process_add_smartcard_key()
946 if ((r = sshbuf_get_cstring(e->request, &provider, NULL)) != 0 || in process_remove_smartcard_key()
[all …]
H A Dssh-pkcs11-helper.c131 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_add()
132 (r = sshbuf_get_cstring(iqueue, &pin, NULL)) != 0) in process_add()
171 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_del()
172 (r = sshbuf_get_cstring(iqueue, &pin, NULL)) != 0) in process_del()
H A Dauth-options.c89 if ((r = sshbuf_get_cstring(c, &name, NULL)) != 0 || in cert_option_list()
125 if ((r = sshbuf_get_cstring(data, &command, in cert_option_list()
140 if ((r = sshbuf_get_cstring(data, &allowed, in cert_option_list()
751 if ((r = sshbuf_get_cstring(b, &a[i], NULL)) != 0) in deserialise_array()
789 (r = sshbuf_get_cstring(m, flag ? NULL : sp, NULL)) != 0) in deserialise_nullable_string()
H A Dssh-ecdsa-sk.c178 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { in ssh_ecdsa_sk_verify()
195 if (sshbuf_get_cstring(b, &webauthn_origin, NULL) != 0 || in ssh_ecdsa_sk_verify()
H A Dsshkey.c2248 if ((ret = sshbuf_get_cstring(principals, &principal, in cert_parse()
2362 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { in sshkey_from_blob_internal()
2451 if (sshbuf_get_cstring(b, &curve, NULL) != 0) { in sshkey_from_blob_internal()
2488 if (sshbuf_get_cstring(b, &key->sk_application, in sshkey_from_blob_internal()
2522 if (sshbuf_get_cstring(b, &key->sk_application, in sshkey_from_blob_internal()
2647 if ((r = sshbuf_get_cstring(b, &sigtype, NULL)) != 0) in sshkey_get_sigtype()
3429 if ((r = sshbuf_get_cstring(buf, &tname, NULL)) != 0) in sshkey_private_deserialize()
3498 if ((r = sshbuf_get_cstring(buf, &curve, NULL)) != 0) in sshkey_private_deserialize()
3546 (r = sshbuf_get_cstring(buf, &k->sk_application, in sshkey_private_deserialize()
3562 if ((r = sshbuf_get_cstring(buf, &k->sk_application, in sshkey_private_deserialize()
[all …]
H A Dssh-ed25519-sk.c71 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ed25519_sk_verify()
H A Dssh-ed25519.c114 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_ed25519_verify()
H A Dauth-pam.c362 if ((r = sshbuf_get_cstring(b, &(sshpam_env[i]), NULL)) != 0) in import_environments()
372 if ((r = sshbuf_get_cstring(b, &env, NULL)) != 0) in import_environments()
438 if ((r = sshbuf_get_cstring(buffer, in sshpam_thread_conv()
855 (r = sshbuf_get_cstring(buffer, &msg, &mlen)) != 0) in sshpam_query()
H A Dssh-xmss.c138 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_xmss_verify()
H A Dssh-ecdsa.c139 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ecdsa_verify()
H A Dssh-dss.c142 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_dss_verify()
H A Dsftp-common.c141 if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 || in decode_attrib()
H A Dsftp-client.c502 if ((r = sshbuf_get_cstring(msg, &name, NULL)) != 0 || in do_init()
766 if ((r = sshbuf_get_cstring(msg, &filename, in do_lsreaddir()
768 (r = sshbuf_get_cstring(msg, &longname, in do_lsreaddir()
1027 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in do_realpath_expand()
1028 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in do_realpath_expand()
1248 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in do_readlink()
1249 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in do_readlink()
H A 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()
H A Dsshkey-xmss.c317 if ((r = sshbuf_get_cstring(b, &state->enc_ciphername, NULL)) != 0 || in sshkey_xmss_deserialize_enc_key()
788 if ((r = sshbuf_get_cstring(b, &magic, NULL)) != 0 || in sshkey_xmss_deserialize_state()
861 (r = sshbuf_get_cstring(b, &k->xmss_filename, NULL)) != 0) in sshkey_xmss_deserialize_state_opt()
H A Dsshbuf.h205 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
H A Dssh-pkcs11-client.c348 (r = sshbuf_get_cstring(msg, &label, NULL)) != 0) in pkcs11_add_provider()
/freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/
H A 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()
H A 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