nrfxlib API 2.8.99
|
int ocrypto_srtp_verify_authentication | ( | const ocrypto_srtp_ctx * | srtp_ctx, |
const uint8_t * | tag, | ||
const uint8_t * | bytes, | ||
size_t | num_bytes, | ||
uint32_t | index ) |
#include <crypto/nrf_oberon/include/ocrypto_srtp.h>
Check SRTP authentication tag against bytes and index.
srtp_ctx | SRTP context. |
tag | Tag. |
bytes | Byte buffer. |
num_bytes | Number of bytes in buffer. |
index | Index. |
1 | If the tag is valid. |
0 | Otherwise. |