srtp2_sys

Function srtp_append_salt_to_key

Source
pub unsafe extern "C" fn srtp_append_salt_to_key(
    key: *mut c_uchar,
    bytes_in_key: c_uint,
    salt: *mut c_uchar,
    bytes_in_salt: c_uint,
)
Expand description

@brief appends the salt to the key

The function call srtp_append_salt_to_key(k, klen, s, slen) copies the string s to the location at klen bytes following the location k.

@warning There must be at least bytes_in_salt + bytes_in_key bytes available at the location pointed to by key.