Right now, the cipher speed test in srtp_cipher_bits_per_second only calls set_iv and encrypt. In reality, when an AEAD cipher is used, there are also calls to set_aad and get_tag. This PR adds those calls to srtp_cipher_bits_per_second so that it more accurately reflects AEAD performance.
Right now, the cipher speed test in
srtp_cipher_bits_per_second
only callsset_iv
andencrypt
. In reality, when an AEAD cipher is used, there are also calls toset_aad
andget_tag
. This PR adds those calls tosrtp_cipher_bits_per_second
so that it more accurately reflects AEAD performance.