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