Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iv length is constant so set only once #649

Merged
merged 1 commit into from
May 3, 2023

Commits on Apr 3, 2023

  1. iv length is constant so set only once

    The iv length is preserved inside the EVP_CIPHER_CTX
    so no need to set more than once.
    This is especially important with OpenSSL 3 where setting the iv len is a expensive
    operation due to param lookup code inside of OpenSSL.
    
    This should help Performance issue with OpennSSL 3 and libsrtp with cisco#645 in the case of GCM
    but does not fix all of the performance issues.
    pabuhler committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    05c52b6 View commit details
    Browse the repository at this point in the history