cisco/libsrtp — pull request #54 by richrod (2014-07-01 06:12:46+00:00)
Title: Use AES ICM state counter to determine when to reinitialize the prng.

This patch fixes #5 by using the same logic aes_icm uses to determine if a request for random data can be fulfilled by the current state. Otherwise, the prng returns err_status_terminus prematurely.