Home
last modified time | relevance | path

Searched refs:zrtp_stream_t (Results 1 – 25 of 35) sorted by relevance

12

/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/include/
H A Dzrtp_engine.h85 zrtp_status_t _zrtp_protocol_init( zrtp_stream_t *stream,
148 zrtp_status_t _zrtp_kdf( zrtp_stream_t* stream,
236 int _zrtp_can_start_stream( zrtp_stream_t* stream,
237 zrtp_stream_t** conc,
241 zrtp_stream_mode_t _zrtp_define_stream_mode(zrtp_stream_t* stream);
273 void _zrtp_cancel_send_packet_later( zrtp_stream_t* stream,
284 void _zrtp_change_state( zrtp_stream_t* stream, zrtp_state_t state);
294 zrtp_status_t _zrtp_machine_enter_secure(zrtp_stream_t* stream);
295 zrtp_status_t _zrtp_machine_enter_pendingclear(zrtp_stream_t* stream);
323 zrtp_status_t _zrtp_packet_preparse( zrtp_stream_t* stream,
[all …]
H A Dzrtp_pbx.h48 zrtp_status_t zrtp_stream_registration_start(zrtp_stream_t* stream, uint32_t ssrc);
59 zrtp_status_t zrtp_stream_registration_secure(zrtp_stream_t* stream);
71 zrtp_status_t zrtp_register_with_trusted_mitm(zrtp_stream_t* stream);
93 zrtp_status_t zrtp_resolve_mitm_call(zrtp_stream_t* stream1, zrtp_stream_t* stream2);
106 zrtp_status_t zrtp_link_mitm_calls(zrtp_stream_t* stream1, zrtp_stream_t* stream2);
125 zrtp_status_t zrtp_update_remote_options( zrtp_stream_t* stream,
136 uint8_t zrtp_is_user_enrolled(zrtp_stream_t* stream);
144 zrtp_stream_t* zrtp_choose_one_enrolled(zrtp_stream_t* stream1, zrtp_stream_t* stream2);
H A Dzrtp.h562 zrtp_status_t zrtp_stream_start(zrtp_stream_t* stream,
583 zrtp_status_t zrtp_stream_stop(zrtp_stream_t* stream);
604 zrtp_status_t zrtp_stream_clear(zrtp_stream_t *stream);
625 zrtp_status_t zrtp_stream_secure(zrtp_stream_t *stream);
656 void* zrtp_stream_get_userdata(const zrtp_stream_t *stream);
697 zrtp_status_t zrtp_process_rtp( zrtp_stream_t *stream,
729 zrtp_status_t zrtp_process_srtp( zrtp_stream_t *stream,
753 zrtp_status_t zrtp_process_rtcp( zrtp_stream_t *stream,
777 zrtp_status_t zrtp_process_srtcp( zrtp_stream_t *stream,
810 zrtp_status_t zrtp_signaling_hash_set( zrtp_stream_t* stream,
[all …]
H A Dzrtp_iface.h256 typedef void (*zrtp_call_callback_t)(zrtp_stream_t*, zrtp_retry_task_t*);
346 void (*on_call_later)(zrtp_stream_t *stream, zrtp_retry_task_t* task);
361 void (*on_cancel_call_later)(zrtp_stream_t* ctx, zrtp_retry_task_t* task);
377 void (*on_wait_call_later)(zrtp_stream_t* stream);
595 void (*on_zrtp_protocol_event)(zrtp_stream_t *stream, zrtp_protocol_event_t event);
607 void (*on_zrtp_security_event)(zrtp_stream_t *stream, zrtp_security_event_t event);
620 void (*on_zrtp_secure)(zrtp_stream_t *stream);
633 void (*on_zrtp_not_secure)(zrtp_stream_t *stream);
666 int (*on_send_packet)(const zrtp_stream_t* stream, char* packet, unsigned int length);
H A Dzrtp_iface_scheduler.h70 void zrtp_def_scheduler_call_later(zrtp_stream_t *ctx, zrtp_retry_task_t* ztask);
72 void zrtp_def_scheduler_cancel_call_later(zrtp_stream_t* ctx, zrtp_retry_task_t* ztask);
74 void zrtp_def_scheduler_wait_call_later(zrtp_stream_t* ctx);
H A Dzrtp_types.h593 zrtp_stream_t *context;
642 struct zrtp_stream_t struct
762 zrtp_stream_t *concurrent; argument
783 zrtp_stream_t *linked_mitm; argument
869 zrtp_stream_t streams[ZRTP_MAX_STREAMS_PER_SESSION];
H A Dzrtp_base.h30 typedef struct zrtp_stream_t zrtp_stream_t; typedef
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/src/
H A Dzrtp_engine.c23 static void _zrtp_machine_switch_to_error(zrtp_stream_t* stream);
31 static void _send_helloack(zrtp_stream_t* stream);
32 static void _send_goclearack(zrtp_stream_t* stream);
39 void _clear_stream_crypto(zrtp_stream_t* stream);
327 zrtp_status_t zrtp_stream_stop(zrtp_stream_t* stream) in zrtp_stream_stop()
363 zrtp_memset(stream, 0, sizeof(zrtp_stream_t)); in zrtp_stream_stop()
376 zrtp_status_t zrtp_stream_clear(zrtp_stream_t *stream) in zrtp_stream_clear()
503 zrtp_status_t zrtp_stream_secure(zrtp_stream_t *stream) in zrtp_stream_secure()
1338 static void _send_helloack(zrtp_stream_t* stream) in _send_helloack()
1395 static void _send_goclearack(zrtp_stream_t* stream) in _send_goclearack()
[all …]
H A Dzrtp_responder.c17 static zrtp_status_t _prepare_dhpart1(zrtp_stream_t *stream);
18 static zrtp_status_t _prepare_confirm1(zrtp_stream_t *stream);
21 static void _send_dhpart1(zrtp_stream_t *stream);
22 static void _send_confirm1(zrtp_stream_t *stream);
30 static zrtp_status_t _zrtp_machine_process_commit( zrtp_stream_t* stream,
144 zrtp_status_t _zrtp_machine_enter_pendingsecure( zrtp_stream_t* stream, in _zrtp_machine_enter_pendingsecure()
189 zrtp_stream_t* tctx = stream->concurrent; in _zrtp_machine_enter_pendingsecure()
569 static void _send_dhpart1(zrtp_stream_t *stream) in _send_dhpart1()
574 static zrtp_status_t _prepare_dhpart1(zrtp_stream_t *stream) in _prepare_dhpart1()
596 static void _send_confirm1(zrtp_stream_t *stream) in _send_confirm1()
[all …]
H A Dzrtp_engine_driven.c17 extern zrtp_status_t _zrtp_machine_process_hello(zrtp_stream_t* stream, zrtp_rtp_info_t* packet);
18 extern zrtp_status_t start_send_and_resend_hello(zrtp_stream_t* stream);
19 extern zrtp_status_t start_initiating_secure(zrtp_stream_t *stream);
20 extern zrtp_status_t _zrtp_machine_start_send_and_resend_hello(zrtp_stream_t* stream);
24 void zrtp_driven_stream_start(zrtp_stream_t* stream, zrtp_statemachine_type_t role) in zrtp_driven_stream_start()
54 zrtp_status_t _zrtp_machine_process_while_in_driven_initiator( zrtp_stream_t* stream, in _zrtp_machine_process_while_in_driven_initiator()
88 zrtp_status_t _zrtp_machine_process_while_in_driven_responder( zrtp_stream_t* stream, in _zrtp_machine_process_while_in_driven_responder()
123 zrtp_status_t _zrtp_machine_process_while_in_driven_pending( zrtp_stream_t* stream, in _zrtp_machine_process_while_in_driven_pending()
H A Dzrtp_initiator.c14 extern zrtp_status_t _zrtp_machine_start_initiating_secure(zrtp_stream_t *stream);
17 static zrtp_status_t _zrtp_machine_start_send_and_resend_commit(zrtp_stream_t *stream);
18 static zrtp_status_t _zrtp_machine_start_send_and_resend_dhpart2(zrtp_stream_t *stream);
26 static void _prepare_dhpart2(zrtp_stream_t *stream);
33 static zrtp_status_t _zrtp_machine_process_incoming_dhpart1( zrtp_stream_t *stream,
40 static zrtp_status_t _zrtp_machine_process_incoming_confirm1( zrtp_stream_t *stream,
49 zrtp_status_t _zrtp_machine_process_while_in_initiatingsecure( zrtp_stream_t* stream, in _zrtp_machine_process_while_in_initiatingsecure()
118 zrtp_status_t _zrtp_machine_process_while_in_waitconfirm1( zrtp_stream_t* stream, in _zrtp_machine_process_while_in_waitconfirm1()
191 zrtp_status_t _zrtp_machine_enter_initiatingsecure(zrtp_stream_t* stream) in _zrtp_machine_enter_initiatingsecure()
278 zrtp_stream_t* tctx = stream->concurrent; in _zrtp_machine_enter_initiatingsecure()
[all …]
H A Dzrtp_pbx.c41 static zrtp_status_t _create_sasrelay( zrtp_stream_t *stream, in _create_sasrelay()
431 zrtp_status_t zrtp_link_mitm_calls(zrtp_stream_t *stream1, zrtp_stream_t *stream2) in zrtp_link_mitm_calls()
448 zrtp_stream_t *passive = NULL; in zrtp_link_mitm_calls()
449 zrtp_stream_t *unlimited = NULL; in zrtp_link_mitm_calls()
480 zrtp_status_t zrtp_update_remote_options( zrtp_stream_t* stream, in zrtp_update_remote_options()
550 zrtp_status_t zrtp_resolve_mitm_call( zrtp_stream_t* stream1, in zrtp_resolve_mitm_call()
551 zrtp_stream_t* stream2) in zrtp_resolve_mitm_call()
553 zrtp_stream_t* enrolled = NULL; in zrtp_resolve_mitm_call()
554 zrtp_stream_t* non_enrolled = NULL; in zrtp_resolve_mitm_call()
668 uint8_t zrtp_is_user_enrolled(zrtp_stream_t* stream) in zrtp_is_user_enrolled()
[all …]
H A Dzrtp_iface_scheduler.c32 zrtp_stream_t *ctx; /** ZRTP stream context associated with the task */
278 void zrtp_def_scheduler_call_later(zrtp_stream_t *ctx, zrtp_retry_task_t* ztask) in zrtp_def_scheduler_call_later()
322 void zrtp_def_scheduler_cancel_call_later(zrtp_stream_t* ctx, zrtp_retry_task_t* ztask) in zrtp_def_scheduler_cancel_call_later()
343 void zrtp_def_scheduler_wait_call_later(zrtp_stream_t* ctx) in zrtp_def_scheduler_wait_call_later()
H A Dzrtp_utils_proto.c126 int _zrtp_can_start_stream(zrtp_stream_t* stream, zrtp_stream_t **conc, zrtp_stream_mode_t mode) in _zrtp_can_start_stream()
146 zrtp_stream_t* tmp_stctx = &tmp_sctx->streams[i]; in _zrtp_can_start_stream()
297 int _zrtp_is_dh_in_session(zrtp_stream_t* stream) in _zrtp_is_dh_in_session()
301 zrtp_stream_t *tmp_stream = &stream->session->streams[i]; in _zrtp_is_dh_in_session()
309 zrtp_stream_mode_t _zrtp_define_stream_mode(zrtp_stream_t* stream) in _zrtp_define_stream_mode()
396 int _zrtp_validate_message_hmac( zrtp_stream_t *stream, in _zrtp_validate_message_hmac()
481 zrtp_status_t _zrtp_kdf( zrtp_stream_t* stream, in _zrtp_kdf()
H A Dzrtp_utils.c44 static uint32_t _convert_seq_to_implicit_seq( zrtp_stream_t *ctx, in _convert_seq_to_implicit_seq()
83 zrtp_status_t _zrtp_packet_fill_msg_hdr( zrtp_stream_t *stream, in _zrtp_packet_fill_msg_hdr()
257 int _zrtp_packet_send_message(zrtp_stream_t* stream, zrtp_msg_type_t type, const void* message) in _zrtp_packet_send_message()
340 zrtp_status_t _zrtp_packet_preparse( zrtp_stream_t* stream, in _zrtp_packet_preparse()
568 void _zrtp_cancel_send_packet_later( zrtp_stream_t* stream, in _zrtp_cancel_send_packet_later()
624 void _zrtp_change_state( zrtp_stream_t* stream, zrtp_state_t state) in _zrtp_change_state()
H A Dzrtp.c363 zrtp_stream_t *the_stream = &session->streams[i]; in zrtp_session_down()
397 zrtp_status_t zrtp_stream_attach(zrtp_session_t *session, zrtp_stream_t** stream) in zrtp_stream_attach()
401 zrtp_stream_t* new_stream = NULL; in zrtp_stream_attach()
412 zrtp_memset(new_stream, 0, sizeof(zrtp_stream_t)); in zrtp_stream_attach()
590 zrtp_status_t zrtp_signaling_hash_get( zrtp_stream_t* stream, in zrtp_signaling_hash_get()
620 zrtp_status_t zrtp_signaling_hash_set( zrtp_stream_t* ctx, in zrtp_signaling_hash_set()
709 zrtp_stream_t* full_stream = &session->streams[i]; in zrtp_session_get()
750 zrtp_status_t zrtp_stream_get(zrtp_stream_t *stream, zrtp_stream_info_t *info) in zrtp_stream_get()
781 void zrtp_stream_set_userdata(zrtp_stream_t *stream, void* udata) { in zrtp_stream_set_userdata()
784 void* zrtp_stream_get_userdata(const zrtp_stream_t *stream) { in zrtp_stream_get_userdata()
H A Dzrtp_crypto_sas.c107 zrtp_stream_t *stream, in SAS32_compute()
156 zrtp_stream_t *stream, in SAS256_compute()
/dports/net/sems/sems-f89581a/core/
H A DAmZRTP.h42 zrtp_stream_t* stream_ctx;
43 AmZRTPSecurityEvent(int event_id, zrtp_stream_t* stream_ctx) in AmZRTPSecurityEvent()
49 zrtp_stream_t* stream_ctx;
50 AmZRTPProtocolEvent(int event_id, zrtp_stream_t* stream_ctx) in AmZRTPProtocolEvent()
67 static int on_send_packet(const zrtp_stream_t *stream, char *packet, unsigned int length);
68 static void on_zrtp_secure(zrtp_stream_t *stream);
69 static void on_zrtp_security_event(zrtp_stream_t *stream, zrtp_security_event_t event);
70 static void on_zrtp_protocol_event(zrtp_stream_t *stream, zrtp_protocol_event_t event);
85 zrtp_stream_t* zrtp_audio; // ZRTP stream for audio
H A DAmZRTP.cpp267 int AmZRTP::on_send_packet(const zrtp_stream_t *stream, char *packet, unsigned int length) { in on_send_packet()
284 void AmZRTP::on_zrtp_secure(zrtp_stream_t *stream) { in on_zrtp_secure()
302 void AmZRTP::on_zrtp_security_event(zrtp_stream_t *stream, zrtp_security_event_t event) { in on_zrtp_security_event()
317 void AmZRTP::on_zrtp_protocol_event(zrtp_stream_t *stream, zrtp_protocol_event_t event) { in on_zrtp_protocol_event()
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/projects/symbian/
H A Dzrtp_iface_symb.cpp150 zrtp_stream_t *ctx; /** ZRTP stream context associated with the task */
210 void zrtp_def_scheduler_call_later(zrtp_stream_t *ctx, zrtp_retry_task_t* ztask) in zrtp_def_scheduler_call_later()
243 void zrtp_def_scheduler_cancel_call_later(zrtp_stream_t* ctx, zrtp_retry_task_t* ztask) in zrtp_def_scheduler_cancel_call_later()
266 void zrtp_internal_delete_task_from_list(zrtp_stream_t* ctx, zrtp_retry_task_t* ztask) in zrtp_internal_delete_task_from_list()
289 void zrtp_def_scheduler_wait_call_later(zrtp_stream_t* ctx) in zrtp_def_scheduler_wait_call_later()
H A DDelayRuner.h33 void StartL(zrtp_stream_t *ctx, zrtp_retry_task_t* ztask);
67 zrtp_stream_t *iCtx;
H A DDelayRuner.cpp14 void zrtp_internal_delete_task_from_list(zrtp_stream_t* ctx, zrtp_retry_task_t* ztask);
54 void CDelayRuner::StartL(zrtp_stream_t *ctx, zrtp_retry_task_t* ztask) in StartL()
/dports/audio/baresip/baresip-0.5.8/modules/zrtp/
H A Dzrtp.c58 zrtp_stream_t *zrtp_stream;
250 static int sig_hash_encode(struct zrtp_stream_t *stream, in sig_hash_encode()
273 static void sig_hash_decode(struct zrtp_stream_t *stream, in sig_hash_decode()
420 static int on_send_packet(const zrtp_stream_t *stream, in on_send_packet()
454 static void on_zrtp_secure(zrtp_stream_t *stream) in on_zrtp_secure()
479 static void on_zrtp_security_event(zrtp_stream_t *stream, in on_zrtp_security_event()
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/test/
H A Dzrtphash_test.c37 zrtp_stream_t *alice_zrtp_stream, *bob_zrtp_stream; in zrtp_hash_export_import_sunny_test()
77 zrtp_stream_t *bob_zrtp_stream; in zrtp_hash_import_wrong_test()
/dports/net/sems/sems-f89581a/apps/dsm/
H A DDSMCall.h106 void onZRTPProtocolEvent(zrtp_protocol_event_t event, zrtp_stream_t *stream_ctx);
107 void onZRTPSecurityEvent(zrtp_security_event_t event, zrtp_stream_t *stream_ctx);

12