nrfxlib API 2.8.99
|
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.
[out] | srtp_ctx | SRTP context to be setup. |
[out] | srtcp_ctx | SRTCP context to be setup. |
key | Master key. | |
key_size | Size of the master key (16, 24, or 32 bytes). | |
salt | Master salt (ocrypto_srtp_SALT_SIZE bytes). | |
tag_size | Size of the authentication tag. | |
ssrc | Synchronization source. |