The srtp_set_stream_roc() functionality does not work as expected with AEAD ciphers.
The issue is that the internal protect & unprotect functions for AEAD duplicate some of the functionality from the standard protect & unprotect functions but did not get updated when srtp_set_stream_roc() was added.
This PR just ensure the behavior is the same, ideally these functions should not be duplicating code.
The srtp_set_stream_roc() functionality does not work as expected with AEAD ciphers. The issue is that the internal protect & unprotect functions for AEAD duplicate some of the functionality from the standard protect & unprotect functions but did not get updated when srtp_set_stream_roc() was added. This PR just ensure the behavior is the same, ideally these functions should not be duplicating code.