2 * Namespace munging inspired by an equivalent hack in NetBSD's tree: add
3 * the "ssh_" prefix to every symbol in libssh which doesn't already have
4 * it. This prevents collisions between symbols in libssh and symbols in
5 * other libraries or applications which link with libssh, either directly
6 * or indirectly (e.g. through PAM loading pam_ssh).
8 * A list of symbols which need munging is obtained as follows:
10 # nm libprivatessh.a | LC_ALL=C awk '
11 /^[0-9a-z]+ [Tt] [A-Za-z_][0-9A-Za-z_]*$/ && $3 !~ /^ssh_/ {
12 printf("#define %-39s ssh_%s\n", $3, $3)
13 }' | unexpand -a | LC_ALL=C sort -u
18 #define Blowfish_decipher ssh_Blowfish_decipher
19 #define Blowfish_encipher ssh_Blowfish_encipher
20 #define Blowfish_expand0state ssh_Blowfish_expand0state
21 #define Blowfish_expandstate ssh_Blowfish_expandstate
22 #define Blowfish_initstate ssh_Blowfish_initstate
23 #define Blowfish_stream2word ssh_Blowfish_stream2word
24 #define a2port ssh_a2port
25 #define a2tun ssh_a2tun
26 #define add_host_to_hostfile ssh_add_host_to_hostfile
27 #define add_p1p1 ssh_add_p1p1
28 #define addargs ssh_addargs
29 #define addr_match_cidr_list ssh_addr_match_cidr_list
30 #define addr_match_list ssh_addr_match_list
31 #define addr_netmatch ssh_addr_netmatch
32 #define addr_pton ssh_addr_pton
33 #define addr_pton_cidr ssh_addr_pton_cidr
34 #define ask_permission ssh_ask_permission
35 #define atomicio ssh_atomicio
36 #define atomicio6 ssh_atomicio6
37 #define atomiciov ssh_atomiciov
38 #define atomiciov6 ssh_atomiciov6
39 #define auth_request_forwarding ssh_auth_request_forwarding
40 #define bandwidth_limit ssh_bandwidth_limit
41 #define bandwidth_limit_init ssh_bandwidth_limit_init
42 #define barrett_reduce ssh_barrett_reduce
43 #define bcrypt_hash ssh_bcrypt_hash
44 #define bcrypt_pbkdf ssh_bcrypt_pbkdf
45 #define bf_ssh1_cipher ssh_bf_ssh1_cipher
46 #define blf_cbc_decrypt ssh_blf_cbc_decrypt
47 #define blf_cbc_encrypt ssh_blf_cbc_encrypt
48 #define blf_dec ssh_blf_dec
49 #define blf_ecb_decrypt ssh_blf_ecb_decrypt
50 #define blf_ecb_encrypt ssh_blf_ecb_encrypt
51 #define blf_enc ssh_blf_enc
52 #define blf_key ssh_blf_key
53 #define buffer_append ssh_buffer_append
54 #define buffer_append_space ssh_buffer_append_space
55 #define buffer_check_alloc ssh_buffer_check_alloc
56 #define buffer_clear ssh_buffer_clear
57 #define buffer_compress ssh_buffer_compress
58 #define buffer_compress_init_recv ssh_buffer_compress_init_recv
59 #define buffer_compress_init_send ssh_buffer_compress_init_send
60 #define buffer_compress_uninit ssh_buffer_compress_uninit
61 #define buffer_consume ssh_buffer_consume
62 #define buffer_consume_end ssh_buffer_consume_end
63 #define buffer_consume_end_ret ssh_buffer_consume_end_ret
64 #define buffer_consume_ret ssh_buffer_consume_ret
65 #define buffer_dump ssh_buffer_dump
66 #define buffer_free ssh_buffer_free
67 #define buffer_get ssh_buffer_get
68 #define buffer_get_bignum ssh_buffer_get_bignum
69 #define buffer_get_bignum2 ssh_buffer_get_bignum2
70 #define buffer_get_bignum2_as_string ssh_buffer_get_bignum2_as_string
71 #define buffer_get_bignum2_as_string_ret ssh_buffer_get_bignum2_as_string_ret
72 #define buffer_get_bignum2_ret ssh_buffer_get_bignum2_ret
73 #define buffer_get_bignum_ret ssh_buffer_get_bignum_ret
74 #define buffer_get_char ssh_buffer_get_char
75 #define buffer_get_char_ret ssh_buffer_get_char_ret
76 #define buffer_get_cstring ssh_buffer_get_cstring
77 #define buffer_get_cstring_ret ssh_buffer_get_cstring_ret
78 #define buffer_get_ecpoint ssh_buffer_get_ecpoint
79 #define buffer_get_ecpoint_ret ssh_buffer_get_ecpoint_ret
80 #define buffer_get_int ssh_buffer_get_int
81 #define buffer_get_int64 ssh_buffer_get_int64
82 #define buffer_get_int64_ret ssh_buffer_get_int64_ret
83 #define buffer_get_int_ret ssh_buffer_get_int_ret
84 #define buffer_get_ret ssh_buffer_get_ret
85 #define buffer_get_short ssh_buffer_get_short
86 #define buffer_get_short_ret ssh_buffer_get_short_ret
87 #define buffer_get_string ssh_buffer_get_string
88 #define buffer_get_string_ptr ssh_buffer_get_string_ptr
89 #define buffer_get_string_ptr_ret ssh_buffer_get_string_ptr_ret
90 #define buffer_get_string_ret ssh_buffer_get_string_ret
91 #define buffer_init ssh_buffer_init
92 #define buffer_len ssh_buffer_len
93 #define buffer_ptr ssh_buffer_ptr
94 #define buffer_put_bignum ssh_buffer_put_bignum
95 #define buffer_put_bignum2 ssh_buffer_put_bignum2
96 #define buffer_put_bignum2_from_string ssh_buffer_put_bignum2_from_string
97 #define buffer_put_bignum2_ret ssh_buffer_put_bignum2_ret
98 #define buffer_put_bignum_ret ssh_buffer_put_bignum_ret
99 #define buffer_put_char ssh_buffer_put_char
100 #define buffer_put_cstring ssh_buffer_put_cstring
101 #define buffer_put_ecpoint ssh_buffer_put_ecpoint
102 #define buffer_put_ecpoint_ret ssh_buffer_put_ecpoint_ret
103 #define buffer_put_int ssh_buffer_put_int
104 #define buffer_put_int64 ssh_buffer_put_int64
105 #define buffer_put_short ssh_buffer_put_short
106 #define buffer_put_string ssh_buffer_put_string
107 #define buffer_uncompress ssh_buffer_uncompress
108 #define cert_free ssh_cert_free
109 #define chacha_encrypt_bytes ssh_chacha_encrypt_bytes
110 #define chacha_ivsetup ssh_chacha_ivsetup
111 #define chacha_keysetup ssh_chacha_keysetup
112 #define chachapoly_crypt ssh_chachapoly_crypt
113 #define chachapoly_get_length ssh_chachapoly_get_length
114 #define chachapoly_init ssh_chachapoly_init
115 #define chan_ibuf_empty ssh_chan_ibuf_empty
116 #define chan_is_dead ssh_chan_is_dead
117 #define chan_mark_dead ssh_chan_mark_dead
118 #define chan_obuf_empty ssh_chan_obuf_empty
119 #define chan_rcvd_eow ssh_chan_rcvd_eow
120 #define chan_rcvd_ieof ssh_chan_rcvd_ieof
121 #define chan_rcvd_oclose ssh_chan_rcvd_oclose
122 #define chan_read_failed ssh_chan_read_failed
123 #define chan_send_eof2 ssh_chan_send_eof2
124 #define chan_send_oclose1 ssh_chan_send_oclose1
125 #define chan_shutdown_read ssh_chan_shutdown_read
126 #define chan_shutdown_write ssh_chan_shutdown_write
127 #define chan_write_failed ssh_chan_write_failed
128 #define channel_add_adm_permitted_opens ssh_channel_add_adm_permitted_opens
129 #define channel_add_permitted_opens ssh_channel_add_permitted_opens
130 #define channel_after_select ssh_channel_after_select
131 #define channel_by_id ssh_channel_by_id
132 #define channel_cancel_cleanup ssh_channel_cancel_cleanup
133 #define channel_cancel_lport_listener ssh_channel_cancel_lport_listener
134 #define channel_cancel_rport_listener ssh_channel_cancel_rport_listener
135 #define channel_clear_adm_permitted_opens ssh_channel_clear_adm_permitted_opens
136 #define channel_clear_permitted_opens ssh_channel_clear_permitted_opens
137 #define channel_close_all ssh_channel_close_all
138 #define channel_close_fd ssh_channel_close_fd
139 #define channel_close_fds ssh_channel_close_fds
140 #define channel_connect_by_listen_address ssh_channel_connect_by_listen_address
141 #define channel_connect_stdio_fwd ssh_channel_connect_stdio_fwd
142 #define channel_connect_to ssh_channel_connect_to
143 #define channel_disable_adm_local_opens ssh_channel_disable_adm_local_opens
144 #define channel_find_open ssh_channel_find_open
145 #define channel_free ssh_channel_free
146 #define channel_free_all ssh_channel_free_all
147 #define channel_fwd_bind_addr ssh_channel_fwd_bind_addr
148 #define channel_handler ssh_channel_handler
149 #define channel_input_close ssh_channel_input_close
150 #define channel_input_close_confirmation ssh_channel_input_close_confirmation
151 #define channel_input_data ssh_channel_input_data
152 #define channel_input_extended_data ssh_channel_input_extended_data
153 #define channel_input_ieof ssh_channel_input_ieof
154 #define channel_input_oclose ssh_channel_input_oclose
155 #define channel_input_open_confirmation ssh_channel_input_open_confirmation
156 #define channel_input_open_failure ssh_channel_input_open_failure
157 #define channel_input_port_forward_request ssh_channel_input_port_forward_request
158 #define channel_input_port_open ssh_channel_input_port_open
159 #define channel_input_status_confirm ssh_channel_input_status_confirm
160 #define channel_input_window_adjust ssh_channel_input_window_adjust
161 #define channel_lookup ssh_channel_lookup
162 #define channel_new ssh_channel_new
163 #define channel_not_very_much_buffered_data ssh_channel_not_very_much_buffered_data
164 #define channel_open_message ssh_channel_open_message
165 #define channel_output_poll ssh_channel_output_poll
166 #define channel_permit_all_opens ssh_channel_permit_all_opens
167 #define channel_post_auth_listener ssh_channel_post_auth_listener
168 #define channel_post_connecting ssh_channel_post_connecting
169 #define channel_post_mux_client ssh_channel_post_mux_client
170 #define channel_post_mux_listener ssh_channel_post_mux_listener
171 #define channel_post_open ssh_channel_post_open
172 #define channel_post_output_drain_13 ssh_channel_post_output_drain_13
173 #define channel_post_port_listener ssh_channel_post_port_listener
174 #define channel_post_x11_listener ssh_channel_post_x11_listener
175 #define channel_pre_connecting ssh_channel_pre_connecting
176 #define channel_pre_dynamic ssh_channel_pre_dynamic
177 #define channel_pre_input_draining ssh_channel_pre_input_draining
178 #define channel_pre_listener ssh_channel_pre_listener
179 #define channel_pre_mux_client ssh_channel_pre_mux_client
180 #define channel_pre_open ssh_channel_pre_open
181 #define channel_pre_open_13 ssh_channel_pre_open_13
182 #define channel_pre_output_draining ssh_channel_pre_output_draining
183 #define channel_pre_x11_open ssh_channel_pre_x11_open
184 #define channel_pre_x11_open_13 ssh_channel_pre_x11_open_13
185 #define channel_prepare_select ssh_channel_prepare_select
186 #define channel_print_adm_permitted_opens ssh_channel_print_adm_permitted_opens
187 #define channel_register_cleanup ssh_channel_register_cleanup
188 #define channel_register_fds ssh_channel_register_fds
189 #define channel_register_filter ssh_channel_register_filter
190 #define channel_register_open_confirm ssh_channel_register_open_confirm
191 #define channel_register_status_confirm ssh_channel_register_status_confirm
192 #define channel_request_remote_forwarding ssh_channel_request_remote_forwarding
193 #define channel_request_rforward_cancel ssh_channel_request_rforward_cancel
194 #define channel_request_start ssh_channel_request_start
195 #define channel_send_open ssh_channel_send_open
196 #define channel_send_window_changes ssh_channel_send_window_changes
197 #define channel_set_af ssh_channel_set_af
198 #define channel_set_fds ssh_channel_set_fds
199 #define channel_setup_fwd_listener ssh_channel_setup_fwd_listener
200 #define channel_setup_local_fwd_listener ssh_channel_setup_local_fwd_listener
201 #define channel_setup_remote_fwd_listener ssh_channel_setup_remote_fwd_listener
202 #define channel_still_open ssh_channel_still_open
203 #define channel_stop_listening ssh_channel_stop_listening
204 #define channel_update_permitted_opens ssh_channel_update_permitted_opens
205 #define check_crc ssh_check_crc
206 #define check_hostkeys_by_key_or_type ssh_check_hostkeys_by_key_or_type
207 #define check_key_in_hostkeys ssh_check_key_in_hostkeys
208 #define choose_dh ssh_choose_dh
209 #define choose_t ssh_choose_t
210 #define chop ssh_chop
211 #define cipher_alg_list ssh_cipher_alg_list
212 #define cipher_authlen ssh_cipher_authlen
213 #define cipher_blocksize ssh_cipher_blocksize
214 #define cipher_by_name ssh_cipher_by_name
215 #define cipher_by_number ssh_cipher_by_number
216 #define cipher_cleanup ssh_cipher_cleanup
217 #define cipher_crypt ssh_cipher_crypt
218 #define cipher_get_keycontext ssh_cipher_get_keycontext
219 #define cipher_get_keyiv ssh_cipher_get_keyiv
220 #define cipher_get_keyiv_len ssh_cipher_get_keyiv_len
221 #define cipher_get_length ssh_cipher_get_length
222 #define cipher_get_number ssh_cipher_get_number
223 #define cipher_init ssh_cipher_init
224 #define cipher_is_cbc ssh_cipher_is_cbc
225 #define cipher_ivlen ssh_cipher_ivlen
226 #define cipher_keylen ssh_cipher_keylen
227 #define cipher_mask_ssh1 ssh_cipher_mask_ssh1
228 #define cipher_name ssh_cipher_name
229 #define cipher_number ssh_cipher_number
230 #define cipher_seclen ssh_cipher_seclen
231 #define cipher_set_key_string ssh_cipher_set_key_string
232 #define cipher_set_keycontext ssh_cipher_set_keycontext
233 #define cipher_set_keyiv ssh_cipher_set_keyiv
234 #define ciphers_valid ssh_ciphers_valid
235 #define cleanhostname ssh_cleanhostname
236 #define cleanup_exit ssh_cleanup_exit
237 #define clear_cached_addr ssh_clear_cached_addr
238 #define colon ssh_colon
239 #define compare ssh_compare
240 #define compare_gps ssh_compare_gps
241 #define compat_cipher_proposal ssh_compat_cipher_proposal
242 #define compat_datafellows ssh_compat_datafellows
243 #define compat_kex_proposal ssh_compat_kex_proposal
244 #define compat_pkalg_proposal ssh_compat_pkalg_proposal
245 #define connect_next ssh_connect_next
246 #define connect_to ssh_connect_to
247 #define convtime ssh_convtime
248 #define crypto_hash_sha512 ssh_crypto_hash_sha512
249 #define crypto_hashblocks_sha512 ssh_crypto_hashblocks_sha512
250 #define crypto_sign_ed25519 ssh_crypto_sign_ed25519
251 #define crypto_sign_ed25519_keypair ssh_crypto_sign_ed25519_keypair
252 #define crypto_sign_ed25519_open ssh_crypto_sign_ed25519_open
253 #define crypto_sign_ed25519_ref_double_scalarmult_vartime ssh_crypto_sign_ed25519_ref_double_scalarmult_vartime
254 #define crypto_sign_ed25519_ref_fe25519_add ssh_crypto_sign_ed25519_ref_fe25519_add
255 #define crypto_sign_ed25519_ref_fe25519_cmov ssh_crypto_sign_ed25519_ref_fe25519_cmov
256 #define crypto_sign_ed25519_ref_fe25519_freeze ssh_crypto_sign_ed25519_ref_fe25519_freeze
257 #define crypto_sign_ed25519_ref_fe25519_getparity ssh_crypto_sign_ed25519_ref_fe25519_getparity
258 #define crypto_sign_ed25519_ref_fe25519_invert ssh_crypto_sign_ed25519_ref_fe25519_invert
259 #define crypto_sign_ed25519_ref_fe25519_iseq_vartime ssh_crypto_sign_ed25519_ref_fe25519_iseq_vartime
260 #define crypto_sign_ed25519_ref_fe25519_iszero ssh_crypto_sign_ed25519_ref_fe25519_iszero
261 #define crypto_sign_ed25519_ref_fe25519_mul ssh_crypto_sign_ed25519_ref_fe25519_mul
262 #define crypto_sign_ed25519_ref_fe25519_neg ssh_crypto_sign_ed25519_ref_fe25519_neg
263 #define crypto_sign_ed25519_ref_fe25519_pack ssh_crypto_sign_ed25519_ref_fe25519_pack
264 #define crypto_sign_ed25519_ref_fe25519_pow2523 ssh_crypto_sign_ed25519_ref_fe25519_pow2523
265 #define crypto_sign_ed25519_ref_fe25519_setone ssh_crypto_sign_ed25519_ref_fe25519_setone
266 #define crypto_sign_ed25519_ref_fe25519_setzero ssh_crypto_sign_ed25519_ref_fe25519_setzero
267 #define crypto_sign_ed25519_ref_fe25519_square ssh_crypto_sign_ed25519_ref_fe25519_square
268 #define crypto_sign_ed25519_ref_fe25519_sub ssh_crypto_sign_ed25519_ref_fe25519_sub
269 #define crypto_sign_ed25519_ref_fe25519_unpack ssh_crypto_sign_ed25519_ref_fe25519_unpack
270 #define crypto_sign_ed25519_ref_isneutral_vartime ssh_crypto_sign_ed25519_ref_isneutral_vartime
271 #define crypto_sign_ed25519_ref_pack ssh_crypto_sign_ed25519_ref_pack
272 #define crypto_sign_ed25519_ref_sc25519_2interleave2 ssh_crypto_sign_ed25519_ref_sc25519_2interleave2
273 #define crypto_sign_ed25519_ref_sc25519_add ssh_crypto_sign_ed25519_ref_sc25519_add
274 #define crypto_sign_ed25519_ref_sc25519_from32bytes ssh_crypto_sign_ed25519_ref_sc25519_from32bytes
275 #define crypto_sign_ed25519_ref_sc25519_from64bytes ssh_crypto_sign_ed25519_ref_sc25519_from64bytes
276 #define crypto_sign_ed25519_ref_sc25519_from_shortsc ssh_crypto_sign_ed25519_ref_sc25519_from_shortsc
277 #define crypto_sign_ed25519_ref_sc25519_isshort_vartime ssh_crypto_sign_ed25519_ref_sc25519_isshort_vartime
278 #define crypto_sign_ed25519_ref_sc25519_iszero_vartime ssh_crypto_sign_ed25519_ref_sc25519_iszero_vartime
279 #define crypto_sign_ed25519_ref_sc25519_lt_vartime ssh_crypto_sign_ed25519_ref_sc25519_lt_vartime
280 #define crypto_sign_ed25519_ref_sc25519_mul ssh_crypto_sign_ed25519_ref_sc25519_mul
281 #define crypto_sign_ed25519_ref_sc25519_mul_shortsc ssh_crypto_sign_ed25519_ref_sc25519_mul_shortsc
282 #define crypto_sign_ed25519_ref_sc25519_sub_nored ssh_crypto_sign_ed25519_ref_sc25519_sub_nored
283 #define crypto_sign_ed25519_ref_sc25519_to32bytes ssh_crypto_sign_ed25519_ref_sc25519_to32bytes
284 #define crypto_sign_ed25519_ref_sc25519_window3 ssh_crypto_sign_ed25519_ref_sc25519_window3
285 #define crypto_sign_ed25519_ref_sc25519_window5 ssh_crypto_sign_ed25519_ref_sc25519_window5
286 #define crypto_sign_ed25519_ref_scalarmult_base ssh_crypto_sign_ed25519_ref_scalarmult_base
287 #define crypto_sign_ed25519_ref_shortsc25519_from16bytes ssh_crypto_sign_ed25519_ref_shortsc25519_from16bytes
288 #define crypto_sign_ed25519_ref_unpackneg_vartime ssh_crypto_sign_ed25519_ref_unpackneg_vartime
289 #define crypto_verify_32 ssh_crypto_verify_32
290 #define dbl_p1p1 ssh_dbl_p1p1
291 #define debug ssh_debug
292 #define debug2 ssh_debug2
293 #define debug3 ssh_debug3
294 #define decode_reply ssh_decode_reply
295 #define deny_input_open ssh_deny_input_open
296 #define derive_ssh1_session_id ssh_derive_ssh1_session_id
297 #define detect_attack ssh_detect_attack
298 #define dh_estimate ssh_dh_estimate
299 #define dh_gen_key ssh_dh_gen_key
300 #define dh_new_group ssh_dh_new_group
301 #define dh_new_group1 ssh_dh_new_group1
302 #define dh_new_group14 ssh_dh_new_group14
303 #define dh_new_group_asc ssh_dh_new_group_asc
304 #define dh_pub_is_valid ssh_dh_pub_is_valid
305 #define dispatch_init ssh_dispatch_init
306 #define dispatch_protocol_error ssh_dispatch_protocol_error
307 #define dispatch_protocol_ignore ssh_dispatch_protocol_ignore
308 #define dispatch_range ssh_dispatch_range
309 #define dispatch_run ssh_dispatch_run
310 #define dispatch_set ssh_dispatch_set
311 #define do_log ssh_do_log
312 #define do_log2 ssh_do_log2
313 #define dump_base64 ssh_dump_base64
314 #define enable_compat13 ssh_enable_compat13
315 #define enable_compat20 ssh_enable_compat20
316 #define error ssh_error
317 #define evp_ssh1_3des ssh_evp_ssh1_3des
318 #define evp_ssh1_bf ssh_evp_ssh1_bf
319 #define explicit_bzero ssh_explicit_bzero
320 #define export_dns_rr ssh_export_dns_rr
321 #define fatal ssh_fatal
322 #define filter_proposal ssh_filter_proposal
323 #define fmt_scaled ssh_fmt_scaled
324 #define free_hostkeys ssh_free_hostkeys
325 #define freeargs ssh_freeargs
326 #define freerrset ssh_freerrset
327 #define gen_candidates ssh_gen_candidates
328 #define get_canonical_hostname ssh_get_canonical_hostname
329 #define get_local_ipaddr ssh_get_local_ipaddr
330 #define get_local_name ssh_get_local_name
331 #define get_local_port ssh_get_local_port
332 #define get_peer_ipaddr ssh_get_peer_ipaddr
333 #define get_peer_port ssh_get_peer_port
334 #define get_remote_ipaddr ssh_get_remote_ipaddr
335 #define get_remote_name_or_ip ssh_get_remote_name_or_ip
336 #define get_remote_port ssh_get_remote_port
337 #define get_sock_port ssh_get_sock_port
338 #define get_socket_address ssh_get_socket_address
339 #define get_u16 ssh_get_u16
340 #define get_u32 ssh_get_u32
341 #define get_u64 ssh_get_u64
342 #define getrrsetbyname ssh_getrrsetbyname
343 #define glob ssh_glob
344 #define glob0 ssh_glob0
345 #define glob2 ssh_glob2
346 #define globexp1 ssh_globexp1
347 #define globextend ssh_globextend
348 #define globfree ssh_globfree
349 #define host_hash ssh_host_hash
350 #define hostfile_read_key ssh_hostfile_read_key
351 #define hpdelim ssh_hpdelim
352 #define init_hostkeys ssh_init_hostkeys
353 #define iptos2str ssh_iptos2str
354 #define ipv64_normalise_mapped ssh_ipv64_normalise_mapped
355 #define is_key_revoked ssh_is_key_revoked
356 #define kex_alg_by_name ssh_kex_alg_by_name
357 #define kex_alg_list ssh_kex_alg_list
358 #define kex_buf2prop ssh_kex_buf2prop
359 #define kex_c25519_hash ssh_kex_c25519_hash
360 #define kex_derive_keys ssh_kex_derive_keys
361 #define kex_derive_keys_bn ssh_kex_derive_keys_bn
362 #define kex_dh_hash ssh_kex_dh_hash
363 #define kex_ecdh_hash ssh_kex_ecdh_hash
364 #define kex_finish ssh_kex_finish
365 #define kex_get_newkeys ssh_kex_get_newkeys
366 #define kex_input_kexinit ssh_kex_input_kexinit
367 #define kex_names_valid ssh_kex_names_valid
368 #define kex_prop_free ssh_kex_prop_free
369 #define kex_protocol_error ssh_kex_protocol_error
370 #define kex_send_kexinit ssh_kex_send_kexinit
371 #define kex_setup ssh_kex_setup
372 #define kexc25519_client ssh_kexc25519_client
373 #define kexc25519_keygen ssh_kexc25519_keygen
374 #define kexc25519_shared_key ssh_kexc25519_shared_key
375 #define kexdh_client ssh_kexdh_client
376 #define kexecdh_client ssh_kexecdh_client
377 #define kexgex_client ssh_kexgex_client
378 #define kexgex_hash ssh_kexgex_hash
379 #define key_add_private ssh_key_add_private
380 #define key_alg_list ssh_key_alg_list
381 #define key_cert_check_authority ssh_key_cert_check_authority
382 #define key_cert_copy ssh_key_cert_copy
383 #define key_cert_is_legacy ssh_key_cert_is_legacy
384 #define key_cert_type ssh_key_cert_type
385 #define key_certify ssh_key_certify
386 #define key_curve_name_to_nid ssh_key_curve_name_to_nid
387 #define key_curve_nid_to_bits ssh_key_curve_nid_to_bits
388 #define key_curve_nid_to_name ssh_key_curve_nid_to_name
389 #define key_demote ssh_key_demote
390 #define key_drop_cert ssh_key_drop_cert
391 #define key_ec_nid_to_hash_alg ssh_key_ec_nid_to_hash_alg
392 #define key_ec_validate_private ssh_key_ec_validate_private
393 #define key_ec_validate_public ssh_key_ec_validate_public
394 #define key_ecdsa_bits_to_nid ssh_key_ecdsa_bits_to_nid
395 #define key_ecdsa_key_to_nid ssh_key_ecdsa_key_to_nid
396 #define key_ecdsa_nid_from_name ssh_key_ecdsa_nid_from_name
397 #define key_equal ssh_key_equal
398 #define key_equal_public ssh_key_equal_public
399 #define key_fingerprint ssh_key_fingerprint
400 #define key_fingerprint_raw ssh_key_fingerprint_raw
401 #define key_free ssh_key_free
402 #define key_from_blob ssh_key_from_blob
403 #define key_from_blob2 ssh_key_from_blob2
404 #define key_from_private ssh_key_from_private
405 #define key_generate ssh_key_generate
406 #define key_in_file ssh_key_in_file
407 #define key_is_cert ssh_key_is_cert
408 #define key_load_cert ssh_key_load_cert
409 #define key_load_file ssh_key_load_file
410 #define key_load_private ssh_key_load_private
411 #define key_load_private_cert ssh_key_load_private_cert
412 #define key_load_private_pem ssh_key_load_private_pem
413 #define key_load_private_type ssh_key_load_private_type
414 #define key_load_public ssh_key_load_public
415 #define key_load_public_type ssh_key_load_public_type
416 #define key_names_valid2 ssh_key_names_valid2
417 #define key_new ssh_key_new
418 #define key_new_private ssh_key_new_private
419 #define key_parse_private ssh_key_parse_private
420 #define key_parse_private2 ssh_key_parse_private2
421 #define key_parse_private_pem ssh_key_parse_private_pem
422 #define key_parse_private_type ssh_key_parse_private_type
423 #define key_parse_public_rsa1 ssh_key_parse_public_rsa1
424 #define key_perm_ok ssh_key_perm_ok
425 #define key_private_deserialize ssh_key_private_deserialize
426 #define key_private_serialize ssh_key_private_serialize
427 #define key_private_to_blob2 ssh_key_private_to_blob2
428 #define key_read ssh_key_read
429 #define key_save_private ssh_key_save_private
430 #define key_sign ssh_key_sign
431 #define key_size ssh_key_size
432 #define key_ssh_name ssh_key_ssh_name
433 #define key_ssh_name_plain ssh_key_ssh_name_plain
434 #define key_to_blob ssh_key_to_blob
435 #define key_to_certified ssh_key_to_certified
436 #define key_try_load_public ssh_key_try_load_public
437 #define key_type ssh_key_type
438 #define key_type_from_name ssh_key_type_from_name
439 #define key_type_is_cert ssh_key_type_is_cert
440 #define key_type_plain ssh_key_type_plain
441 #define key_verify ssh_key_verify
442 #define key_write ssh_key_write
443 #define load_hostkeys ssh_load_hostkeys
444 #define log_change_level ssh_log_change_level
445 #define log_facility_name ssh_log_facility_name
446 #define log_facility_number ssh_log_facility_number
447 #define log_init ssh_log_init
448 #define log_is_on_stderr ssh_log_is_on_stderr
449 #define log_level_name ssh_log_level_name
450 #define log_level_number ssh_log_level_number
451 #define log_redirect_stderr_to ssh_log_redirect_stderr_to
452 #define logit ssh_logit
453 #define lookup_key_in_hostkeys_by_type ssh_lookup_key_in_hostkeys_by_type
454 #define lowercase ssh_lowercase
455 #define mac_alg_list ssh_mac_alg_list
456 #define mac_clear ssh_mac_clear
457 #define mac_compute ssh_mac_compute
458 #define mac_init ssh_mac_init
459 #define mac_setup ssh_mac_setup
460 #define mac_valid ssh_mac_valid
461 #define match ssh_match
462 #define match_host_and_ip ssh_match_host_and_ip
463 #define match_hostname ssh_match_hostname
464 #define match_list ssh_match_list
465 #define match_pattern ssh_match_pattern
466 #define match_pattern_list ssh_match_pattern_list
467 #define match_user ssh_match_user
468 #define mktemp_proto ssh_mktemp_proto
469 #define mm_receive_fd ssh_mm_receive_fd
470 #define mm_send_fd ssh_mm_send_fd
471 #define monotime ssh_monotime
472 #define ms_subtract_diff ssh_ms_subtract_diff
473 #define ms_to_timeval ssh_ms_to_timeval
474 #define mult ssh_mult
475 #define mysignal ssh_mysignal
476 #define nh_aux ssh_nh_aux
477 #define nh_final ssh_nh_final
478 #define packet_add_padding ssh_packet_add_padding
479 #define packet_backup_state ssh_packet_backup_state
480 #define packet_close ssh_packet_close
481 #define packet_connection_is_on_socket ssh_packet_connection_is_on_socket
482 #define packet_disconnect ssh_packet_disconnect
483 #define packet_enable_delayed_compress ssh_packet_enable_delayed_compress
484 #define packet_get_bignum ssh_packet_get_bignum
485 #define packet_get_bignum2 ssh_packet_get_bignum2
486 #define packet_get_char ssh_packet_get_char
487 #define packet_get_connection_in ssh_packet_get_connection_in
488 #define packet_get_connection_out ssh_packet_get_connection_out
489 #define packet_get_cstring ssh_packet_get_cstring
490 #define packet_get_ecpoint ssh_packet_get_ecpoint
491 #define packet_get_encryption_key ssh_packet_get_encryption_key
492 #define packet_get_input ssh_packet_get_input
493 #define packet_get_int ssh_packet_get_int
494 #define packet_get_int64 ssh_packet_get_int64
495 #define packet_get_keycontext ssh_packet_get_keycontext
496 #define packet_get_keyiv ssh_packet_get_keyiv
497 #define packet_get_keyiv_len ssh_packet_get_keyiv_len
498 #define packet_get_maxsize ssh_packet_get_maxsize
499 #define packet_get_newkeys ssh_packet_get_newkeys
500 #define packet_get_output ssh_packet_get_output
501 #define packet_get_protocol_flags ssh_packet_get_protocol_flags
502 #define packet_get_raw ssh_packet_get_raw
503 #define packet_get_rekey_timeout ssh_packet_get_rekey_timeout
504 #define packet_get_ssh1_cipher ssh_packet_get_ssh1_cipher
505 #define packet_get_state ssh_packet_get_state
506 #define packet_get_string ssh_packet_get_string
507 #define packet_get_string_ptr ssh_packet_get_string_ptr
508 #define packet_have_data_to_write ssh_packet_have_data_to_write
509 #define packet_inc_alive_timeouts ssh_packet_inc_alive_timeouts
510 #define packet_is_interactive ssh_packet_is_interactive
511 #define packet_need_rekeying ssh_packet_need_rekeying
512 #define packet_not_very_much_data_to_write ssh_packet_not_very_much_data_to_write
513 #define packet_process_incoming ssh_packet_process_incoming
514 #define packet_put_bignum ssh_packet_put_bignum
515 #define packet_put_bignum2 ssh_packet_put_bignum2
516 #define packet_put_char ssh_packet_put_char
517 #define packet_put_cstring ssh_packet_put_cstring
518 #define packet_put_ecpoint ssh_packet_put_ecpoint
519 #define packet_put_int ssh_packet_put_int
520 #define packet_put_int64 ssh_packet_put_int64
521 #define packet_put_raw ssh_packet_put_raw
522 #define packet_put_string ssh_packet_put_string
523 #define packet_read ssh_packet_read
524 #define packet_read_expect ssh_packet_read_expect
525 #define packet_read_poll_seqnr ssh_packet_read_poll_seqnr
526 #define packet_read_seqnr ssh_packet_read_seqnr
527 #define packet_remaining ssh_packet_remaining
528 #define packet_restore_state ssh_packet_restore_state
529 #define packet_send ssh_packet_send
530 #define packet_send2_wrapped ssh_packet_send2_wrapped
531 #define packet_send_debug ssh_packet_send_debug
532 #define packet_send_ignore ssh_packet_send_ignore
533 #define packet_set_alive_timeouts ssh_packet_set_alive_timeouts
534 #define packet_set_authenticated ssh_packet_set_authenticated
535 #define packet_set_connection ssh_packet_set_connection
536 #define packet_set_encryption_key ssh_packet_set_encryption_key
537 #define packet_set_interactive ssh_packet_set_interactive
538 #define packet_set_iv ssh_packet_set_iv
539 #define packet_set_keycontext ssh_packet_set_keycontext
540 #define packet_set_maxsize ssh_packet_set_maxsize
541 #define packet_set_nonblocking ssh_packet_set_nonblocking
542 #define packet_set_protocol_flags ssh_packet_set_protocol_flags
543 #define packet_set_rekey_limits ssh_packet_set_rekey_limits
544 #define packet_set_server ssh_packet_set_server
545 #define packet_set_state ssh_packet_set_state
546 #define packet_set_timeout ssh_packet_set_timeout
547 #define packet_start ssh_packet_start
548 #define packet_start_compression ssh_packet_start_compression
549 #define packet_start_discard ssh_packet_start_discard
550 #define packet_stop_discard ssh_packet_stop_discard
551 #define packet_write_poll ssh_packet_write_poll
552 #define packet_write_wait ssh_packet_write_wait
553 #define parse_ipqos ssh_parse_ipqos
554 #define parse_prime ssh_parse_prime
555 #define percent_expand ssh_percent_expand
556 #define permanently_drop_suid ssh_permanently_drop_suid
557 #define permanently_set_uid ssh_permanently_set_uid
558 #define permitopen_port ssh_permitopen_port
559 #define pkcs11_add_provider ssh_pkcs11_add_provider
560 #define pkcs11_del_provider ssh_pkcs11_del_provider
561 #define pkcs11_fetch_keys_filter ssh_pkcs11_fetch_keys_filter
562 #define pkcs11_find ssh_pkcs11_find
563 #define pkcs11_init ssh_pkcs11_init
564 #define pkcs11_provider_finalize ssh_pkcs11_provider_finalize
565 #define pkcs11_provider_unref ssh_pkcs11_provider_unref
566 #define pkcs11_rsa_finish ssh_pkcs11_rsa_finish
567 #define pkcs11_rsa_private_decrypt ssh_pkcs11_rsa_private_decrypt
568 #define pkcs11_rsa_private_encrypt ssh_pkcs11_rsa_private_encrypt
569 #define pkcs11_terminate ssh_pkcs11_terminate
570 #define plain_key_blob ssh_plain_key_blob
571 #define poly1305_auth ssh_poly1305_auth
572 #define poly64 ssh_poly64
573 #define poly_hash ssh_poly_hash
574 #define port_open_helper ssh_port_open_helper
575 #define prime_test ssh_prime_test
576 #define proto_spec ssh_proto_spec
577 #define put_host_port ssh_put_host_port
578 #define put_u16 ssh_put_u16
579 #define put_u32 ssh_put_u32
580 #define put_u64 ssh_put_u64
581 #define pwcopy ssh_pwcopy
582 #define qfileout ssh_qfileout
583 #define read_keyfile_line ssh_read_keyfile_line
584 #define read_mux ssh_read_mux
585 #define read_passphrase ssh_read_passphrase
586 #define reduce_add_sub ssh_reduce_add_sub
587 #define refresh_progress_meter ssh_refresh_progress_meter
588 #define replacearg ssh_replacearg
589 #define restore_uid ssh_restore_uid
590 #define revoke_blob ssh_revoke_blob
591 #define revoked_blob_tree_RB_REMOVE ssh_revoked_blob_tree_RB_REMOVE
592 #define revoked_certs_for_ca_key ssh_revoked_certs_for_ca_key
593 #define revoked_serial_tree_RB_REMOVE ssh_revoked_serial_tree_RB_REMOVE
594 #define rijndaelKeySetupEnc ssh_rijndaelKeySetupEnc
595 #define rijndael_decrypt ssh_rijndael_decrypt
596 #define rijndael_encrypt ssh_rijndael_encrypt
597 #define rijndael_set_key ssh_rijndael_set_key
598 #define rsa_generate_additional_parameters ssh_rsa_generate_additional_parameters
599 #define rsa_private_decrypt ssh_rsa_private_decrypt
600 #define rsa_public_encrypt ssh_rsa_public_encrypt
601 #define sanitise_stdfd ssh_sanitise_stdfd
602 #define scan_scaled ssh_scan_scaled
603 #define seed_rng ssh_seed_rng
604 #define set_log_handler ssh_set_log_handler
605 #define set_newkeys ssh_set_newkeys
606 #define set_nodelay ssh_set_nodelay
607 #define set_nonblock ssh_set_nonblock
608 #define shadow_pw ssh_shadow_pw
609 #define sieve_large ssh_sieve_large
610 #define sig_winch ssh_sig_winch
611 #define sigdie ssh_sigdie
612 #define sock_set_v6only ssh_sock_set_v6only
613 #define square ssh_square
614 #define ssh1_3des_cbc ssh_ssh1_3des_cbc
615 #define ssh1_3des_cleanup ssh_ssh1_3des_cleanup
616 #define ssh1_3des_init ssh_ssh1_3des_init
617 #define ssh1_3des_iv ssh_ssh1_3des_iv
618 #define start_progress_meter ssh_start_progress_meter
619 #define stop_progress_meter ssh_stop_progress_meter
620 #define strdelim ssh_strdelim
621 #define strnvis ssh_strnvis
622 #define strvis ssh_strvis
623 #define strvisx ssh_strvisx
624 #define sys_tun_open ssh_sys_tun_open
625 #define temporarily_use_uid ssh_temporarily_use_uid
626 #define tilde_expand_filename ssh_tilde_expand_filename
627 #define timingsafe_bcmp ssh_timingsafe_bcmp
628 #define to_blob ssh_to_blob
629 #define tohex ssh_tohex
630 #define tty_make_modes ssh_tty_make_modes
631 #define tty_parse_modes ssh_tty_parse_modes
632 #define tun_open ssh_tun_open
633 #define umac128_delete ssh_umac128_delete
634 #define umac128_final ssh_umac128_final
635 #define umac128_new ssh_umac128_new
636 #define umac128_update ssh_umac128_update
637 #define umac_delete ssh_umac_delete
638 #define umac_final ssh_umac_final
639 #define umac_new ssh_umac_new
640 #define umac_update ssh_umac_update
641 #define unset_nonblock ssh_unset_nonblock
642 #define update_progress_meter ssh_update_progress_meter
643 #define uudecode ssh_uudecode
644 #define uuencode ssh_uuencode
645 #define verbose ssh_verbose
646 #define verify_host_key_dns ssh_verify_host_key_dns
648 #define x11_connect_display ssh_x11_connect_display
649 #define x11_create_display_inet ssh_x11_create_display_inet
650 #define x11_input_open ssh_x11_input_open
651 #define x11_open_helper ssh_x11_open_helper
652 #define x11_request_forwarding_with_spoofing ssh_x11_request_forwarding_with_spoofing
653 #define xasprintf ssh_xasprintf
654 #define xcalloc ssh_xcalloc
655 #define xcrypt ssh_xcrypt
656 #define xmalloc ssh_xmalloc
657 #define xmmap ssh_xmmap
658 #define xrealloc ssh_xrealloc
659 #define xstrdup ssh_xstrdup