Home
last modified time | relevance | path

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

12

/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_getput_crypto.c82 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
94 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
106 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
118 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
130 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
142 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
154 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
167 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
179 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
196 p1 = sshbuf_new(); in sshbuf_getput_crypto_tests()
[all …]
Dtest_sshbuf_misc.c36 p1 = sshbuf_new(); in sshbuf_misc_tests()
53 p1 = sshbuf_new(); in sshbuf_misc_tests()
64 p1 = sshbuf_new(); in sshbuf_misc_tests()
75 p1 = sshbuf_new(); in sshbuf_misc_tests()
87 p1 = sshbuf_new(); in sshbuf_misc_tests()
100 p1 = sshbuf_new(); in sshbuf_misc_tests()
112 p1 = sshbuf_new(); in sshbuf_misc_tests()
121 p1 = sshbuf_new(); in sshbuf_misc_tests()
130 p1 = sshbuf_new(); in sshbuf_misc_tests()
139 p1 = sshbuf_new(); in sshbuf_misc_tests()
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.c39 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
105 p1 = sshbuf_new(); in sshbuf_fuzz_tests()
Dtest_sshbuf_getput_fuzz.c46 p1 = sshbuf_new(); in attempt_parse_blob()
/external/openssh/regress/unittests/sshkey/
Dtest_fuzz.c55 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz()
116 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
137 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
158 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
178 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
198 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
218 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
239 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
259 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
280 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
Dtest_sshkey.c44 sect = sshbuf_new(); in put_opt()
62 ca_buf = sshbuf_new(); in build_cert()
70 pk = sshbuf_new(); in build_cert()
75 principals = sshbuf_new(); in build_cert()
80 critopts = sshbuf_new(); in build_cert()
85 exts = sshbuf_new(); in build_cert()
449 k1->cert->critical = sshbuf_new(); in sshkey_tests()
451 k1->cert->extensions = sshbuf_new(); in sshkey_tests()
459 b = sshbuf_new(); in sshkey_tests()
Dcommon.c45 ASSERT_PTR_NE(ret = sshbuf_new(), NULL); in load_file()
/external/openssh/
Dauthfd.c187 if ((msg = sshbuf_new()) == NULL) in ssh_lock_agent()
293 if ((msg = sshbuf_new()) == NULL) in ssh_fetch_identitylist()
399 if ((msg = sshbuf_new()) == NULL) in ssh_decrypt_challenge()
461 if ((msg = sshbuf_new()) == NULL) in ssh_agent_sign()
560 if ((msg = sshbuf_new()) == NULL) in ssh_add_identity_constrained()
620 if ((msg = sshbuf_new()) == NULL) in ssh_remove_identity()
677 if ((msg = sshbuf_new()) == NULL) in ssh_update_card()
709 if ((msg = sshbuf_new()) == NULL) in ssh_remove_all_identities()
Dsftp-client.c173 if ((msg = sshbuf_new()) == NULL) in send_string_request()
191 if ((msg = sshbuf_new()) == NULL) in send_string_attrs_request()
211 if ((msg = sshbuf_new()) == NULL) in get_status()
250 if ((msg = sshbuf_new()) == NULL) in get_handle()
287 if ((msg = sshbuf_new()) == NULL) in get_decode_stat()
333 if ((msg = sshbuf_new()) == NULL) in get_decode_statvfs()
400 if ((msg = sshbuf_new()) == NULL) in do_init()
497 if ((msg = sshbuf_new()) == NULL) in do_close()
534 if ((msg = sshbuf_new()) == NULL) in do_lsreaddir()
829 if ((msg = sshbuf_new()) == NULL) in do_realpath()
[all …]
Dssh-agent.c251 if ((msg = sshbuf_new()) == NULL) in process_request_identities()
306 if ((msg = sshbuf_new()) == NULL) in process_authentication_challenge1()
398 if ((msg = sshbuf_new()) == NULL) in process_sign_request2()
732 if ((msg = sshbuf_new()) == NULL) in no_identities()
982 if ((sockets[i].input = sshbuf_new()) == NULL) in new_socket()
984 if ((sockets[i].output = sshbuf_new()) == NULL) in new_socket()
986 if ((sockets[i].request = sshbuf_new()) == NULL) in new_socket()
998 if ((sockets[old_alloc].input = sshbuf_new()) == NULL) in new_socket()
1000 if ((sockets[old_alloc].output = sshbuf_new()) == NULL) in new_socket()
1002 if ((sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()
Dauthfile.c83 if ((keyblob = sshbuf_new()) == NULL) in sshkey_save_private()
167 if ((b = sshbuf_new()) == NULL) in sshkey_load_public_rsa1()
250 if ((buffer = sshbuf_new()) == NULL) { in sshkey_load_private_type_fd()
286 if ((buffer = sshbuf_new()) == NULL) { in sshkey_load_private()
Dssh-ecdsa.c79 if ((bb = sshbuf_new()) == NULL || (b = sshbuf_new()) == NULL) { in ssh_ecdsa_sign()
Dsshkey.c445 if ((cert->certblob = sshbuf_new()) == NULL || in cert_new()
446 (cert->critical = sshbuf_new()) == NULL || in cert_new()
447 (cert->extensions = sshbuf_new()) == NULL) { in cert_new()
813 if ((tmp = sshbuf_new()) == NULL) in sshkey_puts()
839 if ((b = sshbuf_new()) == NULL) in to_blob()
1294 if ((blob = sshbuf_new()) == NULL) in sshkey_read()
1401 if ((b = sshbuf_new()) == NULL) in sshkey_to_base64()
1488 if ((b = sshbuf_new()) == NULL) in sshkey_write()
2451 if ((principals = sshbuf_new()) == NULL) { in sshkey_certify()
3069 if ((kdf = sshbuf_new()) == NULL || in sshkey_private_to_blob2()
[all …]
Dsftp-server.c520 if ((msg = sshbuf_new()) == NULL) in send_status()
541 if ((msg = sshbuf_new()) == NULL) in send_data_or_handle()
576 if ((msg = sshbuf_new()) == NULL) in send_names()
600 if ((msg = sshbuf_new()) == NULL) in send_attrib()
620 if ((msg = sshbuf_new()) == NULL) in send_statvfs()
651 if ((msg = sshbuf_new()) == NULL) in process_init()
1626 if ((iqueue = sshbuf_new()) == NULL) in sftp_server_main()
1628 if ((oqueue = sshbuf_new()) == NULL) in sftp_server_main()
Dkexdh.c62 if ((b = sshbuf_new()) == NULL) in kex_dh_hash()
Dkexecdh.c68 if ((b = sshbuf_new()) == NULL) in kex_ecdh_hash()
Dkexgex.c65 if ((b = sshbuf_new()) == NULL) in kexgex_hash()
Dserverloop.c647 if ((resp = sshbuf_new()) == NULL || (sigbuf = sshbuf_new()) == NULL) in server_input_hostkeys_prove()
745 if ((resp = sshbuf_new()) == NULL) in server_input_global_request()
Dkexc25519.c102 if ((b = sshbuf_new()) == NULL) in kex_c25519_hash()
Dkexc25519s.c99 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_c25519_init()
Dkexc25519c.c121 if ((shared_secret = sshbuf_new()) == NULL) { in input_kex_c25519_reply()
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c263 state = sshbuf_new(); in do_kex_with_key()
431 replace_data = sshbuf_new(); in main()

12