cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.19k stars 469 forks source link

change srtp_cipher_encrypt to append the tag generated #718

Open pabuhler opened 1 week ago

pabuhler commented 1 week ago

Change for #714. This makes it symmetric with the srtp_cipher_decrypt function that will remove the tag. Currently most of the backends would have cached the tag internally and returned it in the srtp_cipher_get_tag function, this removes that extra complexity.