![]() |
nrfxlib API 3.3.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 ) |
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. |