nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_srtp_authenticate()

void ocrypto_srtp_authenticate ( const ocrypto_srtp_ctx srtp_ctx,
uint8_t *  tag,
const uint8_t *  bytes,
size_t  num_bytes,
uint32_t  index 
)

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

Generate SRTP authentication tag from bytes and index.

Parameters
srtp_ctxSRTP context.
[out]tagAuthentication tag generated.
bytesByte buffer.
num_bytesNumber of bytes in buffer.
indexIndex.