nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_srtp_setup_ctx()

void ocrypto_srtp_setup_ctx ( ocrypto_srtp_ctx srtp_ctx,
ocrypto_srtp_ctx srtcp_ctx,
const uint8_t *  key,
uint32_t  key_size,
const uint8_t *  salt,
uint32_t  tag_size,
uint32_t  ssrc 
)

#include <crypto/nrf_oberon/include/ocrypto_srtp.h>

Setup SRTP contexts.

Parameters
[out]srtp_ctxSRTP context to be setup.
[out]srtcp_ctxSRTCP context to be setup.
keyMaster key.
key_sizeSize of the master key (16, 24, or 32 bytes).
saltMaster salt (ocrypto_srtp_SALT_SIZE bytes).
tag_sizeSize of the authentication tag.
ssrcSynchronization source.