|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
SRTP state of an RTP session. More...
#include <zephyr/net/srtp.h>
SRTP state of an RTP session.
Allocated by the application and installed with rtp_session_set_srtp(); all members are internal. The transmit stream is keyed by the session's SSRC. Receive streams are late-bound: a crypto context is instantiated from the receive policy when the first packet of an unknown SSRC arrives (RFC 3711, section-3.2.3), up to CONFIG_SRTP_MAX_RX_STREAMS concurrent sources. A stream bound by a packet that fails authentication is released again, so unauthenticated traffic cannot pin the slots, though each spoofed source still costs one session key derivation.