|
OpenVPN
|


Go to the source code of this file.
Data Structures | |
| struct | session_id |
Macros | |
| #define | SID_SIZE (sizeof(x_session_id_zero.id)) |
Functions | |
| static bool | session_id_equal (const struct session_id *sid1, const struct session_id *sid2) |
| static bool | session_id_defined (const struct session_id *sid1) |
| static bool | session_id_read (struct session_id *sid, struct buffer *buf) |
| static bool | session_id_write_prepend (const struct session_id *sid, struct buffer *buf) |
| static bool | session_id_write (const struct session_id *sid, struct buffer *buf) |
| void | session_id_random (struct session_id *sid) |
| const char * | session_id_print (const struct session_id *sid, struct gc_arena *gc) |
Variables | |
| const struct session_id | x_session_id_zero |
| #define SID_SIZE (sizeof(x_session_id_zero.id)) |
Definition at line 44 of file session_id.h.
Referenced by calc_control_channel_frame_overhead(), calculate_session_id_hmac(), check_session_hmac_and_pkt_id(), do_pre_decrypt_check(), multi_get_create_instance_udp(), multi_get_instance_udp_control(), openvpn_PRF(), read_control_auth(), session_id_defined(), session_id_equal(), session_id_print(), session_id_random(), session_id_read(), session_id_write(), session_id_write_prepend(), swap_hmac(), test_calc_session_id_hmac_static(), test_generate_reset_packet_plain(), test_generate_reset_packet_tls_auth(), test_parse_ack(), tls_pre_decrypt_lite(), and tls_reset_standalone().
|
inlinestatic |
Definition at line 53 of file session_id.h.
References session_id::id, SID_SIZE, and x_session_id_zero.
Referenced by handle_connection_attempt(), multi_close_instance(), multi_hash_sid_add(), reliable_ack_read(), reliable_ack_write(), tls_pre_decrypt(), tls_pre_decrypt_lite(), tls_process(), and tls_session_init().
|
inlinestatic |
Definition at line 47 of file session_id.h.
References session_id::id, and SID_SIZE.
Referenced by reliable_ack_read(), session_id_hash_equal(), and tls_pre_decrypt().
| const char * session_id_print | ( | const struct session_id * | sid, |
| struct gc_arena * | gc ) |
Definition at line 54 of file session_id.c.
References format_hex(), gc, session_id::id, and SID_SIZE.
Referenced by print_key_id(), protocol_dump(), reliable_ack_print(), reliable_ack_read(), session_move_pre_start(), tls_multi_process(), tls_pre_decrypt(), and tls_session_init().
| void session_id_random | ( | struct session_id * | sid | ) |
Definition at line 48 of file session_id.c.
References session_id::id, prng_bytes(), and SID_SIZE.
Referenced by test_sid_hash_list(), and tls_session_init().
|
inlinestatic |
Definition at line 59 of file session_id.h.
References buf_read(), session_id::id, and SID_SIZE.
Referenced by multi_get_instance_udp_control(), protocol_dump(), reliable_ack_parse(), reliable_ack_print(), tls_pre_decrypt(), and tls_pre_decrypt_lite().
|
inlinestatic |
Definition at line 71 of file session_id.h.
References buf_write(), session_id::id, and SID_SIZE.
Referenced by reliable_ack_write(), and tls_wrap_control().
|
inlinestatic |
Definition at line 65 of file session_id.h.
References buf_write_prepend(), session_id::id, and SID_SIZE.
Referenced by tls_wrap_control().
|
extern |
Definition at line 45 of file session_id.c.
Referenced by session_id_defined().