Home
last modified time | relevance | path

Searched refs:sshbuf_new (Results 1 – 25 of 69) sorted by relevance

123

/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_basic.c78 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
114 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
132 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
153 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
180 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
201 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
210 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
220 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
230 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
239 p1 = sshbuf_new(); in sshbuf_getput_basic_tests()
[all …]
Dtest_sshbuf_misc.c37 p1 = sshbuf_new(); in sshbuf_misc_tests()
54 p1 = sshbuf_new(); in sshbuf_misc_tests()
65 p1 = sshbuf_new(); in sshbuf_misc_tests()
76 p1 = sshbuf_new(); in sshbuf_misc_tests()
88 p1 = sshbuf_new(); in sshbuf_misc_tests()
101 p1 = sshbuf_new(); in sshbuf_misc_tests()
113 p1 = sshbuf_new(); in sshbuf_misc_tests()
122 p1 = sshbuf_new(); in sshbuf_misc_tests()
131 p1 = sshbuf_new(); in sshbuf_misc_tests()
140 p1 = sshbuf_new(); in sshbuf_misc_tests()
Dtest_sshbuf_getput_crypto.c83 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
95 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
107 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
120 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
132 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
149 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
164 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
179 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
197 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
213 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
[all …]
Dtest_sshbuf.c37 p1 = sshbuf_new(); in sshbuf_tests()
67 p1 = sshbuf_new(); in sshbuf_tests()
75 p1 = sshbuf_new(); in sshbuf_tests()
83 p1 = sshbuf_new(); in sshbuf_tests()
138 p1 = sshbuf_new(); in sshbuf_tests()
164 p1 = sshbuf_new(); in sshbuf_tests()
225 p1 = sshbuf_new(); in sshbuf_tests()
Dtest_sshbuf_fixed.c70 p1 = sshbuf_new(); in sshbuf_fixed()
103 p1 = sshbuf_new(); in sshbuf_fixed()
108 p2 = sshbuf_new(); in sshbuf_fixed()
Dtest_sshbuf_fuzz.c44 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
110 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
/external/openssh/
Dmonitor_wrap.c95 if ((log_msg = sshbuf_new()) == NULL) in mm_log_handler()
188 if ((m = sshbuf_new()) == NULL) in mm_choose_dh()
227 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign()
260 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow()
348 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
377 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
400 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
455 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
509 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
550 if ((m = sshbuf_new()) == NULL) in mm_send_keystate()
[all …]
Dssh-sk-client.c154 if ((req = sshbuf_new()) == NULL || (resp = sshbuf_new()) == NULL) { in client_converse()
246 if ((kbuf = sshbuf_new()) == NULL || in sshsk_sign()
247 (req = sshbuf_new()) == NULL) { in sshsk_sign()
322 if ((abuf = sshbuf_new()) == NULL || in sshsk_enroll()
323 (kbuf = sshbuf_new()) == NULL || in sshsk_enroll()
324 (req = sshbuf_new()) == NULL) { in sshsk_enroll()
391 if ((resp = sshbuf_new()) == NULL || in sshsk_load_resident()
392 (kbuf = sshbuf_new()) == NULL || in sshsk_load_resident()
393 (req = sshbuf_new()) == NULL) { in sshsk_load_resident()
Dssh-sk-helper.c72 if ((resp = sshbuf_new()) == NULL) in reply_error()
130 if ((resp = sshbuf_new()) == NULL) in process_sign()
154 if ((attest = sshbuf_new()) == NULL || in process_enroll()
155 (kbuf = sshbuf_new()) == NULL) in process_enroll()
186 if ((resp = sshbuf_new()) == NULL) in process_enroll()
217 if ((kbuf = sshbuf_new()) == NULL) in process_load_resident()
237 if ((resp = sshbuf_new()) == NULL) in process_load_resident()
306 if ((req = sshbuf_new()) == NULL) in main()
Dkexc25519.c98 if ((buf = sshbuf_new()) == NULL) in kex_c25519_keypair()
136 if ((server_blob = sshbuf_new()) == NULL) { in kex_c25519_enc()
144 if ((buf = sshbuf_new()) == NULL) { in kex_c25519_enc()
184 if ((buf = sshbuf_new()) == NULL) { in kex_c25519_dec()
Dkexsntrup4591761x25519.c48 if ((buf = sshbuf_new()) == NULL) in kex_kem_sntrup4591761x25519_keypair()
103 if ((buf = sshbuf_new()) == NULL) { in kex_kem_sntrup4591761x25519_enc()
111 if ((server_blob = sshbuf_new()) == NULL) { in kex_kem_sntrup4591761x25519_enc()
183 if ((buf = sshbuf_new()) == NULL) { in kex_kem_sntrup4591761x25519_dec()
Dauthfd.c200 if ((msg = sshbuf_new()) == NULL) in ssh_lock_agent()
255 if ((msg = sshbuf_new()) == NULL) in ssh_fetch_identitylist()
400 if ((msg = sshbuf_new()) == NULL) in ssh_agent_sign()
485 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained()
544 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity()
589 if ((msg = sshbuf_new()) == NULL) in ssh_update_card()
625 if ((msg = sshbuf_new()) == NULL) in ssh_remove_all_identities()
Dkexdh.c123 if ((buf = sshbuf_new()) == NULL) in kex_dh_keypair()
155 if ((server_blob = sshbuf_new()) == NULL) { in kex_dh_enc()
183 if ((buf = sshbuf_new()) == NULL) { in kex_dh_dec()
Dsftp-client.c186 if ((msg = sshbuf_new()) == NULL) in send_string_request()
204 if ((msg = sshbuf_new()) == NULL) in send_string_attrs_request()
224 if ((msg = sshbuf_new()) == NULL) in get_status()
263 if ((msg = sshbuf_new()) == NULL) in get_handle()
300 if ((msg = sshbuf_new()) == NULL) in get_decode_stat()
346 if ((msg = sshbuf_new()) == NULL) in get_decode_statvfs()
413 if ((msg = sshbuf_new()) == NULL) in do_init()
514 if ((msg = sshbuf_new()) == NULL) in do_close()
551 if ((msg = sshbuf_new()) == NULL) in do_lsreaddir()
845 if ((msg = sshbuf_new()) == NULL) in do_realpath()
[all …]
Dssh-pkcs11-helper.c128 if ((msg = sshbuf_new()) == NULL) in process_add()
173 if ((msg = sshbuf_new()) == NULL) in process_del()
241 if ((msg = sshbuf_new()) == NULL) in process_sign()
363 if ((iqueue = sshbuf_new()) == NULL) in main()
365 if ((oqueue = sshbuf_new()) == NULL) in main()
Dkexecdh.c69 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_keypair()
119 if ((server_blob = sshbuf_new()) == NULL) { in kex_ecdh_enc()
150 if ((buf = sshbuf_new()) == NULL) { in kex_ecdh_dec_key_group()
Dssh-pkcs11-client.c140 if ((msg = sshbuf_new()) == NULL) in rsa_encrypt()
199 if ((msg = sshbuf_new()) == NULL) in ecdsa_do_sign()
329 if ((msg = sshbuf_new()) == NULL) in pkcs11_add_provider()
377 if ((msg = sshbuf_new()) == NULL) in pkcs11_del_provider()
Dsshsig.c55 if ((buf = sshbuf_new()) == NULL) { in sshsig_armor()
130 if ((buf = sshbuf_new()) == NULL) { in sshsig_dearmor()
165 if ((tosign = sshbuf_new()) == NULL || in sshsig_wrap_sign()
166 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign()
306 if ((toverify = sshbuf_new()) == NULL) { in sshsig_wrap_verify()
414 if ((b = sshbuf_new()) == NULL) { in hash_buffer()
541 if ((b = sshbuf_new()) == NULL) { in hash_file()
884 if ((nprincipals = sshbuf_new()) == NULL) { in cert_filter_principals()
Dssh-ecdsa.c82 if ((bb = sshbuf_new()) == NULL || (b = sshbuf_new()) == NULL) { in ssh_ecdsa_sign()
Dssh-agent.c248 if ((msg = sshbuf_new()) == NULL) in process_request_identities()
300 if ((msg = sshbuf_new()) == NULL) in process_sign_request2()
633 if ((msg = sshbuf_new()) == NULL) in no_identities()
885 if ((sockets[i].input = sshbuf_new()) == NULL) in new_socket()
887 if ((sockets[i].output = sshbuf_new()) == NULL) in new_socket()
889 if ((sockets[i].request = sshbuf_new()) == NULL) in new_socket()
901 if ((sockets[old_alloc].input = sshbuf_new()) == NULL) in new_socket()
903 if ((sockets[old_alloc].output = sshbuf_new()) == NULL) in new_socket()
905 if ((sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()
Dmux.c394 if ((cctx->cmd = sshbuf_new()) == NULL) in mux_master_process_new_session()
621 if ((out = sshbuf_new()) == NULL) in mux_confirm_remote_forward()
1080 if ((reply = sshbuf_new()) == NULL) in mux_stdio_confirm()
1166 if ((out = sshbuf_new()) == NULL) in mux_master_read_cb()
1252 if ((m = sshbuf_new()) == NULL) in mux_exit_message()
1276 if ((m = sshbuf_new()) == NULL) in mux_tty_alloc_failed()
1386 if ((reply = sshbuf_new()) == NULL) in mux_session_confirm()
1529 if ((queue = sshbuf_new()) == NULL) in mux_client_write_packet()
1580 if ((queue = sshbuf_new()) == NULL) in mux_client_read_packet()
1612 if ((m = sshbuf_new()) == NULL) in mux_client_hello_exchange()
[all …]
Dkexgexs.c147 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
153 if ((server_host_key_blob = sshbuf_new()) == NULL) { in input_kex_dh_gex_init()
Dssh-sk.c209 (b = sshbuf_new()) == NULL) { in sshsk_ecdsa_assemble()
311 if ((key->sk_key_handle = sshbuf_new()) == NULL || in sshsk_key_from_response()
312 (key->sk_reserved = sshbuf_new()) == NULL) { in sshsk_key_from_response()
548 if ((inner_sig = sshbuf_new()) == NULL) { in sshsk_ecdsa_sig()
660 if ((sig = sshbuf_new()) == NULL) { in sshsk_sign()
/external/openssh/regress/unittests/sshkey/
Dtest_fuzz.c61 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz()
125 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
147 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
169 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
191 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
214 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
236 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
260 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
Dtest_sshkey.c44 sect = sshbuf_new(); in put_opt()
63 ca_buf = sshbuf_new(); in build_cert()
71 pk = sshbuf_new(); in build_cert()
76 principals = sshbuf_new(); in build_cert()
81 critopts = sshbuf_new(); in build_cert()
86 exts = sshbuf_new(); in build_cert()
430 k1->cert->critical = sshbuf_new(); in sshkey_tests()
433 k1->cert->extensions = sshbuf_new(); in sshkey_tests()
441 b = sshbuf_new(); in sshkey_tests()

123