pub unsafe extern "C" fn ocrypto_srtp_authenticate(
    srtp_ctx: *const ocrypto_srtp_ctx,
    tag: *mut u8,
    bytes: *const u8,
    num_bytes: usize,
    index: u32
)
Expand description

Generate SRTP authentication tag from bytes and index.

  • srtp_ctx - SRTP context.
  • tag - Authentication tag generated.
  • bytes - Byte buffer.
  • num_bytes - Number of bytes in buffer.
  • index - Index.