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

SRTP: Replace AES ECB with AES CBC #757

Closed
wants to merge 1 commit into from
Closed

Conversation

orgads
Copy link
Contributor

@orgads orgads commented Sep 15, 2024

ECB is not built on alpine wolfssl.

ECB is not built on alpine wolfssl.
@orgads
Copy link
Contributor Author

orgads commented Sep 15, 2024

@jeannotlanglois Can you suggest what to do here? This breaks the srtp test.

@orgads
Copy link
Contributor Author

orgads commented Sep 15, 2024

It also fails in #738.

@jeannotlanglois
Copy link
Contributor

jeannotlanglois commented Sep 15, 2024

As per SIP RFCs 3711 and 4568, ECB is needed in order to use the counter mode (CTR) which is required by the SRTP protocol.
As far as my understanding goes, this cannot be changed as the protocol is based on that AES behavior. This is why the SRTP tests fail.

I'm not sure what "alpine wolfssl" is but in order for SRTP to work there AES ECB will be required.

@orgads
Copy link
Contributor Author

orgads commented Sep 15, 2024

Thank you @jeannotlanglois. I'll see what I can do.

@orgads
Copy link
Contributor Author

orgads commented Sep 15, 2024

Superseded by #759.

@orgads orgads closed this Sep 15, 2024
@orgads orgads deleted the srtp-cbc branch September 15, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants