kernel - Bring in dff23c692 from FreeBSD
[dragonfly.git] / crypto / openssh / ssh_namespace.h
blob5abfa5abb92bbde2d1c396bae0fcdf64599c1fa5
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).
8 * A list of symbols which need munging is obtained as follows:
10 * nm libssh.a | awk '/[0-9a-z] [A-Z] / && $3 !~ /^ssh_/ { print "#define", $3, "ssh_" $3 }'
12 * $FreeBSD: src/crypto/openssh/ssh_namespace.h,v 1.4 2008/08/01 02:48:36 des Exp $
14 #define glob ssh_glob
15 #define globfree ssh_globfree
16 #define kexc25519_client ssh_kexc25519_client
17 #define kex_c25519_hash ssh_kex_c25519_hash
18 #define kexc25519_keygen ssh_kexc25519_keygen
19 #define kexc25519_shared_key ssh_kexc25519_shared_key
20 #define crypto_scalarmult_curve25519 ssh_crypto_scalarmult_curve25519
21 #define pkcs11_add_provider ssh_pkcs11_add_provider
22 #define pkcs11_del_provider ssh_pkcs11_del_provider
23 #define pkcs11_init ssh_pkcs11_init
24 #define pkcs11_interactive ssh_pkcs11_interactive
25 #define pkcs11_providers ssh_pkcs11_providers
26 #define pkcs11_terminate ssh_pkcs11_terminate
27 #define seed_rng ssh_seed_rng
28 #define export_dns_rr ssh_export_dns_rr
29 #define verify_host_key_dns ssh_verify_host_key_dns
30 #define refresh_progress_meter ssh_refresh_progress_meter
31 #define start_progress_meter ssh_start_progress_meter
32 #define stop_progress_meter ssh_stop_progress_meter
33 #define kexecdh_client ssh_kexecdh_client
34 #define kex_ecdh_hash ssh_kex_ecdh_hash
35 #define kexgex_client ssh_kexgex_client
36 #define kexdh_client ssh_kexdh_client
37 #define kexgex_hash ssh_kexgex_hash
38 #define kex_dh_hash ssh_kex_dh_hash
39 #define choose_dh ssh_choose_dh
40 #define dh_estimate ssh_dh_estimate
41 #define dh_gen_key ssh_dh_gen_key
42 #define dh_new_group ssh_dh_new_group
43 #define dh_new_group1 ssh_dh_new_group1
44 #define dh_new_group14 ssh_dh_new_group14
45 #define dh_new_group_asc ssh_dh_new_group_asc
46 #define dh_pub_is_valid ssh_dh_pub_is_valid
47 #define rijndaelEncrypt ssh_rijndaelEncrypt
48 #define rijndaelKeySetupDec ssh_rijndaelKeySetupDec
49 #define rijndaelKeySetupEnc ssh_rijndaelKeySetupEnc
50 #define rijndael_decrypt ssh_rijndael_decrypt
51 #define rijndael_encrypt ssh_rijndael_encrypt
52 #define rijndael_set_key ssh_rijndael_set_key
53 #define mm_receive_fd ssh_mm_receive_fd
54 #define mm_send_fd ssh_mm_send_fd
55 #define dump_base64 ssh_dump_base64
56 #define uudecode ssh_uudecode
57 #define uuencode ssh_uuencode
58 #define tty_make_modes ssh_tty_make_modes
59 #define tty_parse_modes ssh_tty_parse_modes
60 #define ask_permission ssh_ask_permission
61 #define read_passphrase ssh_read_passphrase
62 #define gen_candidates ssh_gen_candidates
63 #define prime_test ssh_prime_test
64 #define add_host_to_hostfile ssh_add_host_to_hostfile
65 #define check_key_in_hostkeys ssh_check_key_in_hostkeys
66 #define free_hostkeys ssh_free_hostkeys
67 #define host_hash ssh_host_hash
68 #define hostfile_read_key ssh_hostfile_read_key
69 #define init_hostkeys ssh_init_hostkeys
70 #define load_hostkeys ssh_load_hostkeys
71 #define lookup_key_in_hostkeys_by_type ssh_lookup_key_in_hostkeys_by_type
72 #define compat13 ssh_compat13
73 #define compat20 ssh_compat20
74 #define compat_cipher_proposal ssh_compat_cipher_proposal
75 #define compat_datafellows ssh_compat_datafellows
76 #define compat_kex_proposal ssh_compat_kex_proposal
77 #define compat_pkalg_proposal ssh_compat_pkalg_proposal
78 #define datafellows ssh_datafellows
79 #define enable_compat13 ssh_enable_compat13
80 #define enable_compat20 ssh_enable_compat20
81 #define proto_spec ssh_proto_spec
82 #define decode_reply ssh_decode_reply
83 #define freerrset ssh_freerrset
84 #define getrrsetbyname ssh_getrrsetbyname
85 #define permanently_drop_suid ssh_permanently_drop_suid
86 #define permanently_set_uid ssh_permanently_set_uid
87 #define restore_uid ssh_restore_uid
88 #define temporarily_use_uid ssh_temporarily_use_uid
89 #define key_add_private ssh_key_add_private
90 #define key_cert_check_authority ssh_key_cert_check_authority
91 #define key_cert_copy ssh_key_cert_copy
92 #define key_certify ssh_key_certify
93 #define key_demote ssh_key_demote
94 #define key_drop_cert ssh_key_drop_cert
95 #define key_ec_validate_private ssh_key_ec_validate_private
96 #define key_ec_validate_public ssh_key_ec_validate_public
97 #define key_fingerprint_raw ssh_key_fingerprint_raw
98 #define key_from_blob ssh_key_from_blob
99 #define key_from_private ssh_key_from_private
100 #define key_generate ssh_key_generate
101 #define key_in_file ssh_key_in_file
102 #define key_load_cert ssh_key_load_cert
103 #define key_load_file ssh_key_load_file
104 #define key_load_private ssh_key_load_private
105 #define key_load_private_cert ssh_key_load_private_cert
106 #define key_load_private_pem ssh_key_load_private_pem
107 #define key_load_private_type ssh_key_load_private_type
108 #define key_load_public ssh_key_load_public
109 #define key_new_private ssh_key_new_private
110 #define key_perm_ok ssh_key_perm_ok
111 #define key_private_deserialize ssh_key_private_deserialize
112 #define key_private_serialize ssh_key_private_serialize
113 #define key_read ssh_key_read
114 #define key_save_private ssh_key_save_private
115 #define key_sign ssh_key_sign
116 #define key_to_blob ssh_key_to_blob
117 #define key_to_certified ssh_key_to_certified
118 #define key_verify ssh_key_verify
119 #define key_write ssh_key_write
120 #define blacklist_filename ssh_blacklist_filename
121 #define blacklisted_key ssh_blacklisted_key
122 #define sshkey_in_file ssh_sshkey_in_file
123 #define sshkey_load_cert ssh_sshkey_load_cert
124 #define sshkey_load_file ssh_sshkey_load_file
125 #define sshkey_load_private ssh_sshkey_load_private
126 #define sshkey_load_private_cert ssh_sshkey_load_private_cert
127 #define sshkey_load_private_pem ssh_sshkey_load_private_pem
128 #define sshkey_load_private_type ssh_sshkey_load_private_type
129 #define sshkey_load_public ssh_sshkey_load_public
130 #define sshkey_perm_ok ssh_sshkey_perm_ok
131 #define sshkey_save_private ssh_sshkey_save_private
132 #define atomicio ssh_atomicio
133 #define atomicio6 ssh_atomicio6
134 #define atomiciov ssh_atomiciov
135 #define atomiciov6 ssh_atomiciov6
136 #define current_keys ssh_current_keys
137 #define derive_ssh1_session_id ssh_derive_ssh1_session_id
138 #define kex_alg_list ssh_kex_alg_list
139 #define kex_derive_keys ssh_kex_derive_keys
140 #define kex_derive_keys_bn ssh_kex_derive_keys_bn
141 #define kex_finish ssh_kex_finish
142 #define kex_get_newkeys ssh_kex_get_newkeys
143 #define kex_input_kexinit ssh_kex_input_kexinit
144 #define kex_names_valid ssh_kex_names_valid
145 #define kex_prop2buf ssh_kex_prop2buf
146 #define kex_send_kexinit ssh_kex_send_kexinit
147 #define kex_setup ssh_kex_setup
148 #define dispatch ssh_dispatch
149 #define dispatch_init ssh_dispatch_init
150 #define dispatch_protocol_error ssh_dispatch_protocol_error
151 #define dispatch_protocol_ignore ssh_dispatch_protocol_ignore
152 #define dispatch_range ssh_dispatch_range
153 #define dispatch_run ssh_dispatch_run
154 #define dispatch_set ssh_dispatch_set
155 #define key_alg_list ssh_key_alg_list
156 #define sshkey_add_private ssh_sshkey_add_private
157 #define sshkey_cert_check_authority ssh_sshkey_cert_check_authority
158 #define sshkey_cert_copy ssh_sshkey_cert_copy
159 #define sshkey_cert_is_legacy ssh_sshkey_cert_is_legacy
160 #define sshkey_cert_type ssh_sshkey_cert_type
161 #define sshkey_certify ssh_sshkey_certify
162 #define sshkey_curve_name_to_nid ssh_sshkey_curve_name_to_nid
163 #define sshkey_curve_nid_to_bits ssh_sshkey_curve_nid_to_bits
164 #define sshkey_curve_nid_to_name ssh_sshkey_curve_nid_to_name
165 #define sshkey_demote ssh_sshkey_demote
166 #define sshkey_drop_cert ssh_sshkey_drop_cert
167 #define sshkey_dump_ec_key ssh_sshkey_dump_ec_key
168 #define sshkey_dump_ec_point ssh_sshkey_dump_ec_point
169 #define sshkey_ec_nid_to_hash_alg ssh_sshkey_ec_nid_to_hash_alg
170 #define sshkey_ec_validate_private ssh_sshkey_ec_validate_private
171 #define sshkey_ec_validate_public ssh_sshkey_ec_validate_public
172 #define sshkey_ecdsa_bits_to_nid ssh_sshkey_ecdsa_bits_to_nid
173 #define sshkey_ecdsa_key_to_nid ssh_sshkey_ecdsa_key_to_nid
174 #define sshkey_ecdsa_nid_from_name ssh_sshkey_ecdsa_nid_from_name
175 #define sshkey_equal ssh_sshkey_equal
176 #define sshkey_equal_public ssh_sshkey_equal_public
177 #define sshkey_fingerprint ssh_sshkey_fingerprint
178 #define sshkey_fingerprint_raw ssh_sshkey_fingerprint_raw
179 #define sshkey_free ssh_sshkey_free
180 #define sshkey_from_blob ssh_sshkey_from_blob
181 #define sshkey_from_private ssh_sshkey_from_private
182 #define sshkey_generate ssh_sshkey_generate
183 #define sshkey_is_cert ssh_sshkey_is_cert
184 #define sshkey_names_valid2 ssh_sshkey_names_valid2
185 #define sshkey_new ssh_sshkey_new
186 #define sshkey_new_private ssh_sshkey_new_private
187 #define sshkey_parse_private_fileblob ssh_sshkey_parse_private_fileblob
188 #define sshkey_parse_private_fileblob_type ssh_sshkey_parse_private_fileblob_type
189 #define sshkey_parse_private_pem_fileblob ssh_sshkey_parse_private_pem_fileblob
190 #define sshkey_parse_public_rsa1_fileblob ssh_sshkey_parse_public_rsa1_fileblob
191 #define sshkey_plain_to_blob ssh_sshkey_plain_to_blob
192 #define sshkey_plain_to_blob_buf ssh_sshkey_plain_to_blob_buf
193 #define sshkey_private_deserialize ssh_sshkey_private_deserialize
194 #define sshkey_private_serialize ssh_sshkey_private_serialize
195 #define sshkey_private_to_fileblob ssh_sshkey_private_to_fileblob
196 #define sshkey_read ssh_sshkey_read
197 #define sshkey_sign ssh_sshkey_sign
198 #define sshkey_size ssh_sshkey_size
199 #define sshkey_ssh_name ssh_sshkey_ssh_name
200 #define sshkey_ssh_name_plain ssh_sshkey_ssh_name_plain
201 #define sshkey_to_blob ssh_sshkey_to_blob
202 #define sshkey_to_blob_buf ssh_sshkey_to_blob_buf
203 #define sshkey_to_certified ssh_sshkey_to_certified
204 #define sshkey_type ssh_sshkey_type
205 #define sshkey_type_from_name ssh_sshkey_type_from_name
206 #define sshkey_type_is_cert ssh_sshkey_type_is_cert
207 #define sshkey_type_plain ssh_sshkey_type_plain
208 #define sshkey_verify ssh_sshkey_verify
209 #define sshkey_write ssh_sshkey_write
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_ge25519_base ssh_crypto_sign_ed25519_ref_ge25519_base
214 #define crypto_sign_ed25519_ref_double_scalarmult_vartime ssh_crypto_sign_ed25519_ref_double_scalarmult_vartime
215 #define crypto_sign_ed25519_ref_ge25519_base ssh_crypto_sign_ed25519_ref_ge25519_base
216 #define crypto_sign_ed25519_ref_isneutral_vartime ssh_crypto_sign_ed25519_ref_isneutral_vartime
217 #define crypto_sign_ed25519_ref_pack ssh_crypto_sign_ed25519_ref_pack
218 #define crypto_sign_ed25519_ref_scalarmult_base ssh_crypto_sign_ed25519_ref_scalarmult_base
219 #define crypto_sign_ed25519_ref_unpackneg_vartime ssh_crypto_sign_ed25519_ref_unpackneg_vartime
220 #define crypto_sign_ed25519_ref_sc25519_2interleave2 ssh_crypto_sign_ed25519_ref_sc25519_2interleave2
221 #define crypto_sign_ed25519_ref_sc25519_add ssh_crypto_sign_ed25519_ref_sc25519_add
222 #define crypto_sign_ed25519_ref_sc25519_from32bytes ssh_crypto_sign_ed25519_ref_sc25519_from32bytes
223 #define crypto_sign_ed25519_ref_sc25519_from64bytes ssh_crypto_sign_ed25519_ref_sc25519_from64bytes
224 #define crypto_sign_ed25519_ref_sc25519_from_shortsc ssh_crypto_sign_ed25519_ref_sc25519_from_shortsc
225 #define crypto_sign_ed25519_ref_sc25519_isshort_vartime ssh_crypto_sign_ed25519_ref_sc25519_isshort_vartime
226 #define crypto_sign_ed25519_ref_sc25519_iszero_vartime ssh_crypto_sign_ed25519_ref_sc25519_iszero_vartime
227 #define crypto_sign_ed25519_ref_sc25519_lt_vartime ssh_crypto_sign_ed25519_ref_sc25519_lt_vartime
228 #define crypto_sign_ed25519_ref_sc25519_mul ssh_crypto_sign_ed25519_ref_sc25519_mul
229 #define crypto_sign_ed25519_ref_sc25519_mul_shortsc ssh_crypto_sign_ed25519_ref_sc25519_mul_shortsc
230 #define crypto_sign_ed25519_ref_sc25519_sub_nored ssh_crypto_sign_ed25519_ref_sc25519_sub_nored
231 #define crypto_sign_ed25519_ref_sc25519_to32bytes ssh_crypto_sign_ed25519_ref_sc25519_to32bytes
232 #define crypto_sign_ed25519_ref_sc25519_window3 ssh_crypto_sign_ed25519_ref_sc25519_window3
233 #define crypto_sign_ed25519_ref_sc25519_window5 ssh_crypto_sign_ed25519_ref_sc25519_window5
234 #define crypto_sign_ed25519_ref_shortsc25519_from16bytes ssh_crypto_sign_ed25519_ref_shortsc25519_from16bytes
235 #define rsa_generate_additional_parameters ssh_rsa_generate_additional_parameters
236 #define rsa_private_decrypt ssh_rsa_private_decrypt
237 #define rsa_public_encrypt ssh_rsa_public_encrypt
238 #define sshbuf_b64tod ssh_sshbuf_b64tod
239 #define sshbuf_dtob16 ssh_sshbuf_dtob16
240 #define sshbuf_dtob64 ssh_sshbuf_dtob64
241 #define sshbuf_dump ssh_sshbuf_dump
242 #define sshbuf_dump_data ssh_sshbuf_dump_data
243 #define crypto_hash_sha512 ssh_crypto_hash_sha512
244 #define crypto_verify_32 ssh_crypto_verify_32
245 #define crypto_sign_ed25519_ref_fe25519_add ssh_crypto_sign_ed25519_ref_fe25519_add
246 #define crypto_sign_ed25519_ref_fe25519_cmov ssh_crypto_sign_ed25519_ref_fe25519_cmov
247 #define crypto_sign_ed25519_ref_fe25519_freeze ssh_crypto_sign_ed25519_ref_fe25519_freeze
248 #define crypto_sign_ed25519_ref_fe25519_getparity ssh_crypto_sign_ed25519_ref_fe25519_getparity
249 #define crypto_sign_ed25519_ref_fe25519_invert ssh_crypto_sign_ed25519_ref_fe25519_invert
250 #define crypto_sign_ed25519_ref_fe25519_iseq_vartime ssh_crypto_sign_ed25519_ref_fe25519_iseq_vartime
251 #define crypto_sign_ed25519_ref_fe25519_iszero ssh_crypto_sign_ed25519_ref_fe25519_iszero
252 #define crypto_sign_ed25519_ref_fe25519_mul ssh_crypto_sign_ed25519_ref_fe25519_mul
253 #define crypto_sign_ed25519_ref_fe25519_neg ssh_crypto_sign_ed25519_ref_fe25519_neg
254 #define crypto_sign_ed25519_ref_fe25519_pack ssh_crypto_sign_ed25519_ref_fe25519_pack
255 #define crypto_sign_ed25519_ref_fe25519_pow2523 ssh_crypto_sign_ed25519_ref_fe25519_pow2523
256 #define crypto_sign_ed25519_ref_fe25519_setone ssh_crypto_sign_ed25519_ref_fe25519_setone
257 #define crypto_sign_ed25519_ref_fe25519_setzero ssh_crypto_sign_ed25519_ref_fe25519_setzero
258 #define crypto_sign_ed25519_ref_fe25519_square ssh_crypto_sign_ed25519_ref_fe25519_square
259 #define crypto_sign_ed25519_ref_fe25519_sub ssh_crypto_sign_ed25519_ref_fe25519_sub
260 #define crypto_sign_ed25519_ref_fe25519_unpack ssh_crypto_sign_ed25519_ref_fe25519_unpack
261 #define crypto_hashblocks_sha512 ssh_crypto_hashblocks_sha512
262 #define addr_match_cidr_list ssh_addr_match_cidr_list
263 #define addr_match_list ssh_addr_match_list
264 #define match_host_and_ip ssh_match_host_and_ip
265 #define match_hostname ssh_match_hostname
266 #define match_list ssh_match_list
267 #define match_pattern ssh_match_pattern
268 #define match_pattern_list ssh_match_pattern_list
269 #define match_user ssh_match_user
270 #define packet_add_padding ssh_packet_add_padding
271 #define packet_authentication_state ssh_packet_authentication_state
272 #define packet_backup_state ssh_packet_backup_state
273 #define packet_close ssh_packet_close
274 #define packet_connection_is_on_socket ssh_packet_connection_is_on_socket
275 #define packet_disconnect ssh_packet_disconnect
276 #define packet_get_bignum ssh_packet_get_bignum
277 #define packet_get_bignum2 ssh_packet_get_bignum2
278 #define packet_get_char ssh_packet_get_char
279 #define packet_get_connection_in ssh_packet_get_connection_in
280 #define packet_get_connection_out ssh_packet_get_connection_out
281 #define packet_get_cstring ssh_packet_get_cstring
282 #define packet_get_ecpoint ssh_packet_get_ecpoint
283 #define packet_get_encryption_key ssh_packet_get_encryption_key
284 #define packet_get_input ssh_packet_get_input
285 #define packet_get_int ssh_packet_get_int
286 #define packet_get_int64 ssh_packet_get_int64
287 #define packet_get_keycontext ssh_packet_get_keycontext
288 #define packet_get_keyiv ssh_packet_get_keyiv
289 #define packet_get_keyiv_len ssh_packet_get_keyiv_len
290 #define packet_get_maxsize ssh_packet_get_maxsize
291 #define packet_get_newkeys ssh_packet_get_newkeys
292 #define packet_get_output ssh_packet_get_output
293 #define packet_get_protocol_flags ssh_packet_get_protocol_flags
294 #define packet_get_raw ssh_packet_get_raw
295 #define packet_get_receive_context ssh_packet_get_receive_context
296 #define packet_get_rekey_timeout ssh_packet_get_rekey_timeout
297 #define packet_get_send_context ssh_packet_get_send_context
298 #define packet_get_ssh1_cipher ssh_packet_get_ssh1_cipher
299 #define packet_get_state ssh_packet_get_state
300 #define packet_get_string ssh_packet_get_string
301 #define packet_get_string_ptr ssh_packet_get_string_ptr
302 #define packet_have_data_to_write ssh_packet_have_data_to_write
303 #define packet_inc_alive_timeouts ssh_packet_inc_alive_timeouts
304 #define packet_is_interactive ssh_packet_is_interactive
305 #define packet_need_rekeying ssh_packet_need_rekeying
306 #define packet_not_very_much_data_to_write ssh_packet_not_very_much_data_to_write
307 #define packet_process_incoming ssh_packet_process_incoming
308 #define packet_put_bignum ssh_packet_put_bignum
309 #define packet_put_bignum2 ssh_packet_put_bignum2
310 #define packet_put_char ssh_packet_put_char
311 #define packet_put_cstring ssh_packet_put_cstring
312 #define packet_put_ecpoint ssh_packet_put_ecpoint
313 #define packet_put_int ssh_packet_put_int
314 #define packet_put_int64 ssh_packet_put_int64
315 #define packet_put_raw ssh_packet_put_raw
316 #define packet_put_string ssh_packet_put_string
317 #define packet_read ssh_packet_read
318 #define packet_read_expect ssh_packet_read_expect
319 #define packet_read_poll_seqnr ssh_packet_read_poll_seqnr
320 #define packet_read_seqnr ssh_packet_read_seqnr
321 #define packet_remaining ssh_packet_remaining
322 #define packet_request_rekeying ssh_packet_request_rekeying
323 #define packet_restore_state ssh_packet_restore_state
324 #define packet_send ssh_packet_send
325 #define packet_send_debug ssh_packet_send_debug
326 #define packet_send_ignore ssh_packet_send_ignore
327 #define packet_set_alive_timeouts ssh_packet_set_alive_timeouts
328 #define packet_set_authenticated ssh_packet_set_authenticated
329 #define packet_set_connection ssh_packet_set_connection
330 #define packet_set_encryption_key ssh_packet_set_encryption_key
331 #define packet_set_interactive ssh_packet_set_interactive
332 #define packet_set_iv ssh_packet_set_iv
333 #define packet_set_keycontext ssh_packet_set_keycontext
334 #define packet_set_maxsize ssh_packet_set_maxsize
335 #define packet_set_nonblocking ssh_packet_set_nonblocking
336 #define packet_set_postauth ssh_packet_set_postauth
337 #define packet_set_protocol_flags ssh_packet_set_protocol_flags
338 #define packet_set_rekey_limits ssh_packet_set_rekey_limits
339 #define packet_set_server ssh_packet_set_server
340 #define packet_set_state ssh_packet_set_state
341 #define packet_set_timeout ssh_packet_set_timeout
342 #define packet_start ssh_packet_start
343 #define packet_start_compression ssh_packet_start_compression
344 #define packet_write_poll ssh_packet_write_poll
345 #define packet_write_wait ssh_packet_write_wait
346 #define rekey_requested ssh_rekey_requested
347 #define set_newkeys ssh_set_newkeys
348 #define buffer_get_ecpoint ssh_buffer_get_ecpoint
349 #define buffer_get_ecpoint_ret ssh_buffer_get_ecpoint_ret
350 #define buffer_put_ecpoint ssh_buffer_put_ecpoint
351 #define buffer_put_ecpoint_ret ssh_buffer_put_ecpoint_ret
352 #define mac_alg_list ssh_mac_alg_list
353 #define mac_clear ssh_mac_clear
354 #define mac_compute ssh_mac_compute
355 #define mac_init ssh_mac_init
356 #define mac_setup ssh_mac_setup
357 #define mac_valid ssh_mac_valid
358 #define detect_attack ssh_detect_attack
359 #define buffer_compress ssh_buffer_compress
360 #define buffer_compress_init_recv ssh_buffer_compress_init_recv
361 #define buffer_compress_init_send ssh_buffer_compress_init_send
362 #define buffer_compress_uninit ssh_buffer_compress_uninit
363 #define buffer_uncompress ssh_buffer_uncompress
364 #define incoming_stream ssh_incoming_stream
365 #define outgoing_stream ssh_outgoing_stream
366 #define cipher_alg_list ssh_cipher_alg_list
367 #define cipher_authlen ssh_cipher_authlen
368 #define cipher_blocksize ssh_cipher_blocksize
369 #define cipher_by_name ssh_cipher_by_name
370 #define cipher_by_number ssh_cipher_by_number
371 #define cipher_cleanup ssh_cipher_cleanup
372 #define cipher_crypt ssh_cipher_crypt
373 #define cipher_get_keycontext ssh_cipher_get_keycontext
374 #define cipher_get_keyiv ssh_cipher_get_keyiv
375 #define cipher_get_keyiv_len ssh_cipher_get_keyiv_len
376 #define cipher_get_length ssh_cipher_get_length
377 #define cipher_get_number ssh_cipher_get_number
378 #define cipher_init ssh_cipher_init
379 #define cipher_is_cbc ssh_cipher_is_cbc
380 #define cipher_ivlen ssh_cipher_ivlen
381 #define cipher_keylen ssh_cipher_keylen
382 #define cipher_mask_ssh1 ssh_cipher_mask_ssh1
383 #define cipher_name ssh_cipher_name
384 #define cipher_number ssh_cipher_number
385 #define cipher_reset_multithreaded ssh_cipher_reset_multithreaded
386 #define cipher_return_name ssh_cipher_return_name
387 #define cipher_seclen ssh_cipher_seclen
388 #define cipher_set_key_string ssh_cipher_set_key_string
389 #define cipher_set_keycontext ssh_cipher_set_keycontext
390 #define cipher_set_keyiv ssh_cipher_set_keyiv
391 #define cipher_warning_message ssh_cipher_warning_message
392 #define ciphers_valid ssh_ciphers_valid
393 #define buffer_get_bignum ssh_buffer_get_bignum
394 #define buffer_get_bignum2 ssh_buffer_get_bignum2
395 #define buffer_get_bignum2_ret ssh_buffer_get_bignum2_ret
396 #define buffer_get_bignum_ret ssh_buffer_get_bignum_ret
397 #define buffer_put_bignum ssh_buffer_put_bignum
398 #define buffer_put_bignum2 ssh_buffer_put_bignum2
399 #define buffer_put_bignum2_ret ssh_buffer_put_bignum2_ret
400 #define buffer_put_bignum_ret ssh_buffer_put_bignum_ret
401 #define sshbuf_get_bignum1 ssh_sshbuf_get_bignum1
402 #define sshbuf_get_bignum2 ssh_sshbuf_get_bignum2
403 #define sshbuf_get_ec ssh_sshbuf_get_ec
404 #define sshbuf_get_eckey ssh_sshbuf_get_eckey
405 #define sshbuf_put_bignum1 ssh_sshbuf_put_bignum1
406 #define sshbuf_put_bignum2 ssh_sshbuf_put_bignum2
407 #define sshbuf_put_ec ssh_sshbuf_put_ec
408 #define sshbuf_put_eckey ssh_sshbuf_put_eckey
409 #define digests ssh_digests
410 #define chachapoly_crypt ssh_chachapoly_crypt
411 #define chachapoly_get_length ssh_chachapoly_get_length
412 #define chachapoly_init ssh_chachapoly_init
413 #define chacha_encrypt_bytes ssh_chacha_encrypt_bytes
414 #define chacha_ivsetup ssh_chacha_ivsetup
415 #define chacha_keysetup ssh_chacha_keysetup
416 #define poly1305_auth ssh_poly1305_auth
417 #define umac128_delete ssh_umac128_delete
418 #define umac128_final ssh_umac128_final
419 #define umac128_new ssh_umac128_new
420 #define umac128_update ssh_umac128_update
421 #define umac_ctx ssh_umac_ctx
422 #define umac_ctx ssh_umac_ctx
423 #define umac_delete ssh_umac_delete
424 #define umac_final ssh_umac_final
425 #define umac_new ssh_umac_new
426 #define umac_update ssh_umac_update
427 #define evp_ssh1_3des ssh_evp_ssh1_3des
428 #define ssh1_3des_iv ssh_ssh1_3des_iv
429 #define evp_aes_ctr_mt ssh_evp_aes_ctr_mt
430 #define evp_ssh1_bf ssh_evp_ssh1_bf
431 #define chan_ibuf_empty ssh_chan_ibuf_empty
432 #define chan_is_dead ssh_chan_is_dead
433 #define chan_mark_dead ssh_chan_mark_dead
434 #define chan_obuf_empty ssh_chan_obuf_empty
435 #define chan_rcvd_eow ssh_chan_rcvd_eow
436 #define chan_rcvd_ieof ssh_chan_rcvd_ieof
437 #define chan_rcvd_oclose ssh_chan_rcvd_oclose
438 #define chan_read_failed ssh_chan_read_failed
439 #define chan_write_failed ssh_chan_write_failed
440 #define auth_request_forwarding ssh_auth_request_forwarding
441 #define channel_add_adm_permitted_opens ssh_channel_add_adm_permitted_opens
442 #define channel_add_permitted_opens ssh_channel_add_permitted_opens
443 #define channel_after_select ssh_channel_after_select
444 #define channel_by_id ssh_channel_by_id
445 #define channel_cancel_cleanup ssh_channel_cancel_cleanup
446 #define channel_cancel_lport_listener ssh_channel_cancel_lport_listener
447 #define channel_cancel_rport_listener ssh_channel_cancel_rport_listener
448 #define channel_clear_adm_permitted_opens ssh_channel_clear_adm_permitted_opens
449 #define channel_clear_permitted_opens ssh_channel_clear_permitted_opens
450 #define channel_close_all ssh_channel_close_all
451 #define channel_close_fd ssh_channel_close_fd
452 #define channel_connect_by_listen_address ssh_channel_connect_by_listen_address
453 #define channel_connect_by_listen_path ssh_channel_connect_by_listen_path
454 #define channel_connect_stdio_fwd ssh_channel_connect_stdio_fwd
455 #define channel_connect_to_path ssh_channel_connect_to_path
456 #define channel_connect_to_port ssh_channel_connect_to_port
457 #define channel_disable_adm_local_opens ssh_channel_disable_adm_local_opens
458 #define channel_find_open ssh_channel_find_open
459 #define channel_free ssh_channel_free
460 #define channel_free_all ssh_channel_free_all
461 #define channel_input_close ssh_channel_input_close
462 #define channel_input_close_confirmation ssh_channel_input_close_confirmation
463 #define channel_input_data ssh_channel_input_data
464 #define channel_input_extended_data ssh_channel_input_extended_data
465 #define channel_input_ieof ssh_channel_input_ieof
466 #define channel_input_oclose ssh_channel_input_oclose
467 #define channel_input_open_confirmation ssh_channel_input_open_confirmation
468 #define channel_input_open_failure ssh_channel_input_open_failure
469 #define channel_input_port_forward_request ssh_channel_input_port_forward_request
470 #define channel_input_port_open ssh_channel_input_port_open
471 #define channel_input_status_confirm ssh_channel_input_status_confirm
472 #define channel_input_window_adjust ssh_channel_input_window_adjust
473 #define channel_lookup ssh_channel_lookup
474 #define channel_new ssh_channel_new
475 #define channel_not_very_much_buffered_data ssh_channel_not_very_much_buffered_data
476 #define channel_open_message ssh_channel_open_message
477 #define channel_output_poll ssh_channel_output_poll
478 #define channel_permit_all_opens ssh_channel_permit_all_opens
479 #define channel_post ssh_channel_post
480 #define channel_pre ssh_channel_pre
481 #define channel_prepare_select ssh_channel_prepare_select
482 #define channel_print_adm_permitted_opens ssh_channel_print_adm_permitted_opens
483 #define channel_register_cleanup ssh_channel_register_cleanup
484 #define channel_register_filter ssh_channel_register_filter
485 #define channel_register_open_confirm ssh_channel_register_open_confirm
486 #define channel_register_status_confirm ssh_channel_register_status_confirm
487 #define channel_request_remote_forwarding ssh_channel_request_remote_forwarding
488 #define channel_request_rforward_cancel ssh_channel_request_rforward_cancel
489 #define channel_request_start ssh_channel_request_start
490 #define channel_send_open ssh_channel_send_open
491 #define channel_send_window_changes ssh_channel_send_window_changes
492 #define channel_set_af ssh_channel_set_af
493 #define channel_set_fds ssh_channel_set_fds
494 #define channel_set_hpn ssh_channel_set_hpn
495 #define channel_setup_local_fwd_listener ssh_channel_setup_local_fwd_listener
496 #define channel_setup_remote_fwd_listener ssh_channel_setup_remote_fwd_listener
497 #define channel_still_open ssh_channel_still_open
498 #define channel_stop_listening ssh_channel_stop_listening
499 #define channel_tcpwinsz ssh_channel_tcpwinsz
500 #define channel_update_permitted_opens ssh_channel_update_permitted_opens
501 #define deny_input_open ssh_deny_input_open
502 #define permitopen_port ssh_permitopen_port
503 #define x11_connect_display ssh_x11_connect_display
504 #define x11_create_display_inet ssh_x11_create_display_inet
505 #define x11_input_open ssh_x11_input_open
506 #define x11_request_forwarding_with_spoofing ssh_x11_request_forwarding_with_spoofing
507 #define clear_cached_addr ssh_clear_cached_addr
508 #define get_canonical_hostname ssh_get_canonical_hostname
509 #define get_local_ipaddr ssh_get_local_ipaddr
510 #define get_local_name ssh_get_local_name
511 #define get_local_port ssh_get_local_port
512 #define get_peer_ipaddr ssh_get_peer_ipaddr
513 #define get_peer_port ssh_get_peer_port
514 #define get_remote_ipaddr ssh_get_remote_ipaddr
515 #define get_remote_name_or_ip ssh_get_remote_name_or_ip
516 #define get_remote_port ssh_get_remote_port
517 #define get_sock_port ssh_get_sock_port
518 #define ipv64_normalise_mapped ssh_ipv64_normalise_mapped
519 #define buffer_append ssh_buffer_append
520 #define buffer_append_space ssh_buffer_append_space
521 #define buffer_check_alloc ssh_buffer_check_alloc
522 #define buffer_consume ssh_buffer_consume
523 #define buffer_consume_end ssh_buffer_consume_end
524 #define buffer_consume_end_ret ssh_buffer_consume_end_ret
525 #define buffer_consume_ret ssh_buffer_consume_ret
526 #define buffer_get ssh_buffer_get
527 #define buffer_get_ret ssh_buffer_get_ret
528 #define buffer_get_char ssh_buffer_get_char
529 #define buffer_get_char_ret ssh_buffer_get_char_ret
530 #define buffer_get_cstring ssh_buffer_get_cstring
531 #define buffer_get_cstring_ret ssh_buffer_get_cstring_ret
532 #define buffer_get_int ssh_buffer_get_int
533 #define buffer_get_int64 ssh_buffer_get_int64
534 #define buffer_get_int64_ret ssh_buffer_get_int64_ret
535 #define buffer_get_int_ret ssh_buffer_get_int_ret
536 #define buffer_get_short ssh_buffer_get_short
537 #define buffer_get_short_ret ssh_buffer_get_short_ret
538 #define buffer_get_string ssh_buffer_get_string
539 #define buffer_get_string_ptr ssh_buffer_get_string_ptr
540 #define buffer_get_string_ptr_ret ssh_buffer_get_string_ptr_ret
541 #define buffer_get_string_ret ssh_buffer_get_string_ret
542 #define buffer_put_bignum2_from_string ssh_buffer_put_bignum2_from_string
543 #define buffer_put_char ssh_buffer_put_char
544 #define buffer_put_cstring ssh_buffer_put_cstring
545 #define buffer_put_int ssh_buffer_put_int
546 #define buffer_put_int64 ssh_buffer_put_int64
547 #define buffer_put_short ssh_buffer_put_short
548 #define buffer_put_string ssh_buffer_put_string
549 #define sshbuf_froms ssh_sshbuf_froms
550 #define sshbuf_get ssh_sshbuf_get
551 #define sshbuf_get_cstring ssh_sshbuf_get_cstring
552 #define sshbuf_get_string ssh_sshbuf_get_string
553 #define sshbuf_get_string_direct ssh_sshbuf_get_string_direct
554 #define sshbuf_get_stringb ssh_sshbuf_get_stringb
555 #define sshbuf_get_u16 ssh_sshbuf_get_u16
556 #define sshbuf_get_u32 ssh_sshbuf_get_u32
557 #define sshbuf_get_u64 ssh_sshbuf_get_u64
558 #define sshbuf_get_u8 ssh_sshbuf_get_u8
559 #define sshbuf_peek_string_direct ssh_sshbuf_peek_string_direct
560 #define sshbuf_put ssh_sshbuf_put
561 #define sshbuf_put_bignum2_bytes ssh_sshbuf_put_bignum2_bytes
562 #define sshbuf_put_cstring ssh_sshbuf_put_cstring
563 #define sshbuf_put_string ssh_sshbuf_put_string
564 #define sshbuf_put_stringb ssh_sshbuf_put_stringb
565 #define sshbuf_put_u16 ssh_sshbuf_put_u16
566 #define sshbuf_put_u32 ssh_sshbuf_put_u32
567 #define sshbuf_put_u64 ssh_sshbuf_put_u64
568 #define sshbuf_put_u8 ssh_sshbuf_put_u8
569 #define sshbuf_putb ssh_sshbuf_putb
570 #define sshbuf_putf ssh_sshbuf_putf
571 #define sshbuf_putfv ssh_sshbuf_putfv
572 #define sshbuf_alloc ssh_sshbuf_alloc
573 #define sshbuf_avail ssh_sshbuf_avail
574 #define sshbuf_check_reserve ssh_sshbuf_check_reserve
575 #define sshbuf_consume ssh_sshbuf_consume
576 #define sshbuf_consume_end ssh_sshbuf_consume_end
577 #define sshbuf_free ssh_sshbuf_free
578 #define sshbuf_from ssh_sshbuf_from
579 #define sshbuf_fromb ssh_sshbuf_fromb
580 #define sshbuf_init ssh_sshbuf_init
581 #define sshbuf_len ssh_sshbuf_len
582 #define sshbuf_max_size ssh_sshbuf_max_size
583 #define sshbuf_mutable_ptr ssh_sshbuf_mutable_ptr
584 #define sshbuf_new ssh_sshbuf_new
585 #define sshbuf_parent ssh_sshbuf_parent
586 #define sshbuf_ptr ssh_sshbuf_ptr
587 #define sshbuf_refcount ssh_sshbuf_refcount
588 #define sshbuf_reserve ssh_sshbuf_reserve
589 #define sshbuf_reset ssh_sshbuf_reset
590 #define sshbuf_set_max_size ssh_sshbuf_set_max_size
591 #define sshbuf_set_parent ssh_sshbuf_set_parent
592 #define timingsafe_bcmp ssh_timingsafe_bcmp
593 #define mysignal ssh_mysignal
594 #define a2port ssh_a2port
595 #define a2tun ssh_a2tun
596 #define addargs ssh_addargs
597 #define bandwidth_limit ssh_bandwidth_limit
598 #define bandwidth_limit_init ssh_bandwidth_limit_init
599 #define chop ssh_chop
600 #define cleanhostname ssh_cleanhostname
601 #define colon ssh_colon
602 #define convtime ssh_convtime
603 #define freeargs ssh_freeargs
604 #define get_u16 ssh_get_u16
605 #define get_u32 ssh_get_u32
606 #define get_u32_le ssh_get_u32_le
607 #define get_u64 ssh_get_u64
608 #define hpdelim ssh_hpdelim
609 #define iptos2str ssh_iptos2str
610 #define lowercase ssh_lowercase
611 #define mktemp_proto ssh_mktemp_proto
612 #define monotime ssh_monotime
613 #define ms_subtract_diff ssh_ms_subtract_diff
614 #define ms_to_timeval ssh_ms_to_timeval
615 #define parse_ipqos ssh_parse_ipqos
616 #define percent_expand ssh_percent_expand
617 #define put_host_port ssh_put_host_port
618 #define put_u16 ssh_put_u16
619 #define put_u32 ssh_put_u32
620 #define put_u32_le ssh_put_u32_le
621 #define put_u64 ssh_put_u64
622 #define pwcopy ssh_pwcopy
623 #define read_keyfile_line ssh_read_keyfile_line
624 #define replacearg ssh_replacearg
625 #define sanitise_stdfd ssh_sanitise_stdfd
626 #define set_nodelay ssh_set_nodelay
627 #define set_nonblock ssh_set_nonblock
628 #define sock_set_v6only ssh_sock_set_v6only
629 #define strdelim ssh_strdelim
630 #define tilde_expand_filename ssh_tilde_expand_filename
631 #define tohex ssh_tohex
632 #define tun_open ssh_tun_open
633 #define unix_listener ssh_unix_listener
634 #define unset_nonblock ssh_unset_nonblock
635 #define xasprintf ssh_xasprintf
636 #define xcalloc ssh_xcalloc
637 #define xmalloc ssh_xmalloc
638 #define xrealloc ssh_xrealloc
639 #define xstrdup ssh_xstrdup
640 #define fatal ssh_fatal
641 #define cleanup_exit ssh_cleanup_exit
642 #define sys_tun_open ssh_sys_tun_open
643 #define debug ssh_debug
644 #define debug2 ssh_debug2
645 #define debug3 ssh_debug3
646 #define do_log ssh_do_log
647 #define do_log2 ssh_do_log2
648 #define error ssh_error
649 #define log_change_level ssh_log_change_level
650 #define log_facility_name ssh_log_facility_name
651 #define log_facility_number ssh_log_facility_number
652 #define log_init ssh_log_init
653 #define log_is_on_stderr ssh_log_is_on_stderr
654 #define log_level_name ssh_log_level_name
655 #define log_level_number ssh_log_level_number
656 #define log_redirect_stderr_to ssh_log_redirect_stderr_to
657 #define logit ssh_logit
658 #define set_log_handler ssh_set_log_handler
659 #define sigdie ssh_sigdie
660 #define verbose ssh_verbose