1.2 All declarations
- struct assh_algo_cipher_s
- enum assh_algo_class_e
- struct assh_algo_compress_s
- typedef [...] assh_algo_id_t
- struct assh_algo_kex_s
- struct assh_algo_mac_s
- struct assh_algo_name_s
- struct assh_algo_s
- enum assh_algo_safety_e
- struct assh_algo_sign_s
- enum assh_algo_spec_e
- typedef assh_status_t (assh_allocator_t)(void *alloc_pv, void **ptr, size_t size, enum assh_alloc_type_e type)
- enum assh_bignum_bool_op
- typedef assh_status_t (assh_blob_scan_fcn_t)(struct assh_context_s *c, const uint8_t *content, size_t len, void *pv, uintptr_t *result)
- typedef assh_status_t (assh_blob_write_fcn_t)(uint8_t *content, size_t *len, void *pv, void *value)
- typedef [...] assh_bool_t
- struct assh_buffer_s
- struct assh_cbuffer_s
- enum assh_channel_open_reason_e
- struct assh_channel_s
- enum assh_channel_state_e
- enum assh_connection_reply_e
- struct assh_context_s
- enum assh_context_type_e
- struct assh_event_channel_abort_s
- struct assh_event_channel_close_s
- struct assh_event_channel_confirmation_s
- struct assh_event_channel_data_s
- struct assh_event_channel_eof_s
- struct assh_event_channel_failure_s
- struct assh_event_channel_open_s
- struct assh_event_channel_window_s
- union assh_event_connection_u
- enum assh_event_id_e
- struct assh_event_kex_done_s
- struct assh_event_kex_hostkey_lookup_s
- union assh_event_kex_u
- struct assh_event_request_abort_s
- struct assh_event_request_failure_s
- struct assh_event_request_s
- struct assh_event_request_success_s
- struct assh_event_s
- struct assh_event_service_start_s
- union assh_event_service_u
- struct assh_event_session_error_s
- union assh_event_session_u
- struct assh_event_transport_debug_s
- struct assh_event_transport_disconnect_s
- struct assh_event_transport_read_s
- union assh_event_transport_u
- struct assh_event_transport_write_s
- struct assh_event_userauth_client_banner_s
- struct assh_event_userauth_client_keyboard_s
- struct assh_event_userauth_client_methods_s
- struct assh_event_userauth_client_pwchange_s
- struct assh_event_userauth_client_sign_s
- union assh_event_userauth_client_u
- struct assh_event_userauth_client_user_s
- struct assh_event_userauth_server_hostbased_s
- struct assh_event_userauth_server_kbinfo_s
- struct assh_event_userauth_server_kbresponse_s
- enum assh_event_userauth_server_kbstatus_e
- struct assh_event_userauth_server_methods_s
- struct assh_event_userauth_server_none_s
- struct assh_event_userauth_server_password_s
- enum assh_event_userauth_server_pwstatus_s
- struct assh_event_userauth_server_success_s
- union assh_event_userauth_server_u
- struct assh_event_userauth_server_userkey_s
- typedef assh_bool_t (assh_kex_filter_t)(struct assh_session_s *s, const struct assh_algo_s *algo, const struct assh_algo_name_s *name, assh_bool_t out)
- struct assh_kex_keys_s
- struct assh_key_algo_s
- struct assh_key_format_desc_s
- enum assh_key_format_e
- struct assh_key_s
- enum assh_key_validate_result_e
- enum assh_prng_quality_e
- struct assh_prng_s
- enum assh_request_reason_e
- struct assh_request_s
- enum assh_request_state_e
- typedef [...] assh_safety_t
- struct assh_service_s
- struct assh_session_s
- enum assh_severity_e
- typedef [...] assh_speed_t
- enum assh_ssh_disconnect_e
- enum assh_ssh_msg_e
- enum assh_status_e
- typedef [...] assh_status_t
- typedef [...] assh_time_t
- enum assh_userauth_methods_e
- struct asshh_client_inter_session_s
- enum asshh_client_inter_session_state_e
- struct asshh_client_user_key_s
- enum asshh_fingerprint_fmt_e
- struct asshh_inter_env_s
- struct asshh_inter_exec_s
- struct asshh_inter_exit_signal_s
- struct asshh_inter_exit_status_s
- struct asshh_inter_pty_req_s
- struct asshh_inter_signal_s
- struct asshh_inter_subsystem_s
- struct asshh_inter_window_change_s
- struct asshh_inter_x11_req_s
- struct asshh_inter_x11_s
- struct asshh_inter_xon_xoff_s
- struct asshh_portfwd_cancel_tcpip_forward_s
- struct asshh_portfwd_direct_tcpip_s
- struct asshh_portfwd_forwarded_tcpip_s
- struct asshh_portfwd_tcpip_forward_reply_s
- struct asshh_portfwd_tcpip_forward_s
- typedef assh_bool_t (assh_algo_suitable_key_t)(struct assh_context_s *c, const struct assh_algo_with_key_s *awk, const struct assh_key_s *key)
- struct assh_algo_with_key_s
- enum assh_alloc_type_e
- enum assh_bignum_fmt_e
- typedef [...] assh_bignum_op_t
- enum assh_bignum_opcode_e
- struct assh_bignum_s
- typedef void (assh_cipher_cleanup_t)(struct assh_context_s *c, void *ctx_)
- typedef assh_status_t (assh_cipher_init_t)(struct assh_context_s *c, void *ctx_, const uint8_t *key, const uint8_t *iv, assh_bool_t encrypt)
- enum assh_cipher_op_e
- typedef assh_status_t (assh_cipher_process_t)(void *ctx_, uint8_t *data, size_t len, enum assh_cipher_op_e op, uint32_t seq)
- typedef void (assh_compress_cleanup_t)(struct assh_context_s *c, void *ctx_)
- typedef assh_status_t (assh_compress_init_t)(struct assh_context_s *c, void *ctx_, assh_bool_t compress)
- typedef assh_status_t (assh_compress_process_t)(struct assh_context_s *c, void *ctx_, struct assh_packet_s **p_, assh_bool_t auth_done)
- typedef assh_status_t (assh_event_done_t)(struct assh_session_s *s, const struct assh_event_s *e, enum assh_status_e inerr)
- struct assh_hash_algo_s
- typedef void (assh_hash_cleanup_t)(struct assh_hash_ctx_s *hctx)
- typedef assh_status_t (assh_hash_copy_t)(struct assh_hash_ctx_s *hctx_dst, const struct assh_hash_ctx_s *hctx_src)
- struct assh_hash_ctx_s
- typedef void (assh_hash_final_t)(struct assh_hash_ctx_s *hctx, uint8_t *hash, size_t len)
- typedef assh_status_t (assh_hash_init_t)(struct assh_context_s *c, struct assh_hash_ctx_s *hctx, const struct assh_hash_algo_s *algo)
- typedef void (assh_hash_update_t)(struct assh_hash_ctx_s *hctx, const void *data, size_t len)
- typedef void (assh_kex_cleanup_t)(struct assh_session_s *s)
- typedef assh_status_t (assh_kex_init_t)(struct assh_session_s *s, size_t cipher_key_size)
- typedef assh_status_t (assh_kex_process_t)(struct assh_session_s *s, struct assh_packet_s *p, struct assh_event_s *e)
- typedef void (assh_key_cleanup_t)(struct assh_context_s *c, struct assh_key_s *key)
- typedef assh_bool_t (assh_key_cmp_t)(struct assh_context_s *c, const struct assh_key_s *key, const struct assh_key_s *b, assh_bool_t pub)
- typedef assh_status_t (assh_key_create_t)(struct assh_context_s *c, const struct assh_key_algo_s *algo, size_t bits, struct assh_key_s **key)
- typedef assh_status_t (assh_key_load_t)(struct assh_context_s *c, const struct assh_key_algo_s *algo, const uint8_t **blob_, size_t blob_len, struct assh_key_s **key, enum assh_key_format_e format)
- typedef assh_status_t (assh_key_output_t)(struct assh_context_s *c, const struct assh_key_s *key, uint8_t *blob, size_t *blob_len, enum assh_key_format_e format)
- typedef assh_status_t (assh_key_validate_t)(struct assh_context_s *c, const struct assh_key_s *key, enum assh_key_validate_result_e *result)
- typedef void (assh_mac_cleanup_t)(struct assh_context_s *c, void *ctx_)
- typedef assh_status_t (assh_mac_init_t)(struct assh_context_s *c, void *ctx_, const uint8_t *key, assh_bool_t generate)
- typedef assh_status_t (assh_mac_process_t)(void *ctx_, const uint8_t *data, size_t len, uint8_t *mac, uint32_t seq)
- struct assh_map_entry_s
- typedef [...] assh_map_id_t
- struct assh_packet_head_s
- struct assh_packet_pool_s
- struct assh_packet_s
- enum assh_padding_policy_e
- typedef void (assh_prng_cleanup_t)(struct assh_context_s *c)
- typedef assh_status_t (assh_prng_get_t)(struct assh_context_s *c, uint8_t *rdata, size_t rdata_len, uint_fast8_t quality)
- typedef assh_status_t (assh_prng_init_t)(struct assh_context_s *c, const struct assh_buffer_s *seed)
- struct assh_queue_entry_s
- struct assh_queue_s
- struct assh_safeprimes_s
- typedef void (assh_service_cleanup_t)(struct assh_session_s *s)
- typedef assh_status_t (assh_service_init_t)(struct assh_session_s *s)
- typedef assh_status_t (assh_service_process_t)(struct assh_session_s *s, struct assh_packet_s *p, struct assh_event_s *e)
- enum assh_service_state_e
- typedef assh_status_t (assh_sign_check_t)(struct assh_context_s *c, const struct assh_key_s *key, size_t data_count, const struct assh_cbuffer_s data[], const uint8_t *sign, size_t sign_len, assh_safety_t *safety)
- typedef assh_status_t (assh_sign_generate_t)(struct assh_context_s *c, const struct assh_key_s *key, size_t data_count, const struct assh_cbuffer_s data[], uint8_t *sign, size_t *sign_len)
- enum assh_ssh_msg_ranges_e
- enum assh_stream_in_state_e
- enum assh_stream_out_state_e
- enum assh_transport_state_e
- assh_status_t assh_algo_by_key(struct assh_context_s *c, const struct assh_key_s *key, assh_algo_id_t *pos, const struct assh_algo_with_key_s **awk)
- assh_status_t assh_algo_by_name(struct assh_context_s *c, enum assh_algo_class_e class_, const char *name, size_t name_len, const struct assh_algo_s **algo, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_by_name_static(const struct assh_algo_s **table, enum assh_algo_class_e class_, const char *name, size_t name_len, const struct assh_algo_s **algo, const struct assh_algo_name_s **namep)
- const struct assh_algo_cipher_s * assh_algo_cipher(const struct assh_algo_s *algo)
- assh_status_t assh_algo_cipher_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_cipher_s **ca, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_cipher_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_cipher_s **ca, const struct assh_algo_name_s **namep)
- const struct assh_algo_compress_s * assh_algo_compress(const struct assh_algo_s *algo)
- assh_status_t assh_algo_compress_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_compress_s **cpa, const struct assh_algo_name_s **namep)
- const char * assh_algo_implem(const struct assh_algo_s *algo)
- const struct assh_algo_kex_s * assh_algo_kex(const struct assh_algo_s *algo)
- assh_status_t assh_algo_kex_by_key(struct assh_context_s *c, const struct assh_key_s *key, assh_algo_id_t *pos, const struct assh_algo_kex_s **ka)
- assh_status_t assh_algo_kex_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_kex_s **ka, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_kex_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_kex_s **ka, const struct assh_algo_name_s **namep)
- const struct assh_algo_mac_s * assh_algo_mac(const struct assh_algo_s *algo)
- assh_status_t assh_algo_mac_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_mac_s **ma, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_mac_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_mac_s **ma, const struct assh_algo_name_s **namep)
- const char * assh_algo_name(const struct assh_algo_s *algo)
- assh_status_t assh_algo_register(struct assh_context_s *c, assh_safety_t min_safety, const struct assh_algo_s *table[])
- assh_status_t assh_algo_register_default(struct assh_context_s *c, assh_safety_t min_safety)
- assh_status_t assh_algo_register_names_va(struct assh_context_s *c, assh_safety_t min_safety, enum assh_algo_class_e class_, ...)
- assh_status_t assh_algo_register_static(struct assh_context_s *c, const struct assh_algo_s *table[])
- assh_status_t assh_algo_register_va(struct assh_context_s *c, assh_safety_t min_safety, ...)
- const struct assh_algo_s * assh_algo_registered(struct assh_context_s *c, assh_algo_id_t i)
- assh_safety_t assh_algo_safety(const struct assh_algo_s *algo)
- const char * assh_algo_safety_name(const struct assh_algo_s *algo)
- const struct assh_algo_sign_s * assh_algo_sign(const struct assh_algo_s *algo)
- assh_status_t assh_algo_sign_by_key(struct assh_context_s *c, const struct assh_key_s *key, assh_algo_id_t *pos, const struct assh_algo_sign_s **sa)
- assh_status_t assh_algo_sign_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_sign_s **sa, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_sign_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_sign_s **sa, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_unregister(struct assh_context_s *c)
- const char * assh_algo_variant(const struct assh_algo_s *algo)
- const struct assh_algo_with_key_s * assh_algo_with_key(const struct assh_algo_s *algo)
- assh_status_t assh_blob_scan(struct assh_context_s *c, const char *format, const uint8_t **blob, size_t *blob_len, ...)
- assh_status_t assh_blob_scan_va(struct assh_context_s *c, const char *format, const uint8_t **blob, size_t *blob_len, va_list ap)
- assh_status_t assh_blob_write(const char *format, uint8_t *blob, size_t *blob_len, ...)
- assh_status_t assh_blob_write_va(const char *format, uint8_t *blob, size_t *blob_len, va_list ap)
- uint_fast8_t assh_buffer_strcmp(const struct assh_cbuffer_s *buf, const char *nul_str)
- void assh_buffer_strcpy(struct assh_buffer_s *buf, const char *nul_str)
- char * assh_buffer_strdup(const struct assh_cbuffer_s *buf)
- void assh_buffer_strset(struct assh_cbuffer_s *buf, const char *nul_str)
- const char * assh_buffer_tostr(char *str, size_t len, const struct assh_cbuffer_s *buf)
- const struct assh_cbuffer_s * assh_cbuffer(const struct assh_buffer_s *b)
- assh_status_t assh_channel_close(struct assh_channel_s *ch)
- assh_status_t assh_channel_data(struct assh_channel_s *ch, const uint8_t *data, size_t *size)
- assh_status_t assh_channel_data_alloc(struct assh_channel_s *ch, uint8_t **data, size_t *size, size_t min_size)
- assh_status_t assh_channel_data_alloc_ext(struct assh_channel_s *ch, uint32_t ext_type, uint8_t **data, size_t *size, size_t min_size)
- assh_status_t assh_channel_data_ext(struct assh_channel_s *ch, uint32_t ext_type, const uint8_t *data, size_t *size)
- assh_status_t assh_channel_data_send(struct assh_channel_s *ch, size_t size)
- assh_status_t assh_channel_dummy(struct assh_channel_s *ch, size_t size)
- assh_status_t assh_channel_eof(struct assh_channel_s *ch)
- void assh_channel_get_pkt_size(const struct assh_channel_s *ch, uint32_t *local, uint32_t *remote)
- void assh_channel_get_win_size(const struct assh_channel_s *ch, uint32_t *local, uint32_t *remote)
- struct assh_channel_s * assh_channel_more_data(struct assh_session_s *s)
- assh_status_t assh_channel_open(struct assh_session_s *s, const char *type, size_t type_len, const uint8_t *data, size_t data_len, int32_t pkt_size, int32_t win_size, struct assh_channel_s **ch)
- assh_status_t assh_channel_open_failed_reply(struct assh_channel_s *ch, enum assh_channel_open_reason_e reason)
- assh_status_t assh_channel_open_success_reply(struct assh_channel_s *ch, const uint8_t *rsp_data, size_t rsp_data_len)
- assh_status_t assh_channel_open_success_reply2(struct assh_channel_s *ch, int32_t pkt_size, int32_t win_size, const uint8_t *rsp_data, size_t rsp_data_len)
- void * assh_channel_pv(const struct assh_channel_s *ch)
- uintptr_t assh_channel_pvi(const struct assh_channel_s *ch)
- struct assh_session_s * assh_channel_session(const struct assh_channel_s *ch)
- void assh_channel_set_pv(struct assh_channel_s *ch, void *pv)
- void assh_channel_set_pvi(struct assh_channel_s *ch, uintptr_t pv)
- enum assh_channel_state_e assh_channel_state(const struct assh_channel_s *ch)
- assh_status_t assh_channel_window_adjust(struct assh_channel_s *ch, size_t add)
- size_t assh_channel_window_size(struct assh_channel_s *ch)
- void assh_clear(void *data, size_t len)
- void assh_context_cleanup(struct assh_context_s *ctx)
- assh_status_t assh_context_create(struct assh_context_s **ctx, enum assh_context_type_e type, assh_allocator_t *alloc, void *alloc_pv, const struct assh_prng_s *prng, const struct assh_buffer_s *prng_seed)
- void * assh_context_get_pv(const struct assh_context_s *ctx)
- assh_status_t assh_context_init(struct assh_context_s *ctx, enum assh_context_type_e type, assh_allocator_t *alloc, void *alloc_pv, const struct assh_prng_s *prng, const struct assh_buffer_s *prng_seed)
- struct assh_key_s ** assh_context_keys(struct assh_context_s *ctx)
- size_t assh_context_refcount(const struct assh_context_s *ctx)
- void assh_context_release(struct assh_context_s *ctx)
- void assh_context_set_keepalive(struct assh_context_s *c, uint_fast16_t keepalive)
- void assh_context_set_pv(struct assh_context_s *ctx, void *private)
- void assh_context_set_timeouts(struct assh_context_s *c, uint_fast8_t transport, uint_fast8_t kex, uint_fast16_t rekex, uint_fast16_t userauth)
- assh_allocator_t * assh_default_alloc(void )
- const struct assh_prng_s * assh_default_prng(void )
- assh_status_t assh_deps_init(void )
- const char * assh_error_str(assh_status_t err)
- void assh_event_done(struct assh_session_s *s, struct assh_event_s *e, enum assh_status_e err)
- assh_bool_t assh_event_get(struct assh_session_s *s, struct assh_event_s *e, assh_time_t time)
- assh_status_t assh_gcrypt_allocator(void *alloc_pv, void **ptr, size_t size, enum assh_alloc_type_e type)
- assh_status_t assh_kex_set_order(struct assh_context_s *c, uint_fast8_t safety_weight)
- assh_status_t assh_kex_set_threshold(struct assh_session_s *s, uint32_t bytes)
- const struct assh_key_algo_s * assh_key_algo(const struct assh_key_s *key)
- assh_status_t assh_key_algo_by_name(const struct assh_context_s *c, enum assh_algo_class_e cl, const char *name, size_t name_len, const struct assh_key_algo_s **algo)
- assh_status_t assh_key_algo_enumerate_implems(struct assh_context_s *c, enum assh_algo_class_e cl, size_t *count, const struct assh_key_algo_s **table)
- assh_status_t assh_key_algo_enumerate_names(struct assh_context_s *c, enum assh_algo_class_e cl, size_t *count, const struct assh_key_algo_s **table)
- const enum assh_key_format_e * assh_key_algo_formats(const struct assh_key_algo_s *kya)
- const char * assh_key_algo_implem(const struct assh_key_algo_s *kya)
- const char * assh_key_algo_name(const struct assh_key_algo_s *kya)
- size_t assh_key_bits(struct assh_key_s *key)
- assh_bool_t assh_key_cmp(struct assh_context_s *c, const struct assh_key_s *key, const struct assh_key_s *b, assh_bool_t pub)
- assh_status_t assh_key_create(struct assh_context_s *c, struct assh_key_s **key, size_t bits, const struct assh_key_algo_s *algo, enum assh_algo_class_e role)
- void assh_key_drop(struct assh_context_s *c, struct assh_key_s **head)
- void assh_key_flush(struct assh_context_s *c, struct assh_key_s **head)
- const struct assh_key_format_desc_s * assh_key_format_desc(enum assh_key_format_e fmt)
- const char * assh_key_get_comment(const struct assh_key_s *key)
- void assh_key_insert(struct assh_key_s **head, struct assh_key_s *key)
- assh_status_t assh_key_load(struct assh_context_s *c, struct assh_key_s **key, const struct assh_key_algo_s *algo, enum assh_algo_class_e role, enum assh_key_format_e format, const uint8_t **blob, size_t blob_len)
- assh_status_t assh_key_lookup(struct assh_context_s *c, struct assh_key_s **key, assh_bool_t private, const struct assh_algo_with_key_s *awk)
- assh_status_t assh_key_output(struct assh_context_s *c, const struct assh_key_s *key, uint8_t *blob, size_t *blob_len, enum assh_key_format_e format)
- assh_bool_t assh_key_private(const struct assh_key_s *key)
- void assh_key_refinc(struct assh_key_s *key)
- assh_safety_t assh_key_safety(struct assh_key_s *key)
- const char * assh_key_safety_name(struct assh_key_s *key)
- assh_status_t assh_key_set_comment(struct assh_context_s *c, struct assh_key_s *key, const char *comment)
- const char * assh_key_type_name(struct assh_key_s *key)
- assh_status_t assh_key_validate(struct assh_context_s *c, const struct assh_key_s *key, enum assh_key_validate_result_e *result)
- assh_status_t assh_libc_allocator(void *alloc_pv, void **ptr, size_t size, enum assh_alloc_type_e type)
- uint32_t assh_load_u32(const uint8_t *s)
- uint32_t assh_load_u32le(const uint8_t *s)
- uint64_t assh_load_u64(const uint8_t *s)
- uint64_t assh_load_u64le(const uint8_t *s)
- struct assh_map_entry_s * assh_map_insert(struct assh_map_entry_s **root, struct assh_map_entry_s *item)
- void assh_map_iter(struct assh_map_entry_s *root, void *ctx, void (*iter)(struct ::assh_map_entry_s *,void *) )
- struct assh_map_entry_s * assh_map_lookup(struct assh_map_entry_s **root, assh_map_id_t id, struct assh_map_entry_s ***parent)
- void assh_map_remove(struct assh_map_entry_s **parent, struct assh_map_entry_s *item)
- assh_status_t assh_map_remove_id(struct assh_map_entry_s **root, assh_map_id_t id)
- uint8_t assh_memcmp(const uint8_t *nula, const uint8_t *nulb, size_t len)
- assh_status_t assh_openssl_allocator(void *alloc_pv, void **ptr, size_t size, enum assh_alloc_type_e type)
- void assh_packet_collect(struct assh_context_s *c)
- assh_status_t assh_prng_get(struct assh_context_s *c, uint8_t *rdata, size_t rdata_len, enum assh_prng_quality_e quality)
- assh_status_t assh_request(struct assh_session_s *s, struct assh_channel_s *ch, const char *type, size_t type_len, const uint8_t *data, size_t data_len, struct assh_request_s **rq)
- struct assh_channel_s * assh_request_channel(const struct assh_request_s *rq)
- assh_status_t assh_request_failed_reply(struct assh_request_s *rq)
- void * assh_request_pv(const struct assh_request_s *rq)
- uintptr_t assh_request_pvi(const struct assh_request_s *rq)
- struct assh_session_s * assh_request_session(const struct assh_request_s *rq)
- void assh_request_set_pv(struct assh_request_s *rq, void *pv)
- void assh_request_set_pvi(struct assh_request_s *rq, uintptr_t pv)
- enum assh_request_state_e assh_request_state(struct assh_request_s *rq)
- assh_status_t assh_request_success_reply(struct assh_request_s *rq, const uint8_t *rsp_data, size_t rsp_data_len)
- const char * assh_safety_name(assh_safety_t safety)
- assh_status_t assh_service_by_name(struct assh_context_s *c, size_t name_len, const char *name, const struct assh_service_s **srv_)
- assh_status_t assh_service_register(struct assh_context_s *c, struct assh_service_s *srv)
- assh_status_t assh_service_register_default(struct assh_context_s *c)
- assh_status_t assh_service_register_va(struct assh_context_s *c, ...)
- assh_status_t assh_session_algo_filter(struct assh_session_s *s, assh_kex_filter_t *filter)
- void assh_session_cleanup(struct assh_session_s *s)
- assh_bool_t assh_session_closed(const struct assh_session_s *s)
- struct assh_context_s * assh_session_context(struct assh_session_s *s)
- assh_status_t assh_session_create(struct assh_context_s *c, struct assh_session_s **s)
- assh_time_t assh_session_deadline(const struct assh_session_s *s)
- assh_time_t assh_session_delay(const struct assh_session_s *s, assh_time_t time)
- assh_status_t assh_session_disconnect(struct assh_session_s *s, enum assh_ssh_disconnect_e reason, const char *desc)
- void * assh_session_get_pv(const struct assh_session_s *ctx)
- assh_status_t assh_session_init(struct assh_context_s *c, struct assh_session_s *s)
- void assh_session_release(struct assh_session_s *s)
- assh_safety_t assh_session_safety(const struct assh_session_s *s)
- void assh_session_set_pv(struct assh_session_s *ctx, void *private)
- void assh_session_userauth_done(struct assh_session_s *s)
- void assh_store_u32(uint8_t *s, uint32_t x)
- void assh_store_u32le(uint8_t *s, uint32_t x)
- void assh_store_u64(uint8_t *s, uint64_t x)
- void assh_store_u64le(uint8_t *s, uint64_t x)
- uint_fast8_t assh_string_strcmp(const char *str, size_t str_len, const char *nul_str)
- uint32_t assh_swap_u32(uint32_t x)
- assh_status_t assh_transport_debug(struct assh_session_s *s, assh_bool_t display, const char *msg, const char *lang)
- assh_bool_t assh_transport_has_output(struct assh_session_s *s)
- assh_status_t asshh_client_add_known_hosts(struct assh_context_s *c, const char *filename, const char *host, const struct assh_key_s *key)
- void asshh_client_event_auth(struct assh_session_s *s, FILE *out, FILE *in, const char *user, const char *host, enum assh_userauth_methods_e *methods, const struct asshh_client_user_key_s *key_files, struct assh_event_s *event)
- void asshh_client_event_hk_add(struct assh_session_s *s, const char *host, struct assh_event_s *event)
- void asshh_client_event_hk_lookup(struct assh_session_s *s, FILE *out, FILE *in, const char *host, struct assh_event_s *event)
- void asshh_client_event_hk_lookup_va(struct assh_session_s *s, FILE *out, FILE *in, const char *host, struct assh_event_s *event, ...)
- void asshh_client_event_inter_session(struct assh_session_s *s, struct assh_event_s *event, struct asshh_client_inter_session_s *state)
- assh_status_t asshh_client_get_known_hosts(struct assh_context_s *c, struct assh_key_s **keys, const char *filename, const char *host)
- void asshh_client_init_inter_session(struct asshh_client_inter_session_s *state, const char *command, const char *term)
- size_t asshh_fd_event(struct assh_session_s *s, struct assh_event_s *e, int fd)
- assh_status_t asshh_fd_get_password(struct assh_context_s *c, const char **pass, size_t max_len, int fd, assh_bool_t echo)
- assh_status_t asshh_hostkey_load_file(struct assh_context_s *c, const char *key_algo, enum assh_algo_class_e role, FILE *file, enum assh_key_format_e format, size_t size_hint)
- assh_status_t asshh_hostkey_load_filename(struct assh_context_s *c, const char *key_algo, enum assh_algo_class_e role, const char *filename, enum assh_key_format_e format, size_t size_hint)
- assh_status_t asshh_inter_decode_env(struct asshh_inter_env_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_exec(struct asshh_inter_exec_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_exit_signal(struct asshh_inter_exit_signal_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_exit_status(struct asshh_inter_exit_status_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_pty_req(struct asshh_inter_pty_req_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_signal(struct asshh_inter_signal_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_subsystem(struct asshh_inter_subsystem_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_window_change(struct asshh_inter_window_change_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_x11(struct asshh_inter_x11_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_x11_req(struct asshh_inter_x11_req_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_decode_xon_xoff(struct asshh_inter_xon_xoff_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_inter_encode_env(uint8_t *data, size_t size, const struct asshh_inter_env_s *i)
- assh_status_t asshh_inter_encode_exec(uint8_t *data, size_t size, const struct asshh_inter_exec_s *i)
- assh_status_t asshh_inter_encode_exit_signal(uint8_t *data, size_t size, const struct asshh_inter_exit_signal_s *i)
- assh_status_t asshh_inter_encode_exit_status(uint8_t *data, size_t size, const struct asshh_inter_exit_status_s *i)
- assh_status_t asshh_inter_encode_pty_req(uint8_t *data, size_t size, const struct asshh_inter_pty_req_s *i)
- assh_status_t asshh_inter_encode_signal(uint8_t *data, size_t size, const struct asshh_inter_signal_s *i)
- assh_status_t asshh_inter_encode_subsystem(uint8_t *data, size_t size, const struct asshh_inter_subsystem_s *i)
- assh_status_t asshh_inter_encode_window_change(uint8_t *data, size_t size, const struct asshh_inter_window_change_s *i)
- assh_status_t asshh_inter_encode_x11(uint8_t *data, size_t size, const struct asshh_inter_x11_s *i)
- assh_status_t asshh_inter_encode_x11_req(uint8_t *data, size_t size, const struct asshh_inter_x11_req_s *i)
- assh_status_t asshh_inter_encode_xon_xoff(uint8_t *data, size_t size, const struct asshh_inter_xon_xoff_s *i)
- void asshh_inter_init_env(struct asshh_inter_env_s *i, const char *name, const char *value)
- void asshh_inter_init_exec(struct asshh_inter_exec_s *i, const char *command)
- void asshh_inter_init_exit_signal(struct asshh_inter_exit_signal_s *i, const char *sig_name, assh_bool_t core, const char *errmsg, const char *lang)
- void asshh_inter_init_exit_status(struct asshh_inter_exit_status_s *i, uint32_t status)
- void asshh_inter_init_pty_req(struct asshh_inter_pty_req_s *i, const char *termenv, uint32_t char_width, uint32_t char_height, uint32_t pix_width, uint32_t pix_height, const uint8_t *modes)
- void asshh_inter_init_signal(struct asshh_inter_signal_s *i, const char *sig_name)
- void asshh_inter_init_subsystem(struct asshh_inter_subsystem_s *i, const char *name)
- void asshh_inter_init_window_change(struct asshh_inter_window_change_s *i, uint32_t char_width, uint32_t char_height, uint32_t pix_width, uint32_t pix_height)
- void asshh_inter_init_x11(struct asshh_inter_x11_s *i, const char *orig_addr, uint32_t orig_port)
- void asshh_inter_init_x11_req(struct asshh_inter_x11_req_s *i, assh_bool_t single, const char *auth_protocol, const struct assh_cbuffer_s *auth_cookie, uint32_t screen)
- void asshh_inter_init_xon_xoff(struct asshh_inter_xon_xoff_s *i, assh_bool_t client_can_do)
- assh_status_t asshh_inter_open_session(struct assh_session_s *s, struct assh_channel_s **ch)
- assh_status_t asshh_inter_open_x11(struct assh_session_s *s, struct assh_channel_s **ch, const struct asshh_inter_x11_s *i)
- assh_status_t asshh_inter_send_env(struct assh_session_s *s, struct assh_channel_s *ch, struct assh_request_s **rq, const struct asshh_inter_env_s *i)
- assh_status_t asshh_inter_send_exec(struct assh_session_s *s, struct assh_channel_s *ch, struct assh_request_s **rq, const struct asshh_inter_exec_s *i)
- assh_status_t asshh_inter_send_exit_signal(struct assh_session_s *s, struct assh_channel_s *ch, const struct asshh_inter_exit_signal_s *i)
- assh_status_t asshh_inter_send_exit_status(struct assh_session_s *s, struct assh_channel_s *ch, const struct asshh_inter_exit_status_s *i)
- assh_status_t asshh_inter_send_pty_req(struct assh_session_s *s, struct assh_channel_s *ch, struct assh_request_s **rq, const struct asshh_inter_pty_req_s *i)
- assh_status_t asshh_inter_send_shell(struct assh_session_s *s, struct assh_channel_s *ch, struct assh_request_s **rq)
- assh_status_t asshh_inter_send_signal(struct assh_session_s *s, struct assh_channel_s *ch, const struct asshh_inter_signal_s *i)
- assh_status_t asshh_inter_send_subsystem(struct assh_session_s *s, struct assh_channel_s *ch, struct assh_request_s **rq, const struct asshh_inter_subsystem_s *i)
- assh_status_t asshh_inter_send_window_change(struct assh_session_s *s, struct assh_channel_s *ch, const struct asshh_inter_window_change_s *i)
- assh_status_t asshh_inter_send_x11_req(struct assh_session_s *s, struct assh_channel_s *ch, struct assh_request_s **rq, const struct asshh_inter_x11_req_s *i)
- assh_status_t asshh_inter_send_xon_xoff(struct assh_session_s *s, struct assh_channel_s *ch, const struct asshh_inter_xon_xoff_s *i)
- size_t asshh_inter_size_env(const struct asshh_inter_env_s *i)
- size_t asshh_inter_size_exec(const struct asshh_inter_exec_s *i)
- size_t asshh_inter_size_exit_signal(const struct asshh_inter_exit_signal_s *i)
- size_t asshh_inter_size_exit_status(const struct asshh_inter_exit_status_s *i)
- size_t asshh_inter_size_pty_req(const struct asshh_inter_pty_req_s *i)
- size_t asshh_inter_size_signal(const struct asshh_inter_signal_s *i)
- size_t asshh_inter_size_subsystem(const struct asshh_inter_subsystem_s *i)
- size_t asshh_inter_size_window_change(const struct asshh_inter_window_change_s *i)
- size_t asshh_inter_size_x11(const struct asshh_inter_x11_s *i)
- size_t asshh_inter_size_x11_req(const struct asshh_inter_x11_req_s *i)
- size_t asshh_inter_size_xon_xoff(const struct asshh_inter_xon_xoff_s *i)
- assh_status_t asshh_key_create(struct assh_context_s *c, struct assh_key_s **key, size_t bits, const char *key_algo, enum assh_algo_class_e role)
- assh_status_t asshh_key_fingerprint(struct assh_context_s *c, const struct assh_key_s *key, enum asshh_fingerprint_fmt_e fmt, char *buf, size_t *buf_size, const char **fmt_name)
- assh_status_t asshh_key_load(struct assh_context_s *c, struct assh_key_s **key, const char *key_algo, enum assh_algo_class_e role, enum assh_key_format_e format, const uint8_t **blob, size_t blob_len)
- assh_status_t asshh_key_load_file(struct assh_context_s *c, struct assh_key_s **head, const char *key_algo, enum assh_algo_class_e role, FILE *file, enum assh_key_format_e format, const char *passphrase, size_t size_hint)
- assh_status_t asshh_key_load_filename(struct assh_context_s *c, struct assh_key_s **head, const char *key_algo, enum assh_algo_class_e role, const char *filename, enum assh_key_format_e format, const char *passphrase, size_t size_hint)
- assh_status_t asshh_key_save_file(struct assh_context_s *c, const struct assh_key_s *head, FILE *file, enum assh_key_format_e format, const char *passphrase)
- assh_status_t asshh_key_save_filename(struct assh_context_s *c, const struct assh_key_s *head, const char *filename, enum assh_key_format_e format, const char *passphrase)
- assh_status_t asshh_portfwd_decode_cancel_tcpip_forward(struct asshh_portfwd_cancel_tcpip_forward_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_portfwd_decode_direct_tcpip(struct asshh_portfwd_direct_tcpip_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_portfwd_decode_forwarded_tcpip(struct asshh_portfwd_forwarded_tcpip_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_portfwd_decode_tcpip_forward(struct asshh_portfwd_tcpip_forward_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_portfwd_decode_tcpip_forward_reply(struct asshh_portfwd_tcpip_forward_reply_s *i, const uint8_t *data, size_t size)
- assh_status_t asshh_portfwd_encode_cancel_tcpip_forward(uint8_t *data, size_t size, const struct asshh_portfwd_cancel_tcpip_forward_s *i)
- assh_status_t asshh_portfwd_encode_direct_tcpip(uint8_t *data, size_t size, const struct asshh_portfwd_direct_tcpip_s *i)
- assh_status_t asshh_portfwd_encode_forwarded_tcpip(uint8_t *data, size_t size, const struct asshh_portfwd_forwarded_tcpip_s *i)
- assh_status_t asshh_portfwd_encode_tcpip_forward(uint8_t *data, size_t size, const struct asshh_portfwd_tcpip_forward_s *i)
- assh_status_t asshh_portfwd_encode_tcpip_forward_reply(uint8_t *data, size_t size, const struct asshh_portfwd_tcpip_forward_reply_s *i)
- void asshh_portfwd_init_cancel_tcpip_forward(struct asshh_portfwd_cancel_tcpip_forward_s *i, const char *addr, uint32_t port)
- void asshh_portfwd_init_direct_tcpip(struct asshh_portfwd_direct_tcpip_s *i, const char *conn_addr, uint32_t conn_port, const char *orig_addr, uint32_t orig_port)
- void asshh_portfwd_init_forwarded_tcpip(struct asshh_portfwd_forwarded_tcpip_s *i, const char *conn_addr, uint32_t conn_port, const char *orig_addr, uint32_t orig_port)
- void asshh_portfwd_init_tcpip_forward(struct asshh_portfwd_tcpip_forward_s *i, const char *addr, uint32_t port)
- void asshh_portfwd_init_tcpip_forward_reply(struct asshh_portfwd_tcpip_forward_reply_s *i, uint32_t port)
- assh_status_t asshh_portfwd_open_direct_tcpip(struct assh_session_s *s, struct assh_channel_s **ch, const struct asshh_portfwd_direct_tcpip_s *i)
- assh_status_t asshh_portfwd_open_forwarded_tcpip(struct assh_session_s *s, struct assh_channel_s **ch, const struct asshh_portfwd_forwarded_tcpip_s *i)
- assh_status_t asshh_portfwd_send_cancel_tcpip_forward(struct assh_session_s *s, struct assh_request_s **rq, const struct asshh_portfwd_cancel_tcpip_forward_s *i)
- assh_status_t asshh_portfwd_send_tcpip_forward(struct assh_session_s *s, struct assh_request_s **rq, const struct asshh_portfwd_tcpip_forward_s *i)
- size_t asshh_portfwd_size_cancel_tcpip_forward(const struct asshh_portfwd_cancel_tcpip_forward_s *i)
- size_t asshh_portfwd_size_direct_tcpip(const struct asshh_portfwd_direct_tcpip_s *i)
- size_t asshh_portfwd_size_forwarded_tcpip(const struct asshh_portfwd_forwarded_tcpip_s *i)
- size_t asshh_portfwd_size_tcpip_forward(const struct asshh_portfwd_tcpip_forward_s *i)
- size_t asshh_portfwd_size_tcpip_forward_reply(const struct asshh_portfwd_tcpip_forward_reply_s *i)
- void asshh_print_kex_details(struct assh_session_s *s, FILE *out, const struct assh_event_s *event)
- void asshh_print_string(FILE *out, const struct assh_cbuffer_s *str)
- assh_status_t asshh_server_ak_lookup(struct assh_session_s *s, const char *filename, const struct assh_key_s *key)
- assh_status_t asshh_server_event_auth(struct assh_session_s *s, struct assh_event_s *event)
- assh_status_t asshh_server_event_user_id(struct assh_session_s *s, uid_t *uid, gid_t *gid, struct assh_event_s *event)
- assh_status_t asshh_server_load_hk(struct assh_context_s *c)
- assh_status_t assh_algo_check_table(struct assh_context_s *c)
- assh_status_t assh_algo_compress_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_compress_s **cpa, const struct assh_algo_name_s **namep)
- void assh_algo_filter_variants(struct assh_context_s *c)
- void assh_algo_kex_init_size(struct assh_context_s *c)
- const struct assh_algo_name_s * assh_algo_name_match(const struct assh_algo_s *a, enum assh_algo_class_e class_, const char *name, size_t name_len)
- void assh_algo_sort(struct assh_context_s *c)
- assh_bool_t assh_algo_suitable_key(struct assh_context_s *c, const struct assh_algo_with_key_s *awk, const struct assh_key_s *key)
- assh_status_t assh_alloc(struct assh_context_s *c, size_t size, enum assh_alloc_type_e type, void **result)
- void assh_append_asn1(uint8_t **dst, uint8_t id, size_t len)
- size_t assh_asn1_headlen(size_t len)
- size_t assh_bignum_bits(const struct assh_bignum_s *bn)
- assh_status_t assh_bignum_bytecode(struct assh_context_s *c, uint8_t cond, const assh_bignum_op_t *ops, const char *format, ...)
- assh_status_t assh_bignum_bytecode_valist(struct assh_context_s *c, uint8_t cond, const assh_bignum_op_t *ops, const char *format, va_list ap)
- assh_status_t assh_bignum_convert(struct assh_context_s *c, enum assh_bignum_fmt_e src_fmt, enum assh_bignum_fmt_e dst_fmt, const void *src, void *dst, uint8_t **next, assh_bool_t dst_secret)
- void assh_bignum_init(struct assh_context_s *c, struct assh_bignum_s *bn, size_t bits)
- assh_bool_t assh_bignum_isempty(const struct assh_bignum_s *bn)
- void assh_bignum_release(struct assh_context_s *ctx, struct assh_bignum_s *bn)
- size_t assh_bignum_size_of_bits(enum assh_bignum_fmt_e dst_fmt, size_t bits)
- assh_status_t assh_bignum_size_of_data(enum assh_bignum_fmt_e fmt, const void *data, size_t *size, size_t *val_size, size_t *bits)
- size_t assh_bignum_size_of_num(enum assh_bignum_fmt_e dst_fmt, const struct assh_bignum_s *bn)
- const char ** assh_charptr_cast(char **p)
- assh_status_t assh_check_array(const uint8_t *buffer, size_t buffer_len, const uint8_t *array, size_t array_len, const uint8_t **next)
- assh_status_t assh_check_asn1(const uint8_t *buffer, size_t buffer_len, const uint8_t *str, const uint8_t **value, const uint8_t **next, uint8_t id)
- assh_status_t assh_check_string(const uint8_t *buffer, size_t buffer_len, const uint8_t *str, const uint8_t **next)
- uint_fast8_t assh_ct_clz16(uint16_t x)
- uint_fast8_t assh_ct_clz32(uint32_t x)
- uint_fast8_t assh_ct_clz64(uint64_t x)
- uint_fast8_t assh_ct_clz8(uint8_t x)
- uint_fast8_t assh_ct_ctz16(uint16_t x)
- uint_fast8_t assh_ct_ctz32(uint32_t x)
- uint_fast8_t assh_ct_ctz64(uint64_t x)
- uint_fast8_t assh_ct_ctz8(uint8_t x)
- uint_fast8_t assh_ct_popc16(uint16_t x)
- uint_fast8_t assh_ct_popc32(uint32_t x)
- uint_fast8_t assh_ct_popc64(uint64_t x)
- uint_fast8_t assh_ct_popc8(uint8_t x)
- void assh_free(struct assh_context_s *c, void *ptr)
- assh_status_t assh_hash_bignum(struct assh_context_s *ctx, struct assh_hash_ctx_s *hctx, const struct assh_bignum_s *bn)
- void assh_hash_bytes_as_string(struct assh_hash_ctx_s *hctx, const uint8_t *bytes, size_t len)
- void assh_hash_cleanup(struct assh_hash_ctx_s *hctx)
- assh_status_t assh_hash_copy(struct assh_hash_ctx_s *hctx_dst, struct assh_hash_ctx_s *hctx_src)
- void assh_hash_final(struct assh_hash_ctx_s *hctx, uint8_t *hash, size_t len)
- assh_status_t assh_hash_init(struct assh_context_s *c, struct assh_hash_ctx_s *hctx, const struct assh_hash_algo_s *algo)
- void assh_hash_payload_as_string(struct assh_hash_ctx_s *hctx, const struct assh_packet_s *p)
- void assh_hash_string(struct assh_hash_ctx_s *hctx, const uint8_t *str)
- void assh_hash_update(struct assh_hash_ctx_s *hctx, const void *data, size_t len)
- void assh_hexdump(void *stream, const char *name, const void *data, size_t len)
- assh_status_t assh_kex_client_get_key(struct assh_session_s *s, const uint8_t *ks_str, struct assh_event_s *e, assh_status_t (*done)(struct ::assh_session_s *,const struct ::assh_event_s *,enum ::assh_status_e) , void *pv)
- assh_status_t assh_kex_client_hash1(struct assh_session_s *s, struct assh_hash_ctx_s *hash_ctx, const uint8_t *k_str)
- assh_status_t assh_kex_client_hash2(struct assh_session_s *s, struct assh_hash_ctx_s *hash_ctx, const uint8_t *secret_str, const uint8_t *h_str)
- void assh_kex_done(struct assh_session_s *s, struct assh_event_s *e)
- assh_status_t assh_kex_end(struct assh_session_s *s, assh_bool_t accept)
- assh_status_t assh_kex_got_init(struct assh_session_s *s, struct assh_packet_s *p)
- void assh_kex_keys_cleanup(struct assh_session_s *s, struct assh_kex_keys_s *keys)
- void assh_kex_lower_safety(struct assh_session_s *s, assh_safety_t safety)
- assh_status_t assh_kex_new_keys(struct assh_session_s *s, const struct assh_hash_algo_s *hash_algo, const uint8_t *ex_hash, const uint8_t *secret_str)
- assh_status_t assh_kex_send_init(struct assh_session_s *s)
- assh_status_t assh_kex_server_hash1(struct assh_session_s *s, size_t kex_len, struct assh_hash_ctx_s *hash_ctx, struct assh_packet_s **pout, size_t *sign_len, struct assh_key_s **host_key, enum assh_ssh_msg_e msg)
- assh_status_t assh_kex_server_hash2(struct assh_session_s *s, struct assh_hash_ctx_s *hash_ctx, struct assh_packet_s *pout, size_t sign_len, const struct assh_key_s *host_key, const uint8_t *secret_str)
- intptr_t assh_max_int(intptr_t a, intptr_t b)
- uintptr_t assh_max_uint(uintptr_t a, uintptr_t b)
- intptr_t assh_min_int(intptr_t a, intptr_t b)
- uintptr_t assh_min_uint(uintptr_t a, uintptr_t b)
- assh_status_t assh_packet_add_array(struct assh_packet_s *p, size_t len, uint8_t **result)
- assh_status_t assh_packet_add_string(struct assh_packet_s *p, size_t len, uint8_t **result)
- assh_status_t assh_packet_add_u32(struct assh_packet_s *p, uint32_t value)
- assh_status_t assh_packet_alloc(struct assh_context_s *c, uint8_t msg, size_t payload_size_m1, struct assh_packet_s **result)
- assh_status_t assh_packet_alloc_raw(struct assh_context_s *c, size_t raw_size, struct assh_packet_s **p)
- assh_status_t assh_packet_check_array(const struct assh_packet_s *p, const uint8_t *array, size_t array_len, const uint8_t **next)
- assh_status_t assh_packet_check_string(const struct assh_packet_s *p, const uint8_t *str, const uint8_t **next)
- assh_status_t assh_packet_check_u32(const struct assh_packet_s *p, uint32_t *u32, const uint8_t *data, const uint8_t **next)
- assh_status_t assh_packet_dup(struct assh_packet_s *p, struct assh_packet_s **copy)
- assh_status_t assh_packet_enlarge_string(struct assh_packet_s *p, uint8_t *str, size_t len, uint8_t **result)
- void assh_packet_queue_cleanup(struct assh_queue_s *q)
- assh_status_t assh_packet_realloc_raw(struct assh_context_s *c, struct assh_packet_s **p_, size_t raw_size)
- struct assh_packet_s * assh_packet_refinc(struct assh_packet_s *p)
- void assh_packet_release(struct assh_packet_s *p)
- void assh_packet_shrink_string(struct assh_packet_s *p, uint8_t *str, size_t new_len)
- void assh_packet_string_resized(struct assh_packet_s *p, uint8_t *str)
- struct assh_queue_entry_s * assh_queue_back(struct assh_queue_s *q)
- void assh_queue_concat(struct assh_queue_s *q, struct assh_queue_s *r)
- struct assh_queue_entry_s * assh_queue_front(struct assh_queue_s *q)
- void assh_queue_init(struct assh_queue_s *q)
- assh_bool_t assh_queue_isempty(struct assh_queue_s *q)
- struct assh_queue_entry_s * assh_queue_next(struct assh_queue_s *q, struct assh_queue_entry_s *e)
- struct assh_queue_entry_s * assh_queue_prev(struct assh_queue_s *q, struct assh_queue_entry_s *e)
- void assh_queue_push_back(struct assh_queue_s *q, struct assh_queue_entry_s *b)
- void assh_queue_push_front(struct assh_queue_s *q, struct assh_queue_entry_s *b)
- void assh_queue_remove(struct assh_queue_entry_s *e)
- assh_status_t assh_realloc(struct assh_context_s *c, void **ptr, size_t size, enum assh_alloc_type_e type)
- void assh_safeprime_get(const struct assh_safeprimes_s *desc, size_t bits, uint8_t *bignum, intptr_t *offset)
- void assh_safeprime_lfsr(uint8_t *data, size_t len, uint32_t poly, uint32_t seed)
- assh_status_t assh_service_loop(struct assh_session_s *s, struct assh_packet_s *p, struct assh_event_s *e)
- assh_status_t assh_service_next(struct assh_session_s *s, const struct assh_service_s **srv)
- void assh_service_start(struct assh_session_s *s, const struct assh_service_s *next)
- void assh_service_stop(struct assh_session_s *s)
- void assh_session_error(struct assh_session_s *s, assh_status_t err)
- assh_status_t assh_sign_check(struct assh_context_s *c, const struct assh_algo_sign_s *sa, const struct assh_key_s *key, size_t data_count, const struct assh_cbuffer_s data[], const uint8_t *sign, size_t sign_len, assh_safety_t *safety)
- assh_status_t assh_sign_generate(struct assh_context_s *c, const struct assh_algo_sign_s *sa, const struct assh_key_s *key, size_t data_count, const struct assh_cbuffer_s data[], uint8_t *sign, size_t *sign_len)
- uint_fast8_t assh_ssh_string_compare(const uint8_t *ssh_str, const char *nul_str)
- assh_status_t assh_ssh_string_copy(const uint8_t *ssh_str, char *nul_str, size_t max_len)
- assh_status_t assh_strdup(struct assh_context_s *c, char **r, const char *str, enum assh_alloc_type_e type)
- assh_status_t assh_transport_dispatch(struct assh_session_s *s, struct assh_event_s *e)
- void assh_transport_push(struct assh_session_s *s, struct assh_packet_s *p)
- assh_status_t assh_transport_read(struct assh_session_s *s, struct assh_event_s *e)
- assh_status_t assh_transport_unimp(struct assh_session_s *s, struct assh_packet_s *pin)
- assh_status_t assh_transport_write(struct assh_session_s *s, struct assh_event_s *e)
- const uint8_t ** assh_uint8ptr_cast(uint8_t **p)
Bytecode instructions [link]