libsrtp icon indicating copy to clipboard operation
libsrtp copied to clipboard

aes_icm_encrypt_ismacryp returns err_status_terminus

Open fluffy opened this issue 13 years ago • 1 comments

http://sourceforge.net/tracker/?func=detail&aid=3568831&group_id=38894&atid=423799

If I understand correctly, aes_icm_encrypt_ismacryp incorrectly examines the 128 bit counter to determine if it would roll over. This can cause the function to return err_status_terminus prematurely, which among other things seriously breaks crypto_gen_random, and, in turn, SRTP on Asterisk (SRTP calls stop working and the server logs "Can't provide secure audio requested in SDP offer"; Asterisk needs to be restarted to fix it). I have attached a patch with the fix we're using internally, let me know if it's correct

fluffy avatar Mar 28 '13 23:03 fluffy

Looking at the case history on sourceforge, this was closed on 9/18/2012. Not sure why it's still an open bug here. Closing it for now.

jfigus avatar Oct 08 '14 20:10 jfigus